You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fhammerschmidt
changed the title
Preserve cursor position after formatting
Add keyboard shortcut for formatting and preserve cursor position
Feb 11, 2025
Add a keyboard shortcut for formatting.
Currently, the cursor position gets lost after pressing it, which makes this feel very awkward. Try to preserve it.
This might only be solved by upgrading to CodeMirror 6 (https://codemirror.net/docs/migration/), which utilizes offsets instead of line coordinates.
The text was updated successfully, but these errors were encountered: