/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/stc/scintilla/src/ |
H A D | LexOpal.cxx | 22 inline static void getRange( unsigned int start, unsigned int end, Accessor & styler, char * s, unsigned int len ) argument 27 s[i] = static_cast<char>( styler[ start + i ] ); 33 inline bool HandleString( unsigned int & cur, unsigned int one_too_much, Accessor & styler ) 44 styler.ColourTo( cur - 1, SCE_OPAL_STRING ); 48 ch = styler.SafeGetCharAt( cur ); 51 styler.ColourTo( cur - 1, SCE_OPAL_STRING ); 52 styler.StartSegment( cur ); 61 styler.ColourTo( cur, SCE_OPAL_STRING ); 69 styler.StartSegment( cur ); 88 inline bool HandleCommentBlock( unsigned int & cur, unsigned int one_too_much, Accessor & styler, boo argument 151 HandleCommentLine( unsigned int & cur, unsigned int one_too_much, Accessor & styler, bool could_fail ) argument 300 HandleWord( unsigned int & cur, unsigned int one_too_much, Accessor & styler, WordList * keywordlists[] ) argument [all...] |
H A D | LexCrontab.cxx | 25 *keywordLists[], Accessor &styler) 28 char chNext = styler[startPos]; 43 styler.StartAt(startPos); 44 styler.StartSegment(startPos); 47 chNext = styler.SafeGetCharAt(i + 1); 49 if (styler.IsLeadByte(ch)) { 50 chNext = styler.SafeGetCharAt(i + 2); 58 styler.ColourTo(i,SCE_NNCRONTAB_DEFAULT); 60 } else if( ch == '#' && styler.SafeGetCharAt(i+1) == '(') { 63 styler 24 ColouriseNncrontabDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) argument [all...] |
H A D | LexYAML.cxx | 28 static inline bool AtEOL(Accessor &styler, unsigned int i) { argument 29 return (styler[i] == '\n') || 30 ((styler[i] == '\r') && (styler.SafeGetCharAt(i + 1) != '\n')); 60 Accessor &styler) { 67 int parentLineState = styler.GetLineState(currentLine - 1); 72 styler.SetLineState(currentLine, YAML_STATE_TEXT | parentIndentAmount); 73 styler.ColourTo(endPos, SCE_YAML_TEXT); 78 styler.SetLineState(currentLine, 0); 80 styler 53 ColouriseYAMLLine( char *lineBuffer, unsigned int currentLine, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, WordList &keywords, Accessor &styler) argument 159 ColouriseYAMLDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) argument 185 IsCommentLine(int line, Accessor &styler) argument 192 FoldYAMLDoc(unsigned int startPos, int length, int , WordList *[], Accessor &styler) argument [all...] |
H A D | StyleContext.cxx | 21 Accessor &styler, 26 s[i] = styler[start + i]; 33 getRange(styler.GetStartSegment(), currentPos - 1, styler, s, len); 38 Accessor &styler, 43 s[i] = static_cast<char>(tolower(styler[start + i])); 50 getRangeLowered(styler.GetStartSegment(), currentPos - 1, styler, s, len); 19 getRange(unsigned int start, unsigned int end, Accessor &styler, char *s, unsigned int len) argument 36 getRangeLowered(unsigned int start, unsigned int end, Accessor &styler, char *s, unsigned int len) argument
|
H A D | LexBullant.cxx | 19 static int classifyWordBullant(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { argument 22 s[i] = static_cast<char>(tolower(styler[start + i])); 49 styler.ColourTo(end, chAttr); 54 Accessor &styler) { 57 styler.StartAt(startPos); 59 bool fold = styler.GetPropertyInt("fold") != 0; 60 int lineCurrent = styler.GetLine(startPos); 61 int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK; 68 char chNext = styler[startPos]; 71 styler 53 ColouriseBullantDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument [all...] |
H A D | LexRuby.cxx | 64 static bool followsDot(unsigned int pos, Accessor &styler) { argument 65 styler.Flush(); 67 int style = actual_style(styler.StyleAt(pos)); 71 ch = styler[pos]; 80 return styler[pos] == '.'; 92 Accessor &styler); 95 Accessor &styler); 97 static int ClassifyWordRb(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord) { argument 105 s[j] = styler[i]; 115 else if (keywords.InList(s) && !followsDot(start - 1, styler)) { 145 isMatch(Accessor &styler, int lengthDoc, int pos, const char *val) argument 162 lookingAtHereDocDelim(Accessor &styler, int pos, int lengthDoc, const char *HereDocDelim) argument 212 currLineContainsHereDelims(int& startPos, Accessor &styler) argument 242 isEmptyLine(int pos, Accessor &styler) argument 274 skipWhitespace(int startPos, int endPos, Accessor &styler) argument 291 sureThisIsHeredoc(int iPrev, Accessor &styler, char *prevWord) argument 342 haveTargetMatch(int currPos, int lengthDoc, int targetStartPos, int targetEndPos, Accessor &styler) argument 375 sureThisIsNotHeredoc(int lt2StartPos, Accessor &styler) argument 527 synchronizeDocStart(unsigned int& startPos, int &length, int &initStyle, Accessor &styler, bool skipWhiteSpace=false) argument 577 ColouriseRbDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 1222 getPrevWord(int pos, char *prevWord, Accessor &styler, int word_state) argument 1263 keywordIsModifier(const char *word, int pos, Accessor &styler) argument 1339 keywordDoStartsLoop(int pos, Accessor &styler) argument 1444 FoldRbDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument [all...] |
H A D | LexMPT.cxx | 72 static void ColourizeLotDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) { argument 73 styler.StartAt(startPos); 74 styler.StartSegment(startPos); 76 char chNext = styler.SafeGetCharAt(startPos); 84 chNext = styler.SafeGetCharAt(i + 1); 93 chNext = styler.SafeGetCharAt(i + 1); // Gets character of next line 94 styler.ColourTo(i, GetLotLineState(line)); 102 styler.ColourTo(i - 1, GetLotLineState(line)); 110 static void FoldLotDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) { argument 111 bool foldCompact = styler [all...] |
H A D | LexVerilog.cxx | 33 Accessor &styler) { 44 StyleContext sc(startPos, length, initStyle, styler); 153 Accessor &styler) { 154 bool foldComment = styler.GetPropertyInt("fold.comment") != 0; 155 bool foldPreprocessor = styler.GetPropertyInt("fold.preprocessor") != 0; 156 bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0; 157 bool foldAtElse = styler.GetPropertyInt("fold.at.else", 0) != 0; 164 bool foldAtModule = styler.GetPropertyInt("fold.verilog.flags", 0) != 0; 170 int lineCurrent = styler.GetLine(startPos); 173 levelCurrent = styler 32 ColouriseVerilogDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 152 FoldNoBoxVerilogDoc(unsigned int startPos, int length, int initStyle, Accessor &styler) argument 284 FoldVerilogDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument [all...] |
H A D | LexConf.cxx | 26 static void ColouriseConfDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) argument 29 char chNext = styler[startPos]; 41 styler.StartAt(startPos); 42 styler.StartSegment(startPos); 45 chNext = styler.SafeGetCharAt(i + 1); 47 if (styler.IsLeadByte(ch)) { 48 chNext = styler.SafeGetCharAt(i + 2); 56 styler.ColourTo(i,SCE_CONF_DEFAULT); 61 styler.ColourTo(i,SCE_CONF_COMMENT); 65 styler [all...] |
H A D | LexPascal.cxx | 26 Accessor &styler, 31 s[i] = static_cast<char>(tolower(styler[start + i])); 44 static void ColourTo(Accessor &styler, unsigned int end, unsigned int attr, bool bInAsm) { argument 46 styler.ColourTo(end, SCE_C_REGEX); 48 styler.ColourTo(end, attr); 52 static int classifyWordPascal(unsigned int start, unsigned int end, /*WordList &keywords*/WordList *keywordlists[], Accessor &styler, bool bInClass, bool bInAsm) { argument 59 getRange(start, end, styler, s, sizeof(s)); 89 ColourTo(styler, end, chAttr, (bInAsm && ret != -1)); 111 Accessor &styler) { 113 styler 24 getRange(unsigned int start, unsigned int end, Accessor &styler, char *s, unsigned int len) argument 110 ColourisePascalDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 268 FoldPascalDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument [all...] |
H A D | LexScriptol.cxx | 20 static void ClassifyWordSol(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord) argument 23 bool wordIsNumber = isdigit(styler[start]) != 0; 26 s[i] = styler[start + i]; 35 if (styler[start + i] == '.') 37 styler.ColourTo(start + i - 1, chAttr); 38 styler.ColourTo(start + i, SCE_SCRIPTOL_OPERATOR); 41 styler.ColourTo(end, chAttr); 45 static bool IsSolComment(Accessor &styler, int pos, int len) argument 50 c = styler[pos]; 56 c = styler[po 77 GetSolStringState(Accessor &styler, int i, int *nextIndex) argument 105 ColouriseSolDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 343 FoldSolDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument [all...] |
H A D | LexOthers.cxx | 31 static inline bool AtEOL(Accessor &styler, unsigned int i) { argument 32 return (styler[i] == '\n') || 33 ((styler[i] == '\r') && (styler.SafeGetCharAt(i + 1) != '\n')); 54 Accessor &styler) { 81 styler.ColourTo(startLine + offset - 1, SCE_BAT_DEFAULT); 89 styler.ColourTo(endPos, SCE_BAT_COMMENT); 92 styler.ColourTo(endPos, SCE_BAT_LABEL); 102 styler.ColourTo(endPos, SCE_BAT_WORD); 108 styler 48 ColouriseBatchLine( char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, WordList *keywordlists[], Accessor &styler) argument 452 ColouriseBatchDoc( unsigned int startPos, int length, int , WordList *keywordlists[], Accessor &styler) argument 481 ColouriseDiffLine(char *lineBuffer, int endLine, Accessor &styler) argument 530 ColouriseDiffDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 549 FoldDiffDoc(unsigned int startPos, int length, int, WordList*[], Accessor &styler) argument 580 ColourisePropsLine( char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, Accessor &styler) argument 617 ColourisePropsDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 640 FoldPropsDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 712 ColouriseMakeLine( char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, Accessor &styler) argument 774 ColouriseMakeDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 986 ColouriseErrorListLine( char *lineBuffer, unsigned int lengthLine, unsigned int endPos, Accessor &styler) argument 994 ColouriseErrorListDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 1018 isTag(int start, Accessor &styler) argument 1030 ColouriseLatexDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument 1124 ColouriseNullDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexForth.cxx | 108 static void ColouriseForthDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) argument 110 st=&styler; 128 styler.StartAt(startPos); 129 styler.StartSegment(startPos); 132 styler.ColourTo(pos0,SCE_FORTH_DEFAULT); 133 styler.ColourTo(pos1-1,SCE_FORTH_DEFAULT); 136 styler.ColourTo(pos1,SCE_FORTH_COMMENT); 138 styler.ColourTo(pos2,SCE_FORTH_COMMENT); 140 styler.ColourTo(pos1,SCE_FORTH_COMMENT); 143 styler [all...] |
H A D | LexBash.cxx | 69 static int classifyWordBash(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { argument 72 s[i] = styler[start + i]; 78 styler.ColourTo(end, chAttr); 82 static inline int getBashNumberBase(unsigned int start, unsigned int end, Accessor &styler) { argument 85 base = base * 10 + (styler[start + i] - '0'); 101 static bool isMatch(Accessor &styler, int lengthDoc, int pos, const char *val) { argument 106 if (*val != styler[pos++]) { 127 WordList *keywordlists[], Accessor &styler) { 191 while ((startPos > 1) && (styler.StyleAt(startPos) != SCE_SH_HERE_DELIM)) { 194 startPos = styler 126 ColouriseBashDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 590 IsCommentLine(int line, Accessor &styler) argument 603 FoldBashDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexFlagship.cxx | 25 static bool IsFlagShipComment(Accessor &styler, int pos, int len) { argument 26 return len>0 && styler[pos]=='\''; 51 WordList *keywordlists[], Accessor &styler) { 59 styler.StartAt(startPos); 63 StyleContext sc(startPos, length, initStyle, styler); 172 WordList *[], Accessor &styler) { 177 int lineCurrent = styler.GetLine(startPos); 181 startPos = styler.LineStart(lineCurrent); 185 int indentCurrent = styler.IndentAmount(lineCurrent, &spaceFlags, IsFlagShipComment); 186 char chNext = styler[startPo 50 ColouriseFlagShipDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 171 FoldFlagShipDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexVB.cxx | 27 static bool IsVBComment(Accessor &styler, int pos, int len) { argument 28 return len > 0 && styler[pos] == '\''; 55 WordList *keywordlists[], Accessor &styler, bool vbScriptSyntax) { 62 styler.StartAt(startPos); 72 StyleContext sc(startPos, length, initStyle, styler); 209 WordList *[], Accessor &styler) { 213 int lineCurrent = styler.GetLine(startPos); 217 startPos = styler.LineStart(lineCurrent); 221 int indentCurrent = styler.IndentAmount(lineCurrent, &spaceFlags, IsVBComment); 222 char chNext = styler[startPo 54 ColouriseVBDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler, bool vbScriptSyntax) argument 208 FoldVBDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument 250 ColouriseVBNetDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 255 ColouriseVBScriptDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument [all...] |
H A D | LexPerl.cxx | 62 static bool isPerlKeyword(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { argument 66 for (i = 0; i < len; i++, start++) s[i] = styler[start]; 90 static bool isMatch(Accessor &styler, int lengthDoc, int pos, const char *val) { argument 95 if (*val != styler[pos++]) { 116 WordList *keywordlists[], Accessor &styler) { 182 while ((startPos > 1) && (styler.StyleAt(startPos) != SCE_PL_HERE_DELIM)) { 185 startPos = styler.LineStart(styler.GetLine(startPos)); 186 state = styler.StyleAt(startPos - 1); 202 while ((startPos > 1) && (styler 115 ColourisePerlDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 1103 IsCommentLine(int line, Accessor &styler) argument 1117 FoldPerlDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexHTML.cxx | 45 static void GetTextSegment(Accessor &styler, unsigned int start, unsigned int end, char *s, size_t len) { argument 48 s[i] = static_cast<char>(MakeLowerCase(styler[start + i])); 53 static script_type segIsScriptingIndicator(Accessor &styler, unsigned int start, unsigned int end, script_type prevValue) { argument 55 GetTextSegment(styler, start, end, s, sizeof(s)); 75 static int PrintScriptingIndicatorOffset(Accessor &styler, unsigned int start, unsigned int end) { argument 78 GetTextSegment(styler, start, end, s, sizeof(s)); 136 static inline bool IsNumber(unsigned int start, Accessor &styler) { argument 137 return IsADigit(styler[start]) || (styler[start] == '.') || 138 (styler[star 206 classifyAttribHTML(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) argument 223 classifyTagHTML(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, bool &tagDontFold, bool caseSensitive) argument 270 classifyWordHTJS(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, script_mode inScriptType) argument 289 classifyWordHTVB(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, script_mode inScriptType) argument 310 classifyWordHTPy(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord, script_mode inScriptType) argument 333 classifyWordHTPHP(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) argument 347 isWordHSGML(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) argument 357 isWordCdata(unsigned int start, unsigned int end, Accessor &styler) argument 444 FindPhpStringDelimiter(char *phpStringDelimiter, const int phpStringDelimiterSize, int i, const int lengthDoc, Accessor &styler) argument 459 ColouriseHyperTextDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 1909 ColouriseASPDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 2001 ColourisePHPDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 2011 ColourisePHPScriptDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument [all...] |
H A D | StyleContext.h | 13 Accessor &styler; member in class:StyleContext 19 chNext = static_cast<unsigned char>(styler.SafeGetCharAt(pos+1)); 20 if (styler.IsLeadByte(static_cast<char>(chNext))) { 22 chNext |= static_cast<unsigned char>(styler.SafeGetCharAt(pos+2)); 43 styler(styler_), 52 styler.StartAt(startPos, chMask); 53 styler.StartSegment(startPos); 55 ch = static_cast<unsigned char>(styler.SafeGetCharAt(pos)); 56 if (styler.IsLeadByte(static_cast<char>(ch))) { 59 ch |= static_cast<unsigned char>(styler [all...] |
H A D | LexMSSQL.cxx | 46 Accessor &styler, 50 bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.'); 61 s[i] = static_cast<char>(tolower(styler[start + i])); 104 styler.ColourTo(end, chAttr); 110 int initStyle, WordList *keywordlists[], Accessor &styler) { 113 styler.StartAt(startPos); 115 bool fold = styler.GetPropertyInt("fold") != 0; 116 int lineCurrent = styler.GetLine(startPos); 122 char chNext = styler[startPo 43 classifyWordSQL(unsigned int start, unsigned int end, WordList *keywordlists[], Accessor &styler, unsigned int actualState, unsigned int prevState) argument 109 ColouriseMSSQLDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 285 FoldMSSQLDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexNsis.cxx | 63 static bool NsisNextLineHasElse(unsigned int start, unsigned int end, Accessor &styler) argument 68 char cNext = styler.SafeGetCharAt( i ); 81 char cNext = styler.SafeGetCharAt( firstChar ); 88 if( styler.Match(firstChar, "!else") ) 105 static int calculateFoldNsis(unsigned int start, unsigned int end, int foldlevel, Accessor &styler, bool bElse, bool foldUtilityCmd ) argument 107 int style = styler.StyleAt(end); 132 if( styler.GetPropertyInt("nsis.ignorecase") == 1 ) 138 s[i] = static_cast<char>( styler[ start + i ] ); 162 static int classifyWordNsis(unsigned int start, unsigned int end, WordList *keywordLists[], Accessor &styler ) 165 if( styler 268 ColouriseNsisDoc(unsigned int startPos, int length, int, WordList *keywordLists[], Accessor &styler) argument 540 FoldNsisDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexPython.cxx | 25 static bool IsPyComment(Accessor &styler, int pos, int len) { argument 26 return len > 0 && styler[pos] == '#'; 45 static int GetPyStringState(Accessor &styler, int i, unsigned int *nextIndex) { argument 46 char ch = styler.SafeGetCharAt(i); 47 char chNext = styler.SafeGetCharAt(i + 1); 52 ch = styler.SafeGetCharAt(i); 53 chNext = styler.SafeGetCharAt(i + 1); 59 ch = styler.SafeGetCharAt(i); 60 chNext = styler.SafeGetCharAt(i + 1); 68 if (ch == chNext && ch == styler 93 ColourisePyDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 288 IsCommentLine(int line, Accessor &styler) argument 301 IsQuoteLine(int line, Accessor &styler) argument 307 FoldPyDoc(unsigned int startPos, int length, int , WordList *[], Accessor &styler) argument [all...] |
H A D | LexGui4Cli.cxx | 65 #define isFoldPoint(x) ((styler.LevelAt(x) & SC_FOLDLEVELNUMBERMASK) == 1024) 67 static void colorFirstWord(WordList *keywordlists[], Accessor &styler, argument 74 styler.ColourTo(sc->currentPos - 1, sc->state); 97 // int level = styler.LevelAt(line) & SC_FOLDLEVELNUMBERMASK; 108 styler.ColourTo(sc->currentPos - 1, sc->state); 113 styler.ColourTo(sc->currentPos - 1, sc->state); 120 WordList *keywordlists[], Accessor &styler) 122 styler.StartAt(startPos); 124 int quotestart = 0, oldstate, currentline = styler.GetLine(startPos); 125 styler 119 ColouriseGui4CliDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 243 FoldGui4Cli(unsigned int startPos, int length, int, WordList *[], Accessor &styler) argument [all...] |
H A D | LexMetapost.cxx | 56 static inline bool endOfLine(Accessor &styler, unsigned int i) { argument 58 (styler[i] == '\n') || ((styler[i] == '\r') && (styler.SafeGetCharAt(i + 1) != '\n')) ; 115 Accessor &styler, 123 if (styler.SafeGetCharAt(0) == '%') { 125 lineBuffer[linePos++] = styler.SafeGetCharAt(i) ; 126 if (endOfLine(styler, i) || (linePos >= sizeof(lineBuffer) - 1)) { 134 } else if (styler.SafeGetCharAt(1) == 'D' && strstr(lineBuffer, "%D \\module")) { 152 Accessor &styler) { 112 CheckMETAPOSTInterface( unsigned int startPos, int length, Accessor &styler, int defaultInterface) argument 147 ColouriseMETAPOSTDoc( unsigned int startPos, int length, int, WordList *keywordlists[], Accessor &styler) argument [all...] |
H A D | LexPOV.cxx | 53 Accessor &styler) { 64 int currentLine = styler.GetLine(startPos); 68 blockCommentLevel = styler.GetLineState(currentLine - 1); 78 StyleContext sc(startPos, length, initStyle, styler); 83 currentLine = styler.GetLine(sc.currentPos); 86 styler.SetLineState(currentLine, blockCommentLevel); 89 styler.SetLineState(currentLine, 0); 226 Accessor &styler) { 228 bool foldComment = styler.GetPropertyInt("fold.comment") != 0; 229 bool foldDirective = styler 48 ColourisePovDoc( unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) argument 221 FoldPovDoc( unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) argument [all...] |