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

LexFortran.cxx File Reference


Detailed Description

Lexer for Fortran. Writen by Chuan-jian Shen, Last changed Nov. 2002

Definition in file LexFortran.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 "StyleContext.h"
#include "KeyWords.h"
#include "Scintilla.h"
#include "SciLexer.h"

Go to the source code of this file.

Functions

static int classifyFoldPointFortran (const char *s, const char *prevWord)
static void ColouriseFortranDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler, bool isFixFormat)
static void ColouriseFortranDocFixFormat (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void ColouriseFortranDocFreeFormat (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void FoldFortranDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler)
bool IsABlank (unsigned int ch)
static bool IsAWordChar (const int ch)
static bool IsAWordStart (const int ch)

Variables

static const char *const FortranWordLists []
LexerModule lmF77 (SCLEX_F77, ColouriseFortranDocFixFormat,"f77", FoldFortranDoc, FortranWordLists)
LexerModule lmFortran (SCLEX_FORTRAN, ColouriseFortranDocFreeFormat,"fortran", FoldFortranDoc, FortranWordLists)


Generated by  Doxygen 1.6.0   Back to index