Skip to content

Feat: add Line Numbers toggle to the View menu#22

Open
electricmessiah wants to merge 1 commit into
mgelsinger:mainfrom
electricmessiah:feat/line-number-toggle
Open

Feat: add Line Numbers toggle to the View menu#22
electricmessiah wants to merge 1 commit into
mgelsinger:mainfrom
electricmessiah:feat/line-number-toggle

Conversation

@electricmessiah

Copy link
Copy Markdown

Line numbers were previously always on with no way to disable them. Mirrors the existing Word Wrap toggle: View menu checkbox, persisted in session.json, threaded through apply_syntax_for_doc so the margin updates on every doc creation/reload/language-change/dark-mode-toggle, and collapses the Scintilla margin to zero width when off.

Line numbers were previously always on with no way to disable them.
Mirrors the existing Word Wrap toggle: View menu checkbox, persisted
in session.json, threaded through apply_syntax_for_doc so the margin
updates on every doc creation/reload/language-change/dark-mode-toggle,
and collapses the Scintilla margin to zero width when off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant