Colorer — syntax highlighting and text parsing

Here you can discuss about your favorite plug-in.
Posts: 61
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times

Colorer — syntax highlighting and text parsing

Post by LigH »

Latest post of the previous page:

The current repository is at:

Download binary releases from:

Furthermore, a rather recent installation of Far Manager v3.0.5xxx should contain a just as recent FarColorer plugin.
Last edited by LigH on Thu 13 Dec, 2018 10:12, edited 2 times in total.

Posts: 1
Joined: Tue 21 May, 2019 10:18

Colorer — syntax highlighting and text parsing

Post by csaba.coder »

I found a little error in the SQL.hrc file.
In SQL file the string content separator character apostrophe. ('some string'). If I use apostrophe as part of string content, I use double apostrophe ('string with '' character', therefore the escape charetrer is an other apostrophe). But the sql.hrc use as escape the backslash (\) character instead of apostrophe). Would be nice if support fix this error.

A possible fix:

sql.hrc from line 949 current:

<scheme name="stringApost" if="backslash_escapes">
<regexp match="/\\'/" region='def:StringContent'/>

With my fix:

<scheme name="stringApost" if="backslash_escapes">
<regexp match="/''/" region='def:StringContent'/>

This may not be the best, but working.

Post Reply

Return to “General Plug-In Discussions”