"Fossies" - the Fresh Open Source Software Archive

Member "wscite/cpp.properties" (11 Sep 2020, 24064 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for C++, C, C#, Ch, Java, IDL, JavaScript, Flash (ActionScript 2) files.
    2 
    3 # sma files are Small script (C-like)
    4 file.patterns.cpp=*.c;*.cc;*.cpp;*.cxx;*.h;*.hh;*.hpp;*.hxx;*.ipp;*.m;*.mm;*.sma
    5 file.patterns.cplusplus=*.cc;*.cpp;*.cxx
    6 # jad = decompiled class files; pde = Processing.org sketch files
    7 file.patterns.java=*.java;*.jad;*.pde
    8 # pln, inc and t are SilkTest (4Test) files.
    9 file.patterns.test=*.pln;*.inc;*.t
   10 # es = JS dialect of Abobe for SVG
   11 file.patterns.js=*.js;*.es;*.ts;*.jse;*.jsm;*.mjs;*.qs
   12 file.patterns.cs=*.cs
   13 file.patterns.rc=*.rc;*.rc2;*.dlg
   14 file.patterns.idl=*.idl;*.odl
   15 file.patterns.flash=*.as;*.asc;*.jsfl
   16 file.patterns.ch=*.ch;*.chf;*.chs
   17 file.patterns.vala=*.vala
   18 file.patterns.go=*.go
   19 file.patterns.pike=*.pike
   20 file.patterns.swift=*.swift
   21 file.patterns.c.like=$(file.patterns.cpp);$(file.patterns.cs);$(file.patterns.idl);$(file.patterns.java);$(file.patterns.js);$(file.patterns.flash);$(file.patterns.ch);$(file.patterns.vala);$(file.patterns.pike)
   22 file.patterns.meson=meson.build
   23 
   24 *source.patterns.cpp=$(file.patterns.c.like);
   25 *source.patterns.resource=$(file.patterns.rc);*.def;
   26 
   27 shbang.tcc=cpp
   28 shbang.tinycc=cpp
   29 
   30 filter.cpp=C/C++ (c cc cpp cxx cs vala h hh hxx hpp ipp dlg rc rc2 mak)|\
   31 $(file.patterns.cpp);$(file.patterns.cs);$(file.patterns.rc);$(file.patterns.vala);*.mak;make*|
   32 filter.java=Java (java)|*.java|
   33 filter.js=JavaScript (js es ts)|$(file.patterns.js)|
   34 filter.idl=IDL (idl odl)|$(file.patterns.idl)|
   35 filter.test=SilkTest (pln inc t)|$(file.patterns.test)|
   36 filter.flash=Flash (as asc jsfl)|$(file.patterns.flash)|
   37 filter.ch=Ch (ch chf chs)|$(file.patterns.ch)|
   38 filter.go=Go (go)|$(file.patterns.go)|
   39 filter.pike=Pike (pike)|$(file.patterns.pike)|
   40 filter.swift=Swift (swift)|$(file.patterns.swift)|
   41 
   42 *filter.cpp=$(filter.cpp)
   43 *filter.java=$(filter.java)
   44 *filter.javascript=$(filter.js)
   45 *filter.idl=$(filter.idl)
   46 
   47 lexer.$(file.patterns.java)=cpp
   48 lexer.$(file.patterns.cpp)=cpp
   49 lexer.$(file.patterns.rc)=cpp
   50 lexer.$(file.patterns.idl)=cpp
   51 lexer.$(file.patterns.cs)=cpp
   52 lexer.$(file.patterns.js)=cpp
   53 lexer.$(file.patterns.test)=cpp
   54 lexer.$(file.patterns.flash)=cpp
   55 lexer.$(file.patterns.ch)=cpp
   56 lexer.$(file.patterns.vala)=cpp
   57 lexer.$(file.patterns.go)=cpp
   58 lexer.$(file.patterns.pike)=cpp
   59 lexer.$(file.patterns.swift)=cpp
   60 lexer.$(file.patterns.meson)=cpp
   61 
   62 *language.c=&C / C++|c||
   63 *language.csharp=C&#|cs||
   64 *language.java=&Java|java||
   65 *language.javascript=Java&Script|js||
   66 #*language.resource=Reso&urce|rc||
   67 
   68 keywordclass.cpp=alignas alignof and and_eq asm audit auto axiom bitand bitor bool break \
   69 case catch char char8_t char16_t char32_t class compl concept \
   70 const consteval constexpr const_cast continue co_await co_return co_yield \
   71 decltype default delete do double dynamic_cast else enum explicit export extern false final float for \
   72 friend goto if import inline int long module mutable namespace new noexcept not not_eq nullptr \
   73 operator or or_eq override private protected public \
   74 register reinterpret_cast requires return \
   75 short signed sizeof static static_assert static_cast struct switch \
   76 template this thread_local throw true try typedef typeid typename union unsigned using \
   77 virtual void volatile wchar_t while xor xor_eq
   78 
   79 directives.objective.c=\
   80 @class @defs @protocol @required @optional @end \
   81 @interface @public @package @protected @private @property \
   82 @implementation @synthesize @dynamic \
   83 @throw @try @catch @finally \
   84 @synchronized @autoreleasepool \
   85 @selector @encode \
   86 @compatibility_alias
   87 
   88 # Since Objective C and C++ share the .h extension, allow Objective C directives as keywords
   89 # For stricter display of pure C++, specify keywords.$(file.patterns.cpp)=$(keywordclass.cpp)
   90 keywords.$(file.patterns.cpp)=$(keywordclass.cpp) $(directives.objective.c)
   91 
   92 # keywords2 is for highlighting user defined keywords or function calls or similar
   93 #keywords2.$(file.patterns.cpp)=file
   94 
   95 # keywords3 is for doc comment keywords, highlighted in style 17
   96 #CPP doxygen
   97 file.patterns.doxygen.langs=$(file.patterns.cpp);$(file.patterns.java)
   98 keywordclass.doxygen=a addindex addtogroup anchor arg attention \
   99 author b brief bug c class code date def defgroup deprecated dontinclude \
  100 e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception \
  101 f$ f[ f] file fn hideinitializer htmlinclude htmlonly \
  102 if image include ingroup internal invariant interface latexonly li line link \
  103 mainpage name namespace nosubgrouping note overload \
  104 p page par param param[in] param[out] \
  105 post pre ref relates remarks return retval \
  106 sa section see showinitializer since skip skipline struct subsection \
  107 test throw throws todo typedef union until \
  108 var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
  109 keywords3.$(file.patterns.doxygen.langs)=$(keywordclass.doxygen)
  110 
  111 # keywords5 is for preprocessor definitions and will cause inactive code
  112 # to be greyed out. This setting is a space separated list of definitions
  113 # where a definition may be of the form NAME=VALUE or simply NAME.
  114 #keywords5.$(file.patterns.cpp)=_MSC_VER SCI_NAMESPACE GTK_MAJOR_VERSION=2
  115 
  116 word.chars.cxx=$(chars.alpha)$(chars.numeric)_#
  117 word.characters.$(file.patterns.cpp)=$(word.chars.cxx)
  118 calltip.cpp.word.characters=$(chars.alpha)$(chars.numeric)_
  119 comment.block.cpp=//~
  120 #comment.block.at.line.start.cpp=1
  121 comment.stream.start.cpp=/*
  122 comment.stream.end.cpp=*/
  123 comment.box.start.cpp=/*
  124 comment.box.middle.cpp= *
  125 comment.box.end.cpp= */
  126 
  127 # Folding
  128 #fold.cpp.syntax.based=0
  129 #fold.comment=0
  130 #fold.cpp.comment.multiline=0
  131 #fold.cpp.comment.explicit=0
  132 #defaults for fold.cpp.explicit.start=//{ and fold.cpp.explicit.end=//}
  133 #  can be replaced by defining custom strings, e.g. //[ and //]
  134 #fold.cpp.explicit.start=//[
  135 #fold.cpp.explicit.end=//]
  136 #if fold strings are set to something like /*{{{ and /*}}} (Origami/WinF style fold strings), enable
  137 #  fold.cpp.explicit.anywhere, allowing explicit fold points being anywhere, not just in line comments
  138 #fold.cpp.explicit.anywhere=1
  139 #fold.preprocessor=1
  140 #fold.compact=1
  141 #fold.at.else=1
  142 
  143 file.patterns.c.except.cpp=$(file.patterns.cs);$(file.patterns.idl);*.java;$(file.patterns.flash);$(file.patterns.ch)
  144 statement.indent.$(file.patterns.c.except.cpp)=5 case default do else for if while
  145 statement.indent.$(file.patterns.cpp)=5 case default do else for if private protected public while
  146 statement.end.$(file.patterns.c.like)=10 ;
  147 statement.lookback.$(file.patterns.c.like)=20
  148 block.start.$(file.patterns.c.like)=10 {
  149 block.end.$(file.patterns.c.like)=10 }
  150 
  151 #autocomplete.cpp.fillups=(
  152 
  153 #styling.within.preprocessor=1
  154 preprocessor.symbol.$(file.patterns.cpp)=#
  155 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
  156 preprocessor.middle.$(file.patterns.cpp)=else elif
  157 preprocessor.end.$(file.patterns.cpp)=endif
  158 
  159 preprocessor.symbol.$(file.patterns.cs)=#
  160 preprocessor.start.$(file.patterns.cs)=if region
  161 preprocessor.middle.$(file.patterns.cs)=else elif
  162 preprocessor.end.$(file.patterns.cs)=endif endregion
  163 
  164 keywordclass.ch=\
  165 auto array bool break case char class complex ComplexInf ComplexNaN \
  166 const continue default delete \
  167 do double else enum export extern float for foreach goto if Inf inline int \
  168 long namespace NaN new NULL private public register restrict return short \
  169 signed sizeof static string_t struct switch this typedef union unsigned \
  170 using void volatile wchar_t while __declspec
  171 keywords.$(file.patterns.ch)=$(keywordclass.ch)
  172 word.chars.ch=$(chars.alpha)$(chars.numeric)_#
  173 word.characters.$(file.patterns.ch)=$(word.chars.cxx)
  174 comment.block.ch=//~
  175 #comment.block.at.line.start.ch=1
  176 comment.stream.start.ch=/*
  177 comment.stream.end.ch=*/
  178 comment.box.start.ch=/*
  179 comment.box.middle.ch= *
  180 comment.box.end.ch= */
  181 preprocessor.symbol.$(file.patterns.ch)=#
  182 preprocessor.start.$(file.patterns.ch)=if ifdef ifndef
  183 preprocessor.middle.$(file.patterns.ch)=else elif
  184 preprocessor.end.$(file.patterns.ch)=endif
  185 
  186 keywordclass.cs=abstract as ascending base bool break by byte case catch char checked \
  187 class const continue decimal default delegate descending do double else enum \
  188 equals event explicit extern false finally fixed float for foreach from goto group if \
  189 implicit in int interface internal into is join lock let long namespace new null \
  190 object on operator orderby out override params private protected public \
  191 readonly ref return sbyte sealed select short sizeof stackalloc static \
  192 string struct switch this throw true try typeof uint ulong \
  193 unchecked unsafe ushort using var virtual void volatile where while
  194 keywords.$(file.patterns.cs)=$(keywordclass.cs)
  195 word.characters.$(file.patterns.cs)=$(word.chars.cxx)
  196 
  197 keywordclass.go=\
  198 bool byte break case chan complex64 complex128 const continue defer default  \
  199 else  for func go goto fallthrough false float32 float64 if import int interface int8 int16 int32 int64 \
  200 len map nil package range return select string struct switch true type \
  201 uint uintptr uint8 uint16 uint32 uint64  var
  202 keywords.$(file.patterns.go)=$(keywordclass.go)
  203 
  204 keywordclass.rc=\
  205 ACCELERATORS ALT AUTO3STATE AUTOCHECKBOX AUTORADIOBUTTON \
  206 BEGIN BITMAP BLOCK BUTTON CAPTION CHARACTERISTICS CHECKBOX CLASS \
  207 COMBOBOX CONTROL CTEXT CURSOR DEFPUSHBUTTON DIALOG DIALOGEX DISCARDABLE \
  208 EDITTEXT END EXSTYLE FONT GROUPBOX ICON LANGUAGE LISTBOX LTEXT \
  209 MENU MENUEX MENUITEM MESSAGETABLE POPUP \
  210 PUSHBUTTON RADIOBUTTON RCDATA RTEXT SCROLLBAR SEPARATOR SHIFT STATE3 \
  211 STRINGTABLE STYLE TEXTINCLUDE VALUE VERSION VERSIONINFO VIRTKEY
  212 keywords.$(file.patterns.rc)=$(keywordclass.rc)
  213 
  214 keywordclass.idl=\
  215 aggregatable allocate appobject arrays async async_uuid \
  216 auto_handle \
  217 bindable boolean broadcast byte byte_count \
  218 call_as callback char coclass code comm_status \
  219 const context_handle context_handle_noserialize \
  220 context_handle_serialize control cpp_quote custom \
  221 decode default defaultbind defaultcollelem \
  222 defaultvalue defaultvtable dispinterface displaybind dllname \
  223 double dual \
  224 enable_allocate encode endpoint entry enum error_status_t \
  225 explicit_handle \
  226 fault_status first_is float \
  227 handle_t heap helpcontext helpfile helpstring \
  228 helpstringcontext helpstringdll hidden hyper \
  229 id idempotent ignore iid_as iid_is immediatebind implicit_handle \
  230 import importlib in include in_line int __int64 __int3264 interface \
  231 last_is lcid length_is library licensed local long \
  232 max_is maybe message methods midl_pragma \
  233 midl_user_allocate midl_user_free min_is module ms_union \
  234 ncacn_at_dsp ncacn_dnet_nsp ncacn_http ncacn_ip_tcp \
  235 ncacn_nb_ipx ncacn_nb_nb ncacn_nb_tcp ncacn_np \
  236 ncacn_spx ncacn_vns_spp ncadg_ip_udp ncadg_ipx ncadg_mq \
  237 ncalrpc nocode nonbrowsable noncreatable nonextensible notify \
  238 object odl oleautomation optimize optional out out_of_line \
  239 pipe pointer_default pragma properties propget propput propputref \
  240 ptr public \
  241 range readonly ref represent_as requestedit restricted retval \
  242 shape short signed size_is small source strict_context_handle \
  243 string struct switch switch_is switch_type \
  244 transmit_as typedef \
  245 uidefault union unique unsigned user_marshal usesgetlasterror uuid \
  246 v1_enum vararg version void wchar_t wire_marshal
  247 
  248 keywordclass.msidl=handle
  249 keywordclass.xpidl=attribute native noscript scriptable shared wstring inout
  250 keywords.$(file.patterns.idl)=$(keywordclass.idl) $(keywordclass.xpidl)
  251 
  252 # http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
  253 keywordclass.java=abstract assert boolean break byte case catch char class \
  254 const continue default do double else enum extends final finally float for \
  255 goto if implements import instanceof int interface long \
  256 native new package private protected public \
  257 return short static strictfp super switch synchronized this throw throws \
  258 transient try var void volatile while
  259 keywords.$(file.patterns.java)=$(keywordclass.java)
  260 
  261 keywordclass.javascript=abstract boolean break byte case catch char class \
  262 const continue debugger default delete do double else enum export extends \
  263 final finally float for function goto if implements import in instanceof \
  264 int interface long native new package private protected public \
  265 return short static super switch synchronized this throw throws \
  266 transient try typeof var void volatile while with
  267 keywords.$(file.patterns.js)=$(keywordclass.javascript)
  268 
  269 keywordclass.flash=add and break case catch class continue default delete do \
  270 dynamic else eq extends false finally for function ge get gt if implements import in \
  271 instanceof interface intrinsic le lt ne new not null or private public return \
  272 set static super switch this throw true try typeof undefined var void while with
  273 
  274 keywordclass2.flash=Array Arguments Accessibility Boolean Button Camera Color \
  275 ContextMenu ContextMenuItem Date Error Function Key LoadVars LocalConnection Math \
  276 Microphone Mouse MovieClip MovieClipLoader NetConnection NetStream Number Object \
  277 PrintJob Selection SharedObject Sound Stage String StyleSheet System TextField \
  278 TextFormat TextSnapshot Video Void XML XMLNode XMLSocket \
  279 _accProps _focusrect _global _highquality _parent _quality _root _soundbuftime \
  280 arguments asfunction call capabilities chr clearInterval duplicateMovieClip \
  281 escape eval fscommand getProperty getTimer getURL getVersion gotoAndPlay gotoAndStop \
  282 ifFrameLoaded Infinity -Infinity int isFinite isNaN length loadMovie loadMovieNum \
  283 loadVariables loadVariablesNum maxscroll mbchr mblength mbord mbsubstring MMExecute \
  284 NaN newline nextFrame nextScene on onClipEvent onUpdate ord parseFloat parseInt play \
  285 prevFrame prevScene print printAsBitmap printAsBitmapNum printNum random removeMovieClip \
  286 scroll set setInterval setProperty startDrag stop stopAllSounds stopDrag substring \
  287 targetPath tellTarget toggleHighQuality trace unescape unloadMovie unLoadMovieNum updateAfterEvent
  288 
  289 keywords.$(file.patterns.flash)=$(keywordclass.flash)
  290 keywords2.$(file.patterns.flash)=$(keywordclass2.flash)
  291 
  292 keywordclass.vala=if else switch case default break continue return yield for foreach in \
  293 do while try catch finally throw
  294 
  295 keywordclass2.vala=namespace interface class struct enum delegate signal errordomain \
  296 construct get set value base const static var dynamic weak unowned virtual abstract \
  297 override public protected private extern throws requires ensures yields out ref lock \
  298 using true false null delete generic new this typeof sizeof as owned int string char bool
  299 
  300 keywords.$(file.patterns.vala)=$(keywordclass.vala)
  301 keywords2.$(file.patterns.vala)=$(keywordclass2.vala)
  302 
  303 keywordclass.pike=constant enum if do for while else foreach case switch break continue \
  304 return typeof catch class lambda import inherit static void int string float mixed object \
  305 function program array mapping multiset
  306 keywords.$(file.patterns.pike)=$(keywordclass.pike)
  307 
  308 keywordclass.swift.declarations=class deinit enum extension func import init \
  309 internal let operator private protocol public static struct subscript typealias var
  310 keywordclass.swift.statements=break case continue default do else fallthrough \
  311 for if in return switch where while
  312 keywordclass.swift.expressions=as dynamicType false is nil self Self super \
  313 true __COLUMN__ __FILE__ __FUNCTION__ __LINE__
  314 # The contextual keywords are only keywords in particular contexts
  315 keywordclass.swift.contextual=associativity convenience dynamic didSet final get \
  316 infix inout lazy left mutating none nonmutating optional override postfix \
  317 precedence prefix Protocol required right set Type unowned weak willSet
  318 
  319 keywords.$(file.patterns.swift)=$(keywordclass.swift.declarations) \
  320 $(keywordclass.swift.statements) $(keywordclass.swift.expressions) \
  321 $(keywordclass.swift.contextual)
  322 
  323 keywords.$(file.patterns.meson)=if else elif endif
  324 keywords2.$(file.patterns.meson)=import meson project \
  325 executable static_library shared_library dependencies \
  326 include_directories get_option get_compiler get_id compile_resources \
  327 cpp_args link_args override_options name_prefix link_with
  328 
  329 # Substyles can be used for extra lists of highlighted identifiers and doc comment keywords
  330 # Identifiers
  331 #substyles.cpp.11=2
  332 #substylewords.11.1.$(file.patterns.cpp)=std map string vector
  333 #style.cpp.11.1=fore:#EE00AA
  334 #style.cpp.75.1=$(style.cpp.75),fore:#BB6666
  335 # Doc comment keywords
  336 #substyles.cpp.17=1
  337 #style.cpp.17.1=$(style.cpp.17),fore:#00AAEE
  338 #style.cpp.81.1=$(style.cpp.81),fore:#6699AA
  339 #substylewords.17.1.$(file.patterns.cpp)=check
  340 
  341 # Markers
  342 # keywords6.$(file.patterns.c.like)=FIXME TODO XXX HACK UnresolvedMergeConflict UNDONE
  343 
  344 #styling.within.preprocessor=1
  345 #lexer.cpp.allow.dollars=1
  346 #lexer.cpp.track.preprocessor=1
  347 #lexer.cpp.update.preprocessor=1
  348 # For C# leave lexer.cpp.verbatim.strings.allow.escapes as 0 but change to 1 for Objective C
  349 #lexer.cpp.verbatim.strings.allow.escapes=1
  350 #lexer.cpp.triplequoted.strings=1
  351 #lexer.cpp.hashquoted.strings=1
  352 #lexer.cpp.backquoted.strings=1
  353 #lexer.cpp.escape.sequence=1
  354 
  355 #lexer.cpp.escape.sequence=1
  356 
  357 # C++ styles
  358 
  359 # Default
  360 style.cpp.32=$(font.base)
  361 # White space
  362 style.cpp.0=fore:#808080
  363 # Comment: /* */.
  364 style.cpp.1=$(colour.code.comment.box),$(font.code.comment.box)
  365 # Line Comment: //.
  366 style.cpp.2=$(colour.code.comment.line),$(font.code.comment.line)
  367 # Doc comment: block comments beginning with /** or /*!
  368 style.cpp.3=$(colour.code.comment.doc),$(font.code.comment.doc)
  369 # Number
  370 style.cpp.4=$(colour.number)
  371 # Keyword
  372 style.cpp.5=$(colour.keyword),bold
  373 # Double quoted string
  374 style.cpp.6=$(colour.string)
  375 # Single quoted string
  376 style.cpp.7=$(colour.char)
  377 # UUIDs (only in IDL)
  378 style.cpp.8=fore:#804080
  379 # Preprocessor
  380 style.cpp.9=$(colour.preproc)
  381 # Operators
  382 style.cpp.10=$(colour.operator),bold
  383 # Identifiers
  384 style.cpp.11=
  385 # End of line where string is not closed
  386 style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
  387 # Verbatim strings for C#
  388 style.cpp.13=fore:#007F00,$(font.monospace),back:#E0FFE0,eolfilled
  389 # Regular expressions for JavaScript
  390 style.cpp.14=fore:#3F7F3F,$(font.monospace),back:#E0F0FF,eolfilled
  391 # Doc Comment Line: line comments beginning with /// or //!.
  392 style.cpp.15=$(colour.code.comment.doc),$(font.code.comment.doc)
  393 # Keywords2
  394 style.cpp.16=fore:#B00040
  395 # Comment keyword
  396 style.cpp.17=fore:#3060A0,$(font.code.comment.doc)
  397 # Comment keyword error
  398 style.cpp.18=fore:#804020,$(font.code.comment.doc)
  399 # Global class
  400 style.cpp.19=fore:#DD9900
  401 # Raw strings for C++0x
  402 style.cpp.20=$(colour.string),back:#FFF3FF,eolfilled
  403 # Triple-quoted strings for Vala
  404 style.cpp.21=$(font.monospace),fore:#007F00,back:#E0FFE0,eolfilled
  405 # Hash-quoted strings for Pike
  406 style.cpp.22=$(font.monospace),fore:#007F00,back:#E7FFD7,eolfilled
  407 # Preprocessor stream comment
  408 style.cpp.23=fore:#659900
  409 # Preprocessor stream doc comment
  410 style.cpp.24=$(colour.code.comment.doc)
  411 # User defined literals
  412 style.cpp.25=fore:#C06000
  413 # Task Marker
  414 style.cpp.26=fore:#BE07FF,$(font.code.comment.line)
  415 # Escape sequence
  416 style.cpp.27=$(colour.string)
  417 
  418 # Inactive states are 64 greater than their active counterparts
  419 
  420 # White space
  421 style.cpp.64=fore:#C0C0C0,$(traits.inactive)
  422 # Comment: /* */.
  423 style.cpp.65=$(style.cpp.1),fore:#90B090,$(traits.inactive)
  424 # Line Comment: //.
  425 style.cpp.66=$(style.cpp.2),fore:#90B090,$(traits.inactive)
  426 # Doc comment: block comments beginning with /** or /*!
  427 style.cpp.67=$(style.cpp.3),fore:#D0D0D0,$(traits.inactive)
  428 # Number
  429 style.cpp.68=$(style.cpp.4),fore:#90B0B0,$(traits.inactive)
  430 # Keyword
  431 style.cpp.69=$(style.cpp.5),fore:#9090B0,$(traits.inactive)
  432 # Double quoted string
  433 style.cpp.70=$(style.cpp.6),fore:#B090B0,$(traits.inactive)
  434 # Single quoted string
  435 style.cpp.71=$(style.cpp.7),fore:#B090B0,$(traits.inactive)
  436 # UUIDs (only in IDL)
  437 style.cpp.72=$(style.cpp.8),fore:#C0C0C0,$(traits.inactive)
  438 # Preprocessor
  439 style.cpp.73=$(style.cpp.9),fore:#B0B090,$(traits.inactive)
  440 # Operators
  441 style.cpp.74=$(style.cpp.10),fore:#B0B0B0,$(traits.inactive)
  442 # Identifiers
  443 style.cpp.75=$(style.cpp.11),fore:#B0B0B0,$(traits.inactive)
  444 # End of line where string is not closed
  445 style.cpp.76=$(style.cpp.12),fore:#000000,$(traits.inactive)
  446 # Verbatim strings for C#
  447 style.cpp.77=$(style.cpp.13),fore:#90B090,$(traits.inactive)
  448 # Regular expressions for JavaScript
  449 style.cpp.78=$(style.cpp.14),fore:#7FAF7F,$(traits.inactive)
  450 # Doc Comment Line: line comments beginning with /// or //!.
  451 style.cpp.79=$(style.cpp.15),fore:#C0C0C0,$(traits.inactive)
  452 # Keywords2
  453 style.cpp.80=$(style.cpp.16),fore:#C0C0C0,$(traits.inactive)
  454 # Comment keyword
  455 style.cpp.81=$(style.cpp.17),fore:#C0C0C0,$(traits.inactive)
  456 # Comment keyword error
  457 style.cpp.82=$(style.cpp.18),fore:#C0C0C0,$(traits.inactive)
  458 # Raw strings for C++0x
  459 style.cpp.84=$(style.cpp.20),fore:#B090B0,$(traits.inactive)
  460 # Triple-quoted strings for Vala
  461 style.cpp.85=$(style.cpp.21),fore:#90B090,$(traits.inactive)
  462 # Hash-quoted strings for Pike
  463 style.cpp.86=$(style.cpp.22),fore:#90B090,$(traits.inactive)
  464 # Preprocessor stream comment
  465 style.cpp.87=$(style.cpp.23),fore:#A0C090,$(traits.inactive)
  466 # Preprocessor stream doc comment
  467 style.cpp.88=$(style.cpp.23),fore:#C0C0C0,$(traits.inactive)
  468 # User defined literals
  469 style.cpp.89=fore:#D7A090,$(traits.inactive)
  470 # Task Marker
  471 style.cpp.90=fore:#C3A1CF,$(font.code.comment.line),$(traits.inactive)
  472 
  473 # Braces are only matched in operator style
  474 braces.cpp.style=10
  475 
  476 ccopts=-pedantic -Os
  477 cc=g++ $(ccopts) -c $(FileNameExt) -o $(FileName).o
  478 ccc=gcc $(ccopts) -c $(FileNameExt) -o $(FileName).o
  479 
  480 make.command=make
  481 command.compile.*.c=$(ccc) -std=c99
  482 command.build.*.c=$(make.command)
  483 command.build.*.h=$(make.command)
  484 command.clean.*.c=$(make.command) clean
  485 command.clean.*.h=$(make.command) clean
  486 command.go.*.c=./$(FileName)
  487 # To make the Go command both compile (if needed) and execute, use this setting:
  488 #command.go.needs.*.c=gcc $(ccopts) -std=c99 $(FileNameExt) -o $(FileName)
  489 
  490 command.compile.$(file.patterns.cplusplus)=$(cc)
  491 command.build.$(file.patterns.cplusplus)=$(make.command)
  492 command.clean.$(file.patterns.cplusplus)=$(make.command) clean
  493 command.go.$(file.patterns.cplusplus)=./$(FileName)
  494 command.go.needs.$(file.patterns.cplusplus)=g++ $(ccopts) $(FileNameExt) -o $(FileName)
  495 
  496 command.name.0.$(file.patterns.cpp)=Indent
  497 command.0.$(file.patterns.cpp)=astyle --style=attach --indent=force-tab=8 --keep-one-line-blocks \
  498 --pad-header --unpad-paren --pad-comma --indent-cases --align-pointer=name --pad-method-prefix \
  499 --pad-return-type --pad-param-type --align-method-colon --pad-method-colon=after $(FileNameExt)
  500 command.is.filter.0.$(file.patterns.cpp)=1
  501 
  502 command.name.1.$(file.patterns.cplusplus)=Lint
  503 command.1.$(file.patterns.cplusplus)=g++ -W -Wall -Wshadow -Wwrite-strings -Wold-style-cast \
  504 	-Woverloaded-virtual -pedantic -Os -fno-exceptions -c $(FileNameExt)
  505 
  506 if PLAT_WIN
  507 	command.compile.*.rc=windres $(FileNameExt) $(FileName).o
  508 	command.build.*.rc=$(make.command)
  509 	command.help.$(file.patterns.cpp)=$(CurrentWord)!G:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033\MSDNVS6A.COL
  510 	command.help.subsystem.$(file.patterns.cpp)=4
  511 	command.go.*.js=cscript /nologo $(FileNameExt)
  512 # When maintaining old Win16 programs...
  513 #	command.help.$(file.patterns.cpp)=$(CurrentWord)!I:\msvc\help\win31wh.hlp
  514 #	command.help.subsystem.$(file.patterns.cpp)=5
  515 
  516 if PLAT_GTK
  517 	command.help.$(file.patterns.cpp)=man $(CurrentWord) | col -b
  518 
  519 if PLAT_WIN
  520 	command.build.*.cs=csc /t:winexe $(FileNameExt) /r:system.dll,system.drawing.dll
  521 	command.go.*.cs=$(FileName)
  522 	command.go.subsystem.*.cs=0
  523 if PLAT_GTK
  524 	command.build.*.cs=mcs /t:winexe $(FileNameExt) /r:System,System.Drawing
  525 	command.go.*.cs=mono $(FileName).exe
  526 	command.go.subsystem.*.cs=1
  527 
  528 command.compile.*.java=javac $(FileNameExt)
  529 command.build.*.java=javac *.java
  530 command.go.*.java=java -cp . $(FileName)
  531 
  532 if PLAT_WIN
  533 	command.help.*.java=http://java.sun.com/javase/6/docs/api/java/util/$(CurrentWord).html
  534 	command.help.subsystem.*.java=2
  535 
  536 command.compile.*.ch=ch -n $(FileNameExt)
  537 command.build.*.ch=ch -n  $(FileNameExt)
  538 command.go.*.ch=ch -u $(FileNameExt)
  539 
  540 command.compile.*.as=mtasc -strict $(FileNameExt)
  541 command.build.*.as=mtasc -strict *.as
  542 
  543 command.build.$(file.patterns.vala)=valac $(FileNameExt)
  544 command.go.*.vala=./$(FileName)
  545 
  546 # can also be 6g for 64-bit systems!
  547 command.compile.*.go=8g $(FileNameExt)
  548 command.build.*.go=$(make.command)
  549 command.go.*.go=./$(FileName)
  550 
  551 command.compile.*.ts=tsc $(FileNameExt)