[gedit-list] Custom .lang file.



Hello, I'm making custom .lang file. 

I want to make some special syntax highlighting, but can't find any examples.

I want to highlight keywords in pairs, so

box

end

will be highlighted, but if there is no matching "end" for "box", there is no highlighting. Or if there is no matching "box" for "end". It resembles colored brackets.

To be precise, "box" should also start with the new line and "end" must be on separate line. Between these may be another keyword pairs.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]