aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-22 04:53:53 -0400
committerKen Moore <ken@ixsystems.com>2017-06-22 04:53:53 -0400
commit878a75be962b1ee90f47804b92c59bc6804364e9 (patch)
treea081bd575608adf367ea91a7ee8a9aa8889dfca1 /src-qt5
parentAdd a new syntax rule set for JSON files. Seems to be working fine. (diff)
downloadlumina-878a75be962b1ee90f47804b92c59bc6804364e9.tar.gz
lumina-878a75be962b1ee90f47804b92c59bc6804364e9.tar.bz2
lumina-878a75be962b1ee90f47804b92c59bc6804364e9.zip
Add a couple more files to lumina-textedit:
1) A basic "text" syntax rule set (no highlighting, word wrap) 2) A test file for the XML rules.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/txt.syntax18
1 files changed, 18 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/txt.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/txt.syntax
new file mode 100644
index 00000000..0dec37b9
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/txt.syntax
@@ -0,0 +1,18 @@
+# Syntax support file for the Lumina Text Editor
+# ===================================
+# Basic text file support rules
+# Written by Ken Moore <ken@ixsystems.com>
+# Released under the 2-clause BSD license
+# ===================================
+
+{
+ "meta": {
+ "name": "Simple Text",
+ "file_suffix": ["txt", "note"]
+ },
+ "format": {
+ "line_wrap": true,
+ "highlight_whitespace_eol": false
+ },
+ "rules": [ ]
+}
bgstack15