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

LexPascal.cxx File Reference


Detailed Description

Lexer for Pascal. Written by Laurent le Tynevez Updated by Simon Steele <s.steele@pnotepad.org> September 2002 Updated by Mathias Rauen <scite@madshi.net> May 2003 (Delphi adjustments)

Definition in file LexPascal.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"
#include "StyleContext.h"

Go to the source code of this file.

Functions

static int classifyFoldPointPascal (const char *s)
static int classifyWordPascal (unsigned int start, unsigned int end, WordList *keywordlists[], Accessor &styler, bool bInClass, bool bInAsm)
static void ColourisePascalDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void ColourTo (Accessor &styler, unsigned int end, unsigned int attr, bool bInAsm)
static void FoldPascalDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler)
static void getRange (unsigned int start, unsigned int end, Accessor &styler, char *s, unsigned int len)
static bool IsStreamCommentStyle (int style)

Variables

LexerModule lmPascal (SCLEX_PASCAL, ColourisePascalDoc,"pascal", FoldPascalDoc, pascalWordListDesc)
static const char *const pascalWordListDesc []


Generated by  Doxygen 1.6.0   Back to index