Repository navigation
1.9.1
Release 1.9.1: stop escaping directives inside inline code
Repair and paste ran the directive rule on the whole line, before
splitting off inline code, so use #include to import got a stray
backslash. Typing did the same the moment the closing backtick landed,
because the check used the cursor position instead of the # itself.
- escapeOutsideInlineCode: run the hash rule inside the parts loop, on
non-code segments only; guard against a segment start being mistaken
for a line start. - handleEditorChange: decide inline-code membership by the position of
the matched #, not the cursor.