Detecting what's a fork and a hook requires information about name classes, which jqt may have, but which kakoune likely won't. The problem exists in principal but less so in practice for special combinations.

On Mon, 31 Jul 2023, 'Viktor Grigorov' via Programming wrote:

My twopence:
Worth confirming: did you mean syntax highlighting on wiki pages or for the 
various text editors? Can't speak for jQt IDE.The answer for both is 'yes', 
certainly for the simpler ones. Easier for the former, I reckon. Consider also: 
should special combinations receive one color, that of what they resolve to; or 
should they additionally be italicized, emboldened, or underlined?

For my syntax highlighting code for kakoune, I'd considered indicating with 
straight and wavy underlines whether a verb train resolves to a hook or a fork. 
I'd decided against it to not add clutter.


Jul 30, 2023, 20:00 by akin...@gmail.com:

Hi all, I hope you are all well.

Two questions.

1. Is there a way to include Special Combinations in Syntax Highlighting?

Meaning some visual indicator that an arrangement of Operators triggers a
Special Combination.

2. What page should I be looking up to understand the significance of
Syntax Highlights.
I am not sure what exactly that is called.

For example:
Something(...)          NB. Colour change to 'Something'
Vs.
Something   (...)       NB. No Colour changes to 'Something'

Which page do I find that type of information?


Thank you,

AO.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to