aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-20 06:01:52 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-20 06:07:34 +0100
commitafec1e128ef584c10986c1b6ffebcf326f5a3269 (patch)
tree6229e2da2ccd461c491b21b108457f03095b6b82
parent2d31c1c5f08bbe19faf0e874604517fb67dc5ee7 (diff)
downloadsciteco-afec1e128ef584c10986c1b6ffebcf326f5a3269.tar.gz
some reasonable syntax highlighting defaults for C++ and Make
-rwxr-xr-xteco.ini50
1 files changed, 42 insertions, 8 deletions
diff --git a/teco.ini b/teco.ini
index 9b27a6c..0ad9a4f 100755
--- a/teco.ini
+++ b/teco.ini
@@ -8,26 +8,60 @@
!add!
EQ* HX.f EQ.f
+ @^U.c{
+ U.c ((Q.c&1)*255) # ((Q.c/2 & 1)*255*256) # ((Q.c/4 & 1)*255*256*256)
+ }
+
+ ! <bold,bg,fg,style>M.r !
@.r{
- U.2U.1U.0
- (Q.0*256 + Q.1)*256 + Q.2
+ U.sU.vU.bU.h
+ Q.v:M.c,Q.s,2051ES
+ Q.b:M.c,Q.s,2052ES
+ Q.h,Q.s,2053ES
}
ZJ -:S.[cpp,c,h]"S Z-."=
EBQ.f
3,4001ES
- 0,4005ESbreak case continue default do else for goto if return switch while
- 0,255,0:M.r,0,2051ES
- 0,255,0:M.r,1,2051ES 0,255,0:M.r,2,2051ES
- 255,255,0:M.r,4,2051ES 255,0,0:M.r,5,2051ES
- 255,0,255:M.r,6,2051ES
+ 0,4005ESand and_eq asm auto bitand bitor bool break
+ case catch char class compl const const_cast continue
+ default delete do double dynamic_cast else enum explicit export extern false float for
+ friend goto if inline int long mutable namespace new not not_eq
+ operator or or_eq private protected public
+ register reinterpret_cast return short signed sizeof static static_cast struct switch
+ template this throw true try typedef typeid typename union unsigned using
+ virtual void volatile wchar_t while xor xor_eq
+ 2,4005ESa addindex addtogroup anchor arg attention
+ author b brief bug c class code date def defgroup deprecated dontinclude
+ e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception
+ f$ f[ f] file fn hideinitializer htmlinclude htmlonly
+ if image include ingroup internal invariant interface latexonly li line link
+ mainpage name namespace nosubgrouping note overload
+ p page par param post pre ref relates remarks return retval
+ sa section see showinitializer since skip skipline struct subsection
+ test throw todo typedef union until
+ var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
+ ! Whitespace ! 0,0,2,0:M.r
+ ! Comments ! 0,0,2,1:M.r 0,0,2,2:M.r 1,0,2,3:M.r
+ ! Number ! 0,0,1,4:M.r
+ ! Keywords ! 0,0,4,5:M.r
+ ! Strings ! 0,0,5,6:M.r 1,0,5,7:M.r
+ ! Preprocessor ! 0,0,3,9:M.r
+ ! Operators ! 1,0,7,10:M.r
+ ! Identifiers ! 0,0,6,11:M.r
Oend
''
ZJ -:Smakefile"S Z-."=
EBQ.f
11,4001ES
- 0,255,0:M.r,1,2051ES
+ 0,4005ESifeq else endif
+ ! Default ! 0,0,7,0:M.r
+ ! Comments ! 0,0,2,1:M.r
+ ! Preprocessor ! 0,0,4,2:M.r
+ ! Variables ! 0,0,1,3:M.r
+ ! Operators ! 1,0,7,4:M.r
+ ! Target ! 1,0,2,5:M.r
Oend
''