Changeset 1029


Ignore:
Timestamp:
11/26/20 01:27:42 (4 years ago)
Author:
Maciej Komosinski
Message:

fL: more legal characters allowed in syntax coloring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fL/fL_oper.cpp

    r999 r1029  
    892892                style = GENSTYLE_RGBS(200, 0, 0, GENSTYLE_BOLD);
    893893        }
    894 
     894        else if (strchr("<>$[]&\\ @|*", ch) != NULL) // other allowed symbols and special neuron symbols
     895        {
     896                style = GENSTYLE_CS(GENCOLOR_TEXT, ch=='[' || ch==']' ? GENSTYLE_BOLD : GENSTYLE_NONE);
     897        }
    895898        return style;
    896899}
Note: See TracChangeset for help on using the changeset viewer.