aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/spice.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-24 02:40:41 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-24 02:48:01 +0100
commit83f18d2578288fe71fca409e4f03434346b0d5b7 (patch)
tree4d32a1e4dbb3f113ac08fc7ef664636d909df004 /lib/lexers/spice.tes
parentfec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8 (diff)
downloadsciteco-83f18d2578288fe71fca409e4f03434346b0d5b7.tar.gz
added new lexer configs auto-generated by scite2co.lua
* these are still not all languages supported by Scintilla. scite2co.lua does not do a good job of generating styles when SciTE's property files use hardcoded colors/fonts. This commit only includes reasonably good conversion results. The remaining languages need some additional manual labor. * Even these lexers are not perfect and should be revised by comparing them with SciTE's properties. * So many lexers make the "lexer.auto" macro too slow. We need some optimization. E.g. the search-command optimization described in TODO, or an extended EN command for globbing manually specified file names.
Diffstat (limited to 'lib/lexers/spice.tes')
-rw-r--r--lib/lexers/spice.tes38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/lexers/spice.tes b/lib/lexers/spice.tes
new file mode 100644
index 0000000..6a702af
--- /dev/null
+++ b/lib/lexers/spice.tes
@@ -0,0 +1,38 @@
+! AUTO-GENERATED FROM SCITE PROPERTY SET !
+
+@[lexer.test.spice]{ [_
+ _.[scp,out]M[lexer.checkname]
+]_ }
+
+@[lexer.set.spice]{
+ ESSETLEXER,SCLEX_SPICE
+ 0ESSETKEYWORDS
+ ac alias alter alterparam append askvalues assertvalid autoscale break
+ compose copy copytodoc dc delete destroy destroyvec diff display disto dowhile echo
+ else end errorstop fftinit filter foreach fourier freqtotime function
+ functionundef goto homecursors if isdisplayed label let linearize listing load
+ loadaccumulator makelabel movelabel makesmithplot movecursorleft movecursorright msgbox
+ nameplot newplot nextparam noise nopoints op plot plotf plotref poly print
+ printcursors printevent printname printplot printstatus printtext printtol printunits
+ printval printvector pwl pz quit removesmithplot rename repeat resume rotate runs
+ rusage save sendplot sendscript sens set setcursor setdoc setlabel setlabeltype
+ setmargins setnthtrigger setunits setvec setparam setplot setquery setscaletype
+ settracecolor settracestyle setsource settrigger setvec setxlimits setylimits show showmod
+ sort status step stop switch tf timetofreq timetowave tran unalias unlet unset
+ unalterparam update version view wavefilter wavetotime where while write
+ 1ESSETKEYWORDS
+ abs askvalue atan average ceil cos db differentiate differentiatex exp
+ finalvalue floor getcursorx getcursory getcursory0 getcursory1 getparam im ln
+ initialvalue integrate integratex interpolate isdef isdisplayed j log length mag, max
+ maxscale mean meanpts min minscale nextplot nextvector norm operatingpoint ph phase
+ phaseextend pk_pk pos pulse re rms rmspts rnd sameplot sin sqrt stddev stddevpts tan
+ tfall tolerance trise unitvec vector
+ 2ESSETKEYWORDS
+ param nodeset include options dcconv subckt ends model
+ :M[color.keyword],2M[color.set]
+ :M[color.keyword],3M[color.set]
+ :M[color.number],5M[color.set]
+ :M[color.operator],6M[color.set]
+ :M[color.string2],7M[color.set]
+ :M[color.comment],8M[color.set]
+}