This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Kate] I'm trying to create a new syntax highlighting file

Tags: None
(comma "," separated)
nsgnkhibdk
Registered Member
Posts
1
Karma
0
The programming language used # for single line comment (like Ruby) but for multi line comment it used the syntax #~ and ~# inspired by C/C++ family of language instead of Ruby's =begin and =end block. I'm having trouble to get syntax highlighting of comments working correctly. As the single line comment and multi line comment started with the same character, it's unable to tell when it's single line comment when it's multi line comment. C/C++ language family used two characters // for single line comment so it could be checked by Detect2Chars but the case with the programming language here I have no idea how to resolve. Please help. Thank you.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]