Wx-Scintilla

 view release on metacpan or  search on metacpan

wx-scintilla/src/scintilla/src/LexTeX.cxx  view on Meta::CPAN

347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
                        strcmp(s,"section")==0||
                        strcmp(s,"subsection")==0||
                        strcmp(s,"subsubsection")==0||
                        strcmp(s,"CJKfamily")==0||
                        strcmp(s,"appendix")==0||
                        strcmp(s,"Topic")==0||strcmp(s,"topic")==0||
                        strcmp(s,"subject")==0||strcmp(s,"subsubject")==0||
                        strcmp(s,"def")==0||strcmp(s,"gdef")==0||strcmp(s,"edef")==0||
                        strcmp(s,"xdef")==0||strcmp(s,"framed")==0||
                        strcmp(s,"frame")==0||
                        strcmp(s,"foilhead")==0||strcmp(s,"overlays")==0||strcmp(s,"slide")==0
                        ){
                            lev=1;
                        }
        }
        return lev;
}
 
static bool IsTeXCommentLine(int line, Accessor &styler) {
        int pos = styler.LineStart(line);
        int eol_pos = styler.LineStart(line + 1) - 1;



( run in 0.254 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )