In the wiki, we have aka GeSHI.
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
https://github.com/GeSHi/geshi-1.0/blob/master/src/geshi/j.php
In jqt, we're using QSyntaxHighlighter
https://doc.qt.io/qt-5/qsyntaxhighlighter.html
https://github.com/jsoftware/qtide/blob/master/lib/high/hi
In the editor initially.
My question about the wiki was if there was already an informational
reference that might have had a term I was not thinking of.
Working within a wiki page seems like it might be new question altogether.
AO.
On Sun., Jul. 30, 2023, 16:02 'Viktor Grigorov' via Programmin
What system currently governs Syntax Highlighting in the editor?
By example:
If you start typing a number you get a certain colour.
If you type a letter you get another colour.
Also, how are Special Combinations currently triggered by the parser?
AO.
On Sun., Jul. 30, 2023, 11:51 Raul
Bravo! Best use of decorated code I've heard for a long while.
Shouldn't be hard to implement in jios. The tricky part is keeping it
up-to-date, as Henry warns.
It would be good if all J platforms follow the same convention. I'd be
happy for jios to follow jQt. How about italics? Both jQt and ji
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 c
I think the fork/hook idea is excellent, especially as an option.
Is there a way in Jqt to find the match for () ?
Henry Rich
On 7/30/2023 6:02 PM, 'Viktor Grigorov' via Programming wrote:
My twopence:
Worth confirming: did you mean syntax highlighting on wiki pages or for the
various text ed
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
I have just checked and JE already does treat _0. as negative zero:
% _0.
__
It is hard to keep -0 through a calculation. Whenever you add it to a
nonnegative number it acts like 0. If all you do is multiply and divide
you can keep the negative zero, with the exception that +-0 % +-0 give
just a short follow-up
As I know its maintainer in person,
I had to try GeSHi as well.
Not overwhelming, but working fine ootb.
Am 30.07.23 um 19:42 schrieb Hauke Rehr:
my 2 cents
I’m quite satisfied with the highlight I get when
writing J in Vim; and with the highlight I get when
typesetting
I see two possible ways to implement this sort of functionality.
(A) Create a duplicate copy of J's parser, which would run in the
highlighting environment, to identify regions corresponding to
"special code", or
(B) Update J itself to provide a "dry run" mechanism to identify these
regions in a
my 2 cents
I’m quite satisfied with the highlight I get when
writing J in Vim; and with the highlight I get when
typesetting J in TeX with minted. Neither do custom
handling of Special Combinations, though.
IIRC, Michal rolled his own for his jprez stuff
(editor part).
@Michal: Did you consider
What a great idea! I know nothing about Syntax Highlighting but I would
love to see it in the display.
There will be a problem keeping the highlighting up to date with the
evolving support for special combinations.
Henry Rich
On 7/30/2023 12:59 PM, Ak O wrote:
Hi all, I hope you are all we
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 H
13 matches
Mail list logo