Re: how to create another colorer dialect?

2020-03-02 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 8:22 AM gar wrote: > Oh couldn't even imagine. Thanks a lot, it works now! > You're welcome :-) Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it,

Re: how to create another colorer dialect?

2020-03-02 Thread gar
Oh couldn't even imagine. Thanks a lot, it works now! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this dis

Re: how to create another colorer dialect?

2020-03-02 Thread Edward K. Ream
On Monday, March 2, 2020 at 7:48:46 AM UTC-6, Edward K. Ream wrote: > >> --trace-coloring: js7.leokeyword 0 13 '@language js7' >> match_at_language,colorRangeWithTag >> > > Alright. I'll look into this. > In modes/test.py, change the string "javascript" to "test" everywhere.

Re: how to create another colorer dialect?

2020-03-02 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 7:34 AM gar wrote: > Not much :-) > > --trace-coloring... > @bool use-pygments : False > @bool use-pytments-styles : True > @string pygments-style-name: default > > literal > > --trace-coloring: js7.leokeyword 0 13 '@langua

Re: how to create another colorer dialect?

2020-03-02 Thread gar
Not much :-) --trace-coloring... @bool use-pygments : False @bool use-pytments-styles : True @string pygments-style-name: default literal --trace-coloring: js7.leokeyword 0 13 '@language js7' match_at_language,colorRangeWithTag пн, 2 мар. 2020

Re: how to create another colorer dialect?

2020-03-02 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 3:20 AM gar wrote: > copy say 'modes/javascript.py' to 'modes/test.py' > create a node with @language test (it's loaded - since it is colored and > if make an error there - there'll be an abuse in stdout) > write something reasonable - and get nothing highlighted. > > is it

how to create another colorer dialect?

2020-03-02 Thread gar
copy say 'modes/javascript.py' to 'modes/test.py' create a node with @language test (it's loaded - since it is colored and if make an error there - there'll be an abuse in stdout) write something reasonable - and get nothing highlighted. is it necessary to do anything else with it? -- You recei