Cursor to end move incorrect position, (internal at end, but not in display) (module name): (short issue description)
- Vorherrschende Sprache
- JavaScript
- Sterne
- 27.1k
- Forks
- 5.3k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Describe the bug
and as i've written this error, it seems fixed somehow (might have been a browser bug)
### Expected Behavior
ctrl - end moves the cursor position to the end and also displays the cursor at the end
### Current Behavior
it might be this function: editor_ace.gotoLine(editor_ace.getSession().getLength(), editor_ace.getSession().getLine(editor_ace.getSession().getLength()-1).length); misbehaving on a certain document...
### Reproduction Steps
fire this to go to the end of todo.md automatically at opening
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### Ace Version / Browser / OS / Keyboard layout
ace-builds-master, edge auto update, win 11, qwerty us based
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.