Syntax highlighting

Discuss and share scripts and script files...
Post Reply
oblivion
Posts: 156
Joined: 13 Apr 2011 11:35

Syntax highlighting

Post by oblivion »

Just a (probably foolish) question: does anyone here (a) use the Boxer text editor, (b) have taught it to recognise xys syntax and (c) would be prepared to post the relevant line from their syntax.ini so I can make use of all your hard work? ;)

Failing that, does anyone have xys syntax highlighting rules for any other PFEs that I might be able to hack into an importable format?


Just as a sort of side-issue: I'm trying to get to grips with xys scripting by throwing myself into the deep end: I've found a (complex!) script that doesn't do exactly what I need but I'm hoping I can make it work for me. Always assuming I achieve anything at all with it (I'm not yet at the stage when all my "too complicated" lights start flashing, but it could happen anytime!) is there a protocol for crediting original authors if I post my hack? Or should I just not post anything that's not entirely original code?
-- bests, Tim

...This space unintentionally left blank.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Syntax highlighting

Post by serendipity »

oblivion wrote:Just a (probably foolish) question: does anyone here (a) use the Boxer text editor, (b) have taught it to recognise xys syntax and (c) would be prepared to post the relevant line from their syntax.ini so I can make use of all your hard work? ;)

Failing that, does anyone have xys syntax highlighting rules for any other PFEs that I might be able to hack into an importable format?


Just as a sort of side-issue: I'm trying to get to grips with xys scripting by throwing myself into the deep end: I've found a (complex!) script that doesn't do exactly what I need but I'm hoping I can make it work for me. Always assuming I achieve anything at all with it (I'm not yet at the stage when all my "too complicated" lights start flashing, but it could happen anytime!) is there a protocol for crediting original authors if I post my hack? Or should I just not post anything that's not entirely original code?
One I use is right at the bottom of the list below from editpad, was created by jacky a while ago but works decently well for me:
http://www.editpadpro.com/cgi-bin/cscslist3.pl

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Syntax highlighting

Post by binocular222 »

It was from 2005, quite outdated. It would be greate if there's auto-completion such as one in Sublime Text (when you type the 1st 3 characters, list of relevant function/variables are listed out)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Syntax highlighting

Post by RalphM »

binocular222 wrote:It was from 2005, quite outdated. It would be greate if there's auto-completion such as one in Sublime Text (when you type the 1st 3 characters, list of relevant function/variables are listed out)
PSPad offers a list of relevant functions and the language files are almost up to date...

Edit: Now the language files are up to date again, see http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9726
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

oblivion
Posts: 156
Joined: 13 Apr 2011 11:35

Re: Syntax highlighting

Post by oblivion »

RalphM wrote:
binocular222 wrote: Edit: Now the language files are up to date again, see http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9726
Thanks -- and thanks to everyone else here who's posted helpful responses to my original question -- I'm really impressed with the helpfulness and general good humour of everyone in the XY Forum :)
-- bests, Tim

...This space unintentionally left blank.

Post Reply