aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-03-19 22:07:29 -0400
committerRalph Amissah <ralph@amissah.com>2012-03-19 22:07:33 -0400
commit6811ac91f21a434fc7d967c11e1b20f33918c6ea (patch)
tree30f39674ca96a79f8a604a9f02d571f24320e221 /data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats
parentv3: 3.2.0 version & changelog "opened" (diff)
v3: 3.2 branch is main (v3dv --> v3); dev (v3dv) branch directories removed
* v3dv (3.2) "merged" into v3 (previously 3.1) (& removed) * conf/sisu/v3dv --> conf/sisu/v3 * data/sisu/v3dv --> data/sisu/v3 * lib/sisu/v3dv --> lib/sisu/v3 * bin/sisu* (v3dv references changed to v3) * (--dev modifier (superfluous for the time being) runs main v3 branch)
Diffstat (limited to 'data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats')
-rw-r--r--data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats79
1 files changed, 0 insertions, 79 deletions
diff --git a/data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats b/data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats
deleted file mode 100644
index ef01b2be..00000000
--- a/data/sisu/v3dv/conf/editor-syntax-etc/nedit/sisu_nedit.pats
+++ /dev/null
@@ -1,79 +0,0 @@
-! Nedit Syntax highlighting patterns and commenting for SiSU
-! Version 0.1
-!
-! INSTALLATION
-!
-! Load this pattern by starting nedit with:
-!
-! nedit -import <name of this file>
-!
-! Then, check that the patterns were loaded correctly, and choose Save Defaults
-! from the Preferences menu. The new patterns will now be incorporated into
-! your own .nedit file, so the next time you start NEdit, you will no longer
-! need to use -import.
-!
-! These comments will not appear in your ~/.nedit
-!
-nedit.macroCommands: \
- SiSU Comments>Comment Out Lines@SiSU:::R: {\n\
- replace_in_selection("^.*$", "%+ &", "regex")\n\
- }\n\
- SiSU Comments>Uncomment Lines@SiSU:::R: {\n\
- replace_in_selection("(^[ \\\\t]*# ?)(.*)$", "\\\\2", "regex")\n\
- }\n\
- SiSU Comments>Comment Out Sel.@SiSU:::R: {\n\
- beginning-of-selection()\n\
- mark("1")\n\
- deselect-all()\n\
- insert-string("=begin\\n")\n\
- goto-mark("1")\n\
- beginning-of-selection()\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- backward-character("extend")\n\
- mark("1")\n\
- end-of-selection()\n\
- deselect-all()\n\
- insert-string("\\n=end")\n\
- goto-mark("1")\n\
- }\n\
- SiSU Comments>Uncomment Sel.@SiSU:::R: {\n\
- beginning-of-selection()\n\
- mark("1")\n\
- deselect-all()\n\
- replace("=begin\\n","")\n\
- goto-mark("1")\n\
- deselect-all()\n\
- replace("\\n=end","","backward")\n\
- goto-mark("1")\n\
- }\n
-nedit.highlightPatterns: SiSU:1:0{\n\
- comment:"^%+ ":"$"::Comment::\n\
- endnote1:"~\\^(\s|$)":::Keyword::D\n\
- endnote2:"^\\^~ ":"$"::Comment::\n\
- header:"^0~|@\S+:\s":"$"::Keyword::\n\
- bold_line:"^!_ ":"$"::Keyword::\n\
- heading:"^[1-9]~":"$"::Keyword::\n\
- code_block:"^code\\{":"^\\}code"::Comment::\n\
- poem_block:"^poem\\{":"^\\}poem"::Comment::\n\
- group_block:"^group\\{":"^\\}group"::Comment::\n\
- alt_block:"^alt\\{":"^\\}alt"::Comment::\n\
- endnote:"~\\{":"\\}~":"\\n":String::\n\
- string2:"'":"'":"\\n":String1::\n\
- string escape chars:"\\\\(.|\\n)":::String1:endnote:\n\
- character constant:"'":"'":"[^\\\\][^']":Character Const::\n\
- numeric constant:"<((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?>":::Plain::D\n\
- storage keyword:"<(class)>":::Storage Type::D\n\
- line:"^(_[1-9]|_\\*|_[1-9]\\*)":::Keyword::D\n\
- link:"[{}](http://[a-zA-Z0-9?.!+\\-_/&=#]+)?":::Keyword::D\n\
- url:"http://[a-zA-Z0-9?.!+\\-_/&=#]+":::Keyword::D\n\
- }
-! endnote:"~\\{":"\\}~"::Keyword::\n\
-! link:"\\{":"\\}http://\S+"::Keyword::D\n\
-nedit.languageModes: SiSU:.sst::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"
-! nedit.languageModes: SiSU:.sst::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"
-! nedit.languageModes: SiSU:.ss[tmi]::::::