Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: GoodMorning on September 23, 2016, 02:27:31 AM

Title: PRPL: Syntax highlighter
Post by: GoodMorning on September 23, 2016, 02:27:31 AM
Reading scripts in monochrome was displeasing me, so I have begun to adapt the CRPL syntax highlighter file. So far, I have deleted the CONST_ and recognised "*", "[", "." and "]". I have also set it up to allow folding of multiline comments.

File attached, usage instructions exactly as for the CRPL syntax highlighter.

When the wiki PRPL section is nigh-finished well-started, this can go there.
Title: Re: PRPL: Syntax highlighter
Post by: knucracker on September 23, 2016, 08:59:51 AM
Nice... Folks will sure appreciate this.
I've been using the crpl highlighter to get by and have had no time to look at updating it.
Title: Re: PRPL: Syntax highlighter
Post by: Sorrontis on September 23, 2016, 09:23:56 AM
How do you use it? Notepad+ right?
Title: Re: PRPL: Syntax highlighter
Post by: Builder17 on September 23, 2016, 12:18:41 PM
http://knucklecracker.com/wiki/doku.php?id=crpl:overview#creating_crpl_scripts
Title: Re: PRPL: Syntax highlighter
Post by: Sorrontis on September 23, 2016, 12:39:31 PM
 ;D
Title: Re: PRPL: Syntax highlighter
Post by: GoodMorning on September 23, 2016, 07:39:27 PM
Quote from: virgilw on January 14, 2013, 04:12:21 PM
If you add this as a run command in Notepad++, you can bring up the help by hitting a keyboard shortcut when over a word.  I use "ctrl-~".
http://knucklecracker.com/wiki/doku.php?id=crpl:docs:$(CURRENT_WORD)

This is from the CRPL docs thread. I will doubtless want to look up PRPL and CRPL docs regularly, and they're similar enough that I'll want to bind the same command keys. (Alt+~ is what I use)

It is possible currently?
Title: Re: PRPL: Syntax highlighter
Post by: Eiyatizu on May 13, 2017, 10:10:20 PM
I used Python Syntax highlighting for PRPL using Sublime, does not work perfectly but decently enough. Wonder how to do the actual PRPL highlighting in Sublime.