NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
#include "WordList.h"
#include "LexAccessor.h"
#include "Accessor.h"
#include "StyleContext.h"
#include "CharacterSet.h"
#include "LexerModule.h"
Go to the source code of this file.
Functions | |
static bool | IsMatlabCommentChar (int c) |
static bool | IsOctaveCommentChar (int c) |
static bool | IsMatlabComment (Accessor &styler, int pos, int len) |
static bool | IsOctaveComment (Accessor &styler, int pos, int len) |
static bool | IsAWordChar (const int ch) |
static bool | IsAWordStart (const int ch) |
static int | GetParenthesesCount (unsigned int startPos, Accessor &styler) |
static void | ColouriseMatlabOctaveDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler, bool(*IsCommentChar)(int)) |
static void | ColouriseMatlabDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) |
static void | ColouriseOctaveDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) |
static void | FoldMatlabOctaveDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler, bool(*IsComment)(Accessor &, int, int)) |
static void | FoldMatlabDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) |
static void | FoldOctaveDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler) |
LexerModule | lmMatlab (SCLEX_MATLAB, ColouriseMatlabDoc, "matlab", FoldMatlabDoc, matlabWordListDesc) |
LexerModule | lmOctave (SCLEX_OCTAVE, ColouriseOctaveDoc, "octave", FoldOctaveDoc, octaveWordListDesc) |
Variables | |
static const char *const | matlabWordListDesc [] |
static const char *const | octaveWordListDesc [] |
Lexer for Matlab. Written by José Fonseca
Changes by Christoph Dalitz 2003/12/04:
Definition in file LexMatlab.cxx.
|
static |
Definition at line 201 of file LexMatlab.cxx.
References ColouriseMatlabOctaveDoc(), and IsMatlabCommentChar().
|
static |
Definition at line 79 of file LexMatlab.cxx.
References GetParenthesesCount(), SCE_MATLAB_COMMAND, SCE_MATLAB_COMMENT, SCE_MATLAB_DEFAULT, SCE_MATLAB_DOUBLEQUOTESTRING, SCE_MATLAB_FUNCTIONS, SCE_MATLAB_IDENTIFIER, SCE_MATLAB_KEYWORD, SCE_MATLAB_NUMBER, SCE_MATLAB_OPERATOR, and SCE_MATLAB_STRING.
Referenced by ColouriseMatlabDoc(), and ColouriseOctaveDoc().
|
static |
Definition at line 206 of file LexMatlab.cxx.
References ColouriseMatlabOctaveDoc(), and IsOctaveCommentChar().
|
static |
Definition at line 367 of file LexMatlab.cxx.
References FoldMatlabOctaveDoc(), and IsMatlabComment().
|
static |
Definition at line 211 of file LexMatlab.cxx.
References SCE_MATLAB_KEYWORD, and SCE_MATLAB_OPERATOR.
Referenced by FoldMatlabDoc(), and FoldOctaveDoc().
|
static |
Definition at line 372 of file LexMatlab.cxx.
References FoldMatlabOctaveDoc(), and IsOctaveComment().
|
static |
Definition at line 62 of file LexMatlab.cxx.
References SCE_MATLAB_DEFAULT, and SCE_MATLAB_OPERATOR.
Referenced by ColouriseMatlabOctaveDoc().
|
inlinestatic |
Definition at line 51 of file LexMatlab.cxx.
|
inlinestatic |
Definition at line 55 of file LexMatlab.cxx.
|
static |
Definition at line 43 of file LexMatlab.cxx.
References IsMatlabCommentChar().
Referenced by FoldMatlabDoc().
|
static |
Definition at line 35 of file LexMatlab.cxx.
Referenced by ColouriseMatlabDoc(), and IsMatlabComment().
|
static |
Definition at line 47 of file LexMatlab.cxx.
References IsOctaveCommentChar().
Referenced by FoldOctaveDoc().
|
static |
Definition at line 39 of file LexMatlab.cxx.
Referenced by ColouriseOctaveDoc(), and IsOctaveComment().
LexerModule lmMatlab | ( | SCLEX_MATLAB | , |
ColouriseMatlabDoc | , | ||
"matlab" | , | ||
FoldMatlabDoc | , | ||
matlabWordListDesc | |||
) |
Referenced by Scintilla_LinkLexers().
LexerModule lmOctave | ( | SCLEX_OCTAVE | , |
ColouriseOctaveDoc | , | ||
"octave" | , | ||
FoldOctaveDoc | , | ||
octaveWordListDesc | |||
) |
Referenced by Scintilla_LinkLexers().
|
static |
Definition at line 378 of file LexMatlab.cxx.
|
static |
Definition at line 383 of file LexMatlab.cxx.