• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/stc/scintilla/src/

Lines Matching refs:styler

22 inline static void getRange( unsigned int start, unsigned int end, Accessor & styler, char * s, unsigned int len )
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, bool could_fail )
97 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
101 ch = styler.SafeGetCharAt( cur );
104 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
105 styler.StartSegment( cur );
117 styler.ColourTo( cur - 1, SCE_OPAL_COMMENT_BLOCK );
121 ch = styler.SafeGetCharAt( cur );
126 styler.ColourTo( cur, SCE_OPAL_COMMENT_BLOCK );
134 styler.StartSegment( cur );
151 inline bool HandleCommentLine( unsigned int & cur, unsigned int one_too_much, Accessor & styler, bool could_fail )
160 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
164 ch = styler.SafeGetCharAt( cur );
167 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
168 styler.StartSegment( cur );
175 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
179 ch = styler.SafeGetCharAt( cur );
182 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
183 styler.StartSegment( cur );
197 styler.ColourTo( cur - 1, SCE_OPAL_COMMENT_LINE );
201 ch = styler.SafeGetCharAt( cur );
215 styler.ColourTo( cur - 1, SCE_OPAL_COMMENT_LINE );
216 styler.StartSegment( cur );
228 styler.ColourTo( cur - 1, SCE_OPAL_COMMENT_LINE );
229 styler.StartSegment( cur );
236 inline bool HandlePar( unsigned int & cur, Accessor & styler )
238 styler.ColourTo( cur, SCE_OPAL_PAR );
242 styler.StartSegment( cur );
246 inline bool HandleSpace( unsigned int & cur, unsigned int one_too_much, Accessor & styler )
255 styler.ColourTo( cur - 1, SCE_OPAL_SPACE );
259 ch = styler.SafeGetCharAt( cur );
270 styler.ColourTo( cur - 1, SCE_OPAL_SPACE );
271 styler.StartSegment( cur );
277 inline bool HandleInteger( unsigned int & cur, unsigned int one_too_much, Accessor & styler )
286 styler.ColourTo( cur - 1, SCE_OPAL_INTEGER );
290 ch = styler.SafeGetCharAt( cur );
293 styler.ColourTo( cur - 1, SCE_OPAL_INTEGER );
294 styler.StartSegment( cur );
300 inline bool HandleWord( unsigned int & cur, unsigned int one_too_much, Accessor & styler, WordList * keywordlists[] )
308 ch = styler.SafeGetCharAt( cur );
321 getRange( beg, cur, styler, ide, ide_len );
330 styler.ColourTo( cur - 1, SCE_OPAL_KEYWORD );
337 styler.StartSegment( cur );
345 styler.ColourTo( cur - 1, SCE_OPAL_SORT );
352 styler.StartSegment( cur );
360 styler.ColourTo( cur - 1, SCE_OPAL_BOOL_CONST );
367 styler.StartSegment( cur );
375 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
382 styler.StartSegment( cur );
389 inline bool HandleSkip( unsigned int & cur, unsigned int one_too_much, Accessor & styler )
392 styler.ColourTo( cur - 1, SCE_OPAL_DEFAULT );
399 styler.StartSegment( cur );
404 static void ColouriseOpalDoc( unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor & styler )
406 styler.StartAt( startPos );
407 styler.StartSegment( startPos );
420 if( !HandleWord( cur, one_too_much, styler, keywordlists ) ) return;
425 if( !HandleInteger( cur, one_too_much, styler ) ) return;
430 if( !HandleCommentBlock( cur, one_too_much, styler, false ) ) return;
435 if( !HandleCommentLine( cur, one_too_much, styler, false ) ) return;
440 if( !HandleString( cur, one_too_much, styler ) ) return;
446 char ch = styler.SafeGetCharAt( cur );
452 if( !HandleString( cur, one_too_much, styler ) ) return;
457 if( !HandleCommentBlock( cur, one_too_much, styler, true ) ) return;
462 if( !HandleCommentLine( cur, one_too_much, styler, true ) ) return;
472 if( !HandlePar( cur, styler ) ) return;
480 if( !HandleSpace( cur, one_too_much, styler ) ) return;
488 if( !HandleInteger( cur, one_too_much, styler ) ) return;
494 if( !HandleWord( cur, one_too_much, styler, keywordlists ) ) return;
501 if( !HandleSkip( cur, one_too_much, styler ) ) return;