Menu

Syntax Highlighting Weird Problem

Cryonium
2009-08-25
2012-11-14
  • Cryonium

    Cryonium - 2009-08-25

    Hi,
    I have encountered a weird problem with javascript syntax highlighting. The font of the text inside " " (including the double quotes) is different from the rest.

    I ticked all the boxes under Settings > Styler Configurator but it's still there.

    I tried reinstalling too but that doesn't fix it.

    I suspect it has something to do with the javascript syntax highlighter because only javascript is affected.

    I've attached a picture here just incase:
    http://img195.imageshack.us/img195/4589/51708546.png

     
    • cchris

      cchris - 2009-08-26

      In Styler Configurator, select Javascript on the language list, STRING on the style item list, and select the topmost font with no name. This tells NP++ to apply the default style to this item.

      CChris

       
      • Cryonium

        Cryonium - 2009-08-26

        Thanks for the reply :)

        I went to Settings > Style Configurator and choosed Javascript. Since I can't find STRING, I changed DOUBLESTRING, SINGLESTRING, STRINGEOL but that doesn't fix it.

        Any other workaround?

         
    • Rohaq

      Rohaq - 2009-08-26

      As far as I can see, this is supposed to happen in order to highlight strings of text, and happens across most languages in Notepad++.

       
      • Cryonium

        Cryonium - 2009-08-26

        But I think it's just happening to javascript, C++ and some other languages.

        Is there anyway to change this behaviour?

         
MongoDB Logo MongoDB