Menu ▾ ▴

stylers.xml, Please help me

Roy Shoa
2009-06-10
2012-11-13
  • Roy Shoa

    Roy Shoa - 2009-06-10

    Hello,
    i really need some help with something.
    i am programming in ASP with n++ and i like to add some functions to it,
    but, i need that the new functions will be in another color.

    i try to add a new key to  stylers.xml and lang.xml.
    when i did this its show a new place to put words (i name it: "WORD2") in the menus but
    its not do anything.

    i think that my problem is with the styleId of the new line that i add.
    it is very important to me and it will be very helpful if some one can tell me
    how can i add more functions with anther color.

    Thanks,
    Roy Shoa.

     
    • cchris

      cchris - 2009-06-12

      In order for what you have done to work, the lexer for ASP would need to be modified so as to be aware of your new keyword category, and SciLexer.dll would need to be rebuilt in order for Scintilla to act upon your changes.

      I don't know ASP, so I don't know whether an User Defined Language mimmicking the basic features of ASP would do. Try that first, perhaps. Or use the PowerShell lexer plugin developed by aathell (it comes bundled with his Plugin Interface Library).

      CChris

       
    • Roy Shoa

      Roy Shoa - 2009-06-12

      Thanks Alot,
      i will try this...