Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions

LexOthers.cxx File Reference


Detailed Description

Lexers for batch files, diff results, properties files, make files and error lists. Also lexer for LaTeX documents.

Definition in file LexOthers.cxx.

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "Platform.h"
#include "PropSet.h"
#include "Accessor.h"
#include "KeyWords.h"
#include "Scintilla.h"
#include "SciLexer.h"

Go to the source code of this file.

Functions

static bool AtEOL (Accessor &styler, unsigned int i)
static void ColouriseBatchDoc (unsigned int startPos, int length, int, WordList *keywordlists[], Accessor &styler)
static void ColouriseBatchLine (char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, WordList &keywords, Accessor &styler)
static void ColouriseDiffDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static void ColouriseDiffLine (char *lineBuffer, int endLine, Accessor &styler)
static void ColouriseErrorListDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static void ColouriseErrorListLine (char *lineBuffer, unsigned int lengthLine, unsigned int endPos, Accessor &styler)
static void ColouriseLatexDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler)
static void ColouriseMakeDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static void ColouriseMakeLine (char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, Accessor &styler)
static void ColouriseNullDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static void ColourisePropsDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static void ColourisePropsLine (char *lineBuffer, unsigned int lengthLine, unsigned int startLine, unsigned int endPos, Accessor &styler)
static void FoldPropsDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static bool Is0To9 (char ch)
static bool Is1To9 (char ch)
static int isSpecial (char s)
static int isTag (int start, Accessor &styler)
static bool strstart (char *haystack, char *needle)

Variables

static const char *const batchWordListDesc []
static const char *const emptyWordListDesc []
LexerModule lmBatch (SCLEX_BATCH, ColouriseBatchDoc,"batch", 0, batchWordListDesc)
LexerModule lmDiff (SCLEX_DIFF, ColouriseDiffDoc,"diff", 0, emptyWordListDesc)
LexerModule lmErrorList (SCLEX_ERRORLIST, ColouriseErrorListDoc,"errorlist", 0, emptyWordListDesc)
LexerModule lmLatex (SCLEX_LATEX, ColouriseLatexDoc,"latex", 0, emptyWordListDesc)
LexerModule lmMake (SCLEX_MAKEFILE, ColouriseMakeDoc,"makefile", 0, emptyWordListDesc)
LexerModule lmNull (SCLEX_NULL, ColouriseNullDoc,"null")
LexerModule lmProps (SCLEX_PROPERTIES, ColourisePropsDoc,"props", FoldPropsDoc, emptyWordListDesc)


Generated by  Doxygen 1.6.0   Back to index