sourceforge.net

Scintilla / Feature Requests / #1253 [PATCH] Critical fixes for Nim raw strings

  • ️Thu Mar 07 2019

Scintilla

Menu

#1253 [PATCH] Critical fixes for Nim raw strings

closed

5

2019-03-07

2019-01-07

No

Upon further inspecting the Nim manual, I have discovered that raw strings aren't as simple as they seemed to be at first sight.

Nim has what it calls "generalized raw string literals", which can be anything besides r"/R".
Triple doubles can be made raw strings as well. And they also don't necessarily end in exactly 3 double quotes.

Without these fixes, string styling will become broken in affected scenarios.

1 Attachments

Discussion

  • Neil Hodgson

    Scintilla is currrently frozen for 4.1.3. Not really seeing this as critical as there is no hang, crash or reversion from Scintilla 4.1.2. I'll examine this next week, after the release.

  • Neil Hodgson

    • labels: nim --> nim, scintilla
  • Neil Hodgson

    Committed as [cacdbd].

    It would help if lexer fixes included examples in text format that can show the problem so that the fix can be checked. That may also benefit others looking back through history when there are regressions.

     

    Related

    Commit: [cacdbd]

  • Jad Altahan

  • Neil Hodgson

    • status: open --> closed

Log in to post a comment.