Menu

User defined language deficiencies

2007-01-01
2012-11-13
  • Nobody/Anonymous

    I have run into a number of problems with the user defined language higlighting:

    1) "/*" and "*/" don't work for comment blocks if "*" or "/" are selected as operators, so you have to choose between either having comments or arithmetic.

    2) Comment blocks cannot also be folders, as that changes the highlighting to that of the folders.

    3) Page background colour doesn't seem to be configurable, unless I change the default setting, which affects everything, not just my user-defined language :/

    4) It would be nice to have more groups of keywords. An unlimited number would be ideal. The same with delimiters too I suppose, although I haven't hit that limit myself.

    5) Another feature that would be useful would be to allow non-numbers to be highlighted as if they were numbers, e.g. boolean "true" and "false" and other literal values. That would rescue one group of keywords for other uses. Maybe also recognition of negative numbers (currently you have to define "-" as an operator to make the highlighting work).

    6) Not really related to the other problems, but the selection colour for "MS-DOS Style" is identical to the foreground colour, making it impossible to see what you are selecting. The line highliting colour is also dangerously close to the foreground colour.

    Much of behaviour is different from the built-in languages - shouldn't they be the same? These problems severely limit what is otherwise an inestimably useful feature.

     
    • Nobody/Anonymous

      I would also like to see an option to allow User Defined languages to override the "Global Settings: Default" page background and foreground colors.  I primarily code in Assembly with a black background and colored foreground, but if I open an XML file or something like that, the text background is white with a black page background because of my global settings change.  If I could make my assembly settings override the global default, I can leave it as white foreground and black background, and have all languages work properly.