#1117 Syntax Highlight bug in LexCPP.cxx

Bug
closed-fixed
Scintilla (793)
3
2011-05-25
2011-03-24
BLUEnLIVE
No

When multiple double quote ( " ) is written in odd numbers, I doesn't highlight correctly.
For example, """

I doesn't happen frequently, but in .rc files it can be used sometimes.

Discussion

  • BLUEnLIVE

    BLUEnLIVE - 2011-03-24
     
  • BLUEnLIVE

    BLUEnLIVE - 2011-03-24

    I attatched a .rc file.
    Open it with SciTE or Notepad2.

     
  • Neil Hodgson

    Neil Hodgson - 2011-03-24
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2011-03-24

    Triple quoted strings (style SCE_C_TRIPLEVERBATIM) were added in 2.25 to support the Vala language. This was Feature Request #3177601. It would be possible for someone to add an option to turn this on/off if they wanted.
    It is unlikely I will work on this.

     
  • Marko Njezic

    Marko Njezic - 2011-03-31

    I've written a simple patch for LexCPP that adds an option to control highlighting of triple-quoted strings: http://pastebin.com/uRGYH26v

     
  • Neil Hodgson

    Neil Hodgson - 2011-04-04

    Committed fix. There is now an option lexer.cpp.triplequoted.strings to enable the recognition of triple quoted strings.

     
  • Neil Hodgson

    Neil Hodgson - 2011-04-04
    • status: open-accepted --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2011-05-25
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks