Raul, thank you for the fix. It needs a minor change because controlword pattern will be overridden by the next J primitives patterns. A patch pushed to the jqt repos. https://github.com/jsoftware/qtide/blob/master/lib/high/highj.cpp
On Tue, Oct 27, 2020 at 9:50 AM Raul Miller <[email protected]> wrote: > I do not have a setup where I can build jqt to test the results, but I > believe it should be sufficient to add a new line 31 to the > controlPatterns definition in > https://github.com/jsoftware/qtide/blob/master/lib/high/highj.cpp > which reads > > << "\\{\\{" << "\\}\\}" > > This would make both {{ and }} be highlighted in red in the typical case. > > Thanks, > > -- > Raul > > On Mon, Oct 26, 2020 at 9:37 PM chris burke <[email protected]> wrote: > > > > Jqt syntax highlighting source is at: > > > > https://github.com/jsoftware/qtide/tree/master/lib/high > > > > It would be great if you were able to update it for DD. > > > > On Mon, Oct 26, 2020 at 6:06 PM Raul Miller <[email protected]> > wrote: > > > > > > There are two things I would like to see for direct definition which > > > are not currently implemented. I do not know if these have any > > > roadblocks.( If they do have roadblocks, I would like to understand > > > these blocking issues.) > > > > > > [1] Syntax highlighting. Currently, jqt uses a different color for > > > {{ than for }} in multiline direct definitions. (jhs does not have > > > this issue.) > > > > > > [2] Representation. I would very much like a variant on 5!:5 which > > > produces a direct definition form which is analogous to linear > > > representation except that it uses direct definition rather than > > > explicit definition. (Name use conflicts could be handled by replacing > > > n=. with 'n'=. and replacing other uses of n with ('n'~), and of > > > course the same for other reserved names.) > > > > > > My primary use of this representation would be in J's default display > (9!:3). > > > > > > If you think I should tackle these myself, I guess I can try (though I > > > suspect I would goof up on my first attempt, and I do not know where > > > jqt's syntax highlighting code is located). > > > > > > Thanks, > > > > > > -- > > > Raul > > > ---------------------------------------------------------------------- > > > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
