ui: fixed syntax highlighting

* fixed strings and number highlights within comments
* fixed quotations not considering escaped quotations within strings
* fixed quotations spanning till last quotation in line
* fixed tag quotations only used after blank space
* fixed multiline comments using correct start and end
* fixed single line comments interfering with multiline comments
This commit is contained in:
Eberhard Graether
2015-11-25 14:05:03 +01:00
parent 0144c44d1d
commit f29a966504
3 changed files with 158 additions and 52 deletions
+17
View File
@@ -0,0 +1,17 @@
/* hallo */
int a; /* hallo */
int b = 6/3/2; /* hallo */
//*
int c;
//*/
// /*
int d;
// */
/*
hallo
// */ int e = 0;