3 hours ago
26.3.20
Source
More at Home Site
- Fixed XML/HTML code blocks in the QLiteHtml preview having their tags stripped and showing only text content; indented lines inside fenced code blocks were incorrectly masked as indented code blocks, bypassing the syntax highlighter, and the XML highlighter now also properly escapes closing angle brackets (for #3521)
- Added a new Read-only mode panel to the General settings with an Enable read-only mode master checkbox; all read-only related settings (Start application in read-only mode and When inactive, enter read-only mode automatically after) are now grouped inside this panel and are disabled when the master checkbox is unchecked — the Disallow note editing toolbar/menu action is hidden and the Escape key no longer enters read-only mode when the feature is disabled (for #3519)
- Fixed intermittent warnings (SQLite error 262) caused by background threads (backlink navigation, note relation scene) contending with main-thread writes on the shared-cache in-memory database; each connection now setsCode:
database table is locked: note
andCode:PRAGMA busy_timeout = 5000
so that read-only workers skip table-level shared-cache locks instead of immediately returningCode:PRAGMA read_uncommitted = 1
(for #3520)Code:SQLITE_LOCKED
- Improved the git warning to include the actual libgit2 error message for easier diagnosis (for #3520)Code:
Failed to get index
- Fixed a crash in the update dialog caused by
being called on a not-yet-initialized scroll area duringCode:QAbstractScrollArea::viewport()
construction; the event filter now guards against a null viewport before dereferencing it (for #3518)Code:setupUi
- Added optional wiki-style link support — enable it in the Editor settings with the new Enable wiki-style link support
checkbox (for #3512)Code:[[note name]]- Write to link to a note by name; subfolder-qualified links likeCode:
[[Note Name]]
and heading anchors likeCode:[[subfolder/Note Name]]
are also supported, as well as display-text aliases likeCode:[[Note#Heading]]
Code:[[Note|My Label]] - Resolved links are highlighted in the editor with a dotted underline using the link color; broken (unresolved) links use a dashed underline with the broken-link color
- Clicking a wiki link in the note preview navigates to the target note; if the note does not exist you are asked whether to create it
- Ctrl+Click on a wiki link in the note editor navigates to the target note (or offers to create it); Ctrl+Shift+Click opens it in a new tab
- The Insert link dialog (
) gains a Create wiki-style linkCode:Ctrl+L
checkbox (visible only when wiki-link support is enabled) to insert the selected note as aCode:[[...]]
link instead of a Markdown linkCode:[[Note Name]]
- Typing in the editor triggers auto-complete with a filtered list of all note names (including subfolder-qualified paths); a suggestion can also be triggered via the normal auto-complete shortcut inside an openCode:
[[
Code:[[ - Wiki links are included in backlink detection and shown in the backlinks panel; when a subfolder is renamed all qualified
links across all notes are updated automaticallyCode:[[subfolder/...]]
- Write
Source
More at Home Site



