Skip to content

v1.3.0 — Auto-refresh, remembered view preferences, and resizable panes

Latest

Choose a tag to compare

@msarson msarson released this 10 Aug 10:46

Added

  • Auto-refresh on external file changes (#11, reported by Kevin Erskine). Open tabs now track their backing file on disk and update themselves when the file is changed by something outside the editor (e.g. CA/Claude editing a Markdown file you're viewing, or the same file open in VS Code) — no stale views and no manual reload for the common case.
    • Clean tabs reload silently in place, preserving scroll position.
    • Tabs with unsaved edits are never clobbered — a passive ↻ "changed on disk" badge appears instead; clicking it (or Reload from Disk in the tab context menu) prompts before discarding your changes. Deleted/renamed files flag the tab and keep the buffer.
  • Remembered Expand/Split preference (#11). New file tabs open in your last-used view mode instead of always starting split, so view-only users no longer have to click Expand every time. Persisted across sessions. (URL/read-only tabs still open expanded.)
  • Resizable editor / preview panes. A draggable splitter lets you set the split to taste — works both side-by-side and stacked, clamped to 15–85%, hides itself in Expanded view, and double-click resets to 50/50. The split ratio and direction are persisted across sessions.

Notes

  • The in-place reload preserves scroll, not the caret, because the editor is a plain <textarea>. True VS-Code-style caret + view tracking is deferred to the CodeMirror 6 migration (#10).

Requirements

  • Microsoft Edge WebView2 Runtime (pre-installed on most Windows 10/11 systems).

Install

Extract ClarionMarkdownEditor-v1.3.0.zip into <ClarionRoot>\accessory\addins\ClarionMarkdownEditor\ (the .addin file must land in the root of that folder), then restart the Clarion IDE.