The creation of new blocks in the code requires multiple changes in different locations, which are very likely to be missed, as well as a recompile of the wxSTC library. Simplify this by introducing a configuration possibility.
Most of the needed changes can be implemented by defining a new syntax element containing the information for each block separately. The NumeReSyntax class will construct a special representation for the lexer and a representation fo the editor-related classes. Unfortunately, it won't be possible to make syntax blocks completely configurable without more major changes. However, it won't be necessary to recompile wxSTC again.
Change was tested with the implementation of [#611]. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1012]
Diff:
Related
Tickets:
#611