Menu ▾ ▴

RegExp on user defined syntax highlighting

2006-04-12
2012-11-13
  • Antonello Lobianco

    Hello.. above all compliments for the best text-editor I found on the win32 platform!

    I don't know if this is a scintilla issue or not, but it would be nice to use RegExp on user defined syntax highlighting.

    E.g. I use a mathematical language called GAMS that see comments as row STARTING with a star ("*").. but   the actual version of Notepad++ comments the right side of all strings including a star on **any** position of the row..

    A RegExp here is very siple..  just ^\*.* but unfortunally it seems to not be supported..

    Cheers,
      Antonello  

     
    • cchris

      cchris - 2009-08-16

      While this is not technically impossible, this would be far from easy, as it would ad a completely nw parsing system on top of the one Scintilla uses and rovides.

      Did you consider making this feature request to the Scitilla project? That's where it actually belongs I think.

      CChris

       
    • RWFarley

      RWFarley - 2009-08-10

      I have a similar case in an obscure macro language where @aaaaa is defined for any aaaa of 5 or less charactors, or where mfXX is defined for any XX from 1-999.  and so on.

      Could Regular expressions be used?