text editor suggestion?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Salerno

    #31
    Re: text editor suggestion?

    Ravi Teja wrote:
    ???
    >
    In the same file, near the top.
    >
    keywordclass.py thon=and assert break class continue def del elif \
    else except exec finally for from global if import in is lambda None \
    not or pass print raise return try while yield
    >
    I could add my own keywords to it.
    >
    But I don't want all my keywords to be highlighted in the same way. I
    have different colors for Python keywords, functions and methods,
    exceptions, other words like 'self', etc. and there's no way to do this
    without rewriting the lexer file (which is in C++) and recompiling Scite
    to build the changes into it.

    Comment

    • Ravi Teja

      #32
      Re: text editor suggestion?


      John Salerno wrote:
      Ravi Teja wrote:
      >
      ???

      In the same file, near the top.

      keywordclass.py thon=and assert break class continue def del elif \
      else except exec finally for from global if import in is lambda None \
      not or pass print raise return try while yield

      I could add my own keywords to it.
      >
      But I don't want all my keywords to be highlighted in the same way. I
      have different colors for Python keywords, functions and methods,
      exceptions, other words like 'self', etc. and there's no way to do this
      without rewriting the lexer file (which is in C++) and recompiling Scite
      to build the changes into it.
      I don't know if SciTE somehow supports function highlighting but the
      properties file for php will perhaps give you some ideas on having
      seperate groups with different highlight properties. I recall
      repurposing something similar when I used to use Spyce for web apps.



      Comment

      Working...