8000 Release 2.3.0 · heyman/heynote · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jun 18:29
· 18 commits to main since this release

Improved support for folding blocks

  • Fixed an issue where some types of blocks could not be folded.
  • The fold state is now stored in the buffer file so that it's persisted between sessions.
  • Added three new commands for folding and unfolding blocks:
    • foldBlock - Folds the current/selected block(s). Default key binding is Ctrl-Alt-[ on Windows/Linux and Cmd-Option-[ on Mac.
    • unfoldBlock - Unfolds the current/selected block(s). Default key binding is Ctrl-Alt-] on Windows/Linux and Cmd-Option-] on Mac.
    • toggleFoldBlock - Toggles the fold state of the current/selected block. Default key binding is Ctrl-Alt-. on Windows/Linux and Cmd-Option-. on Mac.
  • Folded blocks now display the first 50 characters of the block content, as well as the number of lines in the block.
  • Default key bindings for folding code on Mac changed from Cmd-Option-[ and Cmd-Option-] to Cmd-Shift-[ and Cmd-Shift-] (to avoid conflicts with the new block folding commands)

Other features and fixes

  • Add document navigation commands (Ctrl+Home/End)
  • Fix wrong positioning if IME interface (for Chinese input)
  • Prevent editor from loosing focus when line number/fold gutter is clicked

Merged PRs

  • Upgrade to the latest version of CodeMirror packages by @heyman in #345
  • Fix wrong positioning if IME interface (for Chinese input) by @heyman in #346
  • Improve folding of blocks and code by @heyman in #344
  • Add document navigation commands (Ctrl+Home/End) by @heyman in #349

Full Changelog: v2.2.2...v2.3.0

0