! Syntax highlighting patterns for Pascal ! ! INSTALLATION ! ! Load this pattern by starting nedit with: ! ! nedit -import ! ! 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.highlightPatterns: Pascal:1:0{\n\ TP Directives:"\\{\\$":"\\}"::Comment::\n\ Comment:"\\(\\*|\\{":"\\*\\)|\\}"::Comment::\n\ String:"'":"'":"\\n":String::D\n\ Array delimitors:"\\(\\.|\\.\\)|\\[|\\]":::Character Const::D\n\ Parentheses:"\\(|\\)":::Keyword::D\n\ X Numeric Values:"<([2-9]|[12]\\d|3[0-6])#[\\d\\l]+>":::Text Key::D\n\ TP Numeric Values:"<(#\\d+|\\$[\\da-fA-F]+)>":::Text Key1::D\n\ Numeric Values:"<\\d+(\\.\\d+)?((e|E)(\\+|-)?\\d+)?>":::Numeric Const::D\n\ Reserved Words 1:"<(?iBegin|Const|End|Program|Record|Type|Var)>":::Keyword::D\n\ Reserved Words 2:"<(?iForward|Goto|Label|Of|Packed|With)>":::Identifier::D\n\ X Reserved Words:"<(?iBindable|Export|Implementation|Import|Interface|Module|Only|Otherwise|Protected|Qualified|Restricted|Value)>":::Identifier1::D\n\ TP Reserved Words:"<(?iAbsolute|Assembler|Exit|External|Far|Inline|Interrupt|Near|Private|Unit|Uses)>":::Text Comment::D\n\ Data Types:"<(?iArray|Boolean|Char|File|Integer|Real|Set|Text)>":::Storage Type::D\n\ X Data Types:"<(?iBindingType|Complex|String|TimeStamp)>":::Text Arg1::D\n\ TP Data Types:"<(?iByte|Comp|Double|Extended|LongInt|ShortInt|Single|Word)>":::Text Arg2::D\n\ Predefined Consts:"<(?iFalse|Input|MaxInt|Nil|Output|True)>":::String1::D\n\ X Predefined Consts:"<(?iEpsReal|MaxChar|MaxReal|MinReal|StandardInput|StandardOutput)>":::String2::D\n\ Conditionals:"<(?iCase|Do|DownTo|Else|For|If|Repeat|Then|To|Until|While)>":::Ada Attributes::D\n\ Proc declaration:"<(?iProcedure)>":::Character Const::D\n\ Predefined Proc:"<(?iDispose|Get|New|Pack|Page|Put|Read|ReadLn|Reset|Rewrite|Unpack|Write|WriteLn)>":::Subroutine::D\n\ X Predefined Proc:"<(?iBind|Extend|GetTimeStamp|Halt|ReadStr|SeekRead|SeekUpdate|SeekWrite|Unbind|Update|WriteStr)>":::Subroutine1::D\n\ Func declaration:"<(?iFunction)>":::Identifier::D\n\ Predefined Func:"<(?iAbs|Arctan|Chr|Cos|Eof|Eoln|Exp|Ln|Odd|Ord|Pred|Round|Sin|Sqr|Sqrt|Succ|Trunc)>":::Preprocessor::D\n\ X Predefined Func:"<(?iArg|Binding|Card|Cmplx|Date|Empty|Eq|Ge|Gt|Im|Index|LastPosition|Le|Length|Lt|Ne|Polar|Position|Re|SubStr|Time|Trim)>":::Preprocessor1::D\n\ X Operators:"(\\>\\<|\\*\\*)|<(?iAnd_Then|Or_Else|Pow)>":::Text Arg1::D\n\ Assignment:":=":::Plain::D\n\ Operators:"(\\<|\\>|=|\\^|@)|<(?iAnd|Div|In|Mod|Not|Or)>":::Text Arg::D\n\ TP Operators:"<(?iShl|Shr|Xor)>":::Text Arg2::D\n\ } nedit.languageModes: Pascal:.pas .p .int:::::: ! generated with ./extract_lang.pl version 0.1