Quote:
Originally Posted by kovidgoyal
|
Hi, Kovid.
Thank you very much for the code. It's working perfectly.
Altough, I've noticed an odd behavior that I don't know if it is by design.
Steps to reproduce:
1) My Editor is set to wrap long lines.
2) When I click on a partial CFI, it goes to the beginning of the line referenced, as expected.
3) When the CFI has an ID for the target tag, then it will try to place the cursor on that ID. Nice.
4) But... it only works if the ID is in the first "line".
5) If I resize the code window, and the ID attribute goes to the second "line", then it will place the cursor at the beginning of the real line, like there was no ID.