[Geany-Users] Deprecated code indicator

rhkramer at gmail.com rhkramer at xxxxx
Tue Sep 26 14:42:45 UTC 2017


On Tuesday, September 26, 2017 08:53:02 AM Lex Trotman wrote:
> All correct, except that strikethrough is not a style available to
> Lexers, its an indicator which has to be set by the application (like
> for example the red squiggly lines (technical term :) under typos and
> compile errors).  If a different style could suffice then the lexer
> may be able to do it.
> 
> On the other hand since the docblocks are (IIUC) specific to Joomla,
> not PHP, then maybe the lexer shouldn't be infected by syntax specific
> to just one of many PHP frameworks.

Thanks for the correction / clarification!

That disappoints me a little--the strikethrough is one "style" that I had 
anticipated using with my (maybe/ someday) to be built lexer.  OTOH, if I 
learn enough C/C++ and the Scintilla code base to build a lexer, maybe it 
won't be too hard to either add strikethrough as a style to a lexer, or use 
the indicator approach (either in the lexer or maybe a separate plugin or 
such.









More information about the Users mailing list