aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/tests/test.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-09-06 14:39:04 -0400
committerKen Moore <ken@pcbsd.org>2016-09-06 14:39:04 -0400
commit62a509fcac6a57014707ce1e5d1561d23749a3a9 (patch)
tree001629e6cdf85e65662bfa0da0c38972147c4db0 /src-qt5/desktop-utils/lumina-textedit/tests/test.cpp
parentAdd possible whitespace to the preprocessor rule for C/C++ code. (diff)
downloadlumina-62a509fcac6a57014707ce1e5d1561d23749a3a9.tar.gz
lumina-62a509fcac6a57014707ce1e5d1561d23749a3a9.tar.bz2
lumina-62a509fcac6a57014707ce1e5d1561d23749a3a9.zip
Add a new test.cpp file for checking C/C++ syntax stuff, and fix up the backwards highlighting routine when both a start and end character are in close proximity in teh middle of the search.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/tests/test.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/tests/test.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/tests/test.cpp b/src-qt5/desktop-utils/lumina-textedit/tests/test.cpp
new file mode 100644
index 00000000..f78748bf
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-textedit/tests/test.cpp
@@ -0,0 +1,13 @@
+Test(QString test){
+ nestedFunction(){ }
+}
+if else done
+return exit
+bool float double
+
+some stuff // in-line comment
+
+some stuff /*multi
+line
+comment*/
+stuff
bgstack15