ScintillaOrg / lexilla

A library of language lexers for use with Scintilla
https://www.scintilla.org/Lexilla.html
Other
186 stars 67 forks source link

F#: [PATCH 1/2] Include EOLs in the style range of SCE_FSHARP_COMMENTLINE #276

Closed rdipardo closed 1 month ago

rdipardo commented 2 months ago

Ref. 3ace72f

A line comment may trigger two fold level changes in DOS or Macintosh EOL mode, once because of style, once more because of the carriage return. The backtrack fix for per-line folding currently produces different folds with \n versus \r\n line ends; this patch unblocks it:

0001-gh-276-incl-EOL-in-fsharp-line-comments.patch.txt