Pragtical v3.11.2 Release
Pragtical v3.11.2 is a focused bug-fix release that tightens file lookup behavior, fixes JavaScript syntax highlighting around regex literals, and makes DocView drawing more robust when plugins update virtual line state.
Project Root File Lookup Fix
Findfile now resolves paths against the open project root. This keeps file search behavior consistent when the current working directory differs from the project that is open in the editor.
Thanks to AmerM137 for spotting this one!
JavaScript Regex Highlighting
JavaScript regex literals following ternary colons are now parsed correctly, fixing a syntax highlighting edge case in conditional expressions.
Expressions like the following are now properly handled:
var c = "<" === a || ">" === a ? /[(){}[\]<>]/ : /[(){}[\]]/;
DocView Drawing Robustness
DocView now skips stale visual rows that no longer map to backing document text before dispatching gutter or line body draw calls. This prevents plugins that hook into drawing from receiving invalid line indexes during short-lived virtual line transitions after edits or plugin updates.
Downloads on GitHub.
