Skip to content

Add active line highlight setting#232

Merged
jsgrrchg merged 2 commits into
mainfrom
editor-active-line-toggle
Jun 17, 2026
Merged

Add active line highlight setting#232
jsgrrchg merged 2 commits into
mainfrom
editor-active-line-toggle

Conversation

@jsgrrchg

Copy link
Copy Markdown
Owner

Summary

Adds a new per-vault Editor setting for highlighting the active CodeMirror line.

Changes

  • Adds editorActiveLineHighlight to desktop settings with a default of true.
  • Wires CodeMirror highlightActiveLine() and highlightActiveLineGutter() through a reconfigurable compartment.
  • Adds the Settings > Editor > Formatting toggle.
  • Applies the preference to both note editors and text-file editors.
  • Documents the setting scope/default in docs/settings-scope.md.

Validation

  • npm --prefix apps/desktop run build
  • npm --prefix apps/desktop run lint

@jsgrrchg jsgrrchg marked this pull request as ready for review June 17, 2026 18:34
@jsgrrchg jsgrrchg merged commit 90f3a25 into main Jun 17, 2026
7 checks passed
@jsgrrchg jsgrrchg deleted the editor-active-line-toggle branch June 17, 2026 18:45
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