From 83f18d2578288fe71fca409e4f03434346b0d5b7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 24 Mar 2015 02:40:41 +0100 Subject: 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. --- lib/lexers/rust.tes | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lib/lexers/rust.tes (limited to 'lib/lexers/rust.tes') diff --git a/lib/lexers/rust.tes b/lib/lexers/rust.tes new file mode 100644 index 0000000..c0d9497 --- /dev/null +++ b/lib/lexers/rust.tes @@ -0,0 +1,41 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.rust]{ [_ + _.rsM[lexer.checkname] +]_ } + +@[lexer.set.rust]{ + ESSETLEXER,SCLEX_RUST + 0ESSETKEYWORDS + if else repeat while function for in next break TRUE FALSE NULL NA Inf NaN + 1ESSETKEYWORDS + bool char f32 f64 i16 i32 i64 i8 int str u16 u32 u64 u8 uint + 2ESSETKEYWORDS + acme aids aircondit amis aml banking barchart barley beaver bigcity boot + brambles breslow bs bwplot calcium cane capability cav censboot channing city + claridge cloth cloud coal condense contourplot control corr darwin densityplot dogs + dotplot ducks empinf envelope environmental ethanol fir frets gpar grav gravity grob + hirose histogram islay knn larrows levelplot llines logit lpoints lsegments lset + ltext lvqinit lvqtest manaus melanoma melanoma motor multiedit neuro nitrofen + nodal ns nuclear oneway parallel paulsen poisons polar qq qqmath remission rfs + saddle salinity shingle simplex singer somgrid splom stripplot survival tau tmd + tsboot tuna unit urine viewport wireframe wool xyplot + :M[color.comment],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.comment],3M[color.set] + :M[color.comment],4M[color.set] + :M[color.number],5M[color.set] + :M[color.keyword],6M[color.set] + :M[color.keyword],7M[color.set] + :M[color.keyword],8M[color.set] + :M[color.keyword],9M[color.set] + :M[color.keyword],10M[color.set] + :M[color.keyword],11M[color.set] + :M[color.keyword],12M[color.set] + :M[color.string],13M[color.set] + :M[color.string2],15M[color.set] + :M[color.operator],16M[color.set] + :M[color.preproc],19M[color.set] + :M[color.string],21M[color.set] + :M[color.string2],23M[color.set] +} -- cgit v1.2.3