geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::CharClassify Class Reference

#include <CharClassify.h>

Public Types

enum  cc { ccSpace , ccNewLine , ccWord , ccPunctuation }

Public Member Functions

 CharClassify ()
void SetDefaultCharClasses (bool includeWordClass)
void SetCharClasses (const unsigned char *chars, cc newCharClass)
int GetCharsOfClass (cc characterClass, unsigned char *buffer) const noexcept
cc GetClass (unsigned char ch) const noexcept
bool IsWord (unsigned char ch) const noexcept

Private Types

enum  { maxChar =256 }

Private Attributes

unsigned char charClass [maxChar]

Detailed Description

Definition at line 13 of file CharClassify.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 25 of file CharClassify.h.

◆ cc


Definition at line 17 of file CharClassify.h.

Constructor & Destructor Documentation

◆ CharClassify()

CharClassify::CharClassify ( )

Definition at line 18 of file CharClassify.cxx.

References SetDefaultCharClasses().

Member Function Documentation

◆ GetCharsOfClass()

int CharClassify::GetCharsOfClass ( cc  characterClass,
unsigned char *  buffer 
) const

Definition at line 46 of file CharClassify.cxx.

References count.

Referenced by Scintilla::Document::GetCharsOfClass().

◆ GetClass()

cc Scintilla::CharClassify::GetClass ( unsigned char  ch) const

Definition at line 21 of file CharClassify.h.

References charClass.

Referenced by Scintilla::Document::WordCharacterClass().

◆ IsWord()

bool Scintilla::CharClassify::IsWord ( unsigned char  ch) const

Definition at line 22 of file CharClassify.h.

References ccWord, and charClass.

Referenced by Scintilla::RESearch::iswordc().

◆ SetCharClasses()

void CharClassify::SetCharClasses ( const unsigned char *  chars,
cc  newCharClass 

Definition at line 36 of file CharClassify.cxx.

References charClass, and chars.

Referenced by Scintilla::Document::SetCharClasses().

◆ SetDefaultCharClasses()

void CharClassify::SetDefaultCharClasses ( bool  includeWordClass)

Member Data Documentation

◆ charClass

unsigned char Scintilla::CharClassify::charClass[maxChar]

Definition at line 26 of file CharClassify.h.

Referenced by GetClass(), IsWord(), SetCharClasses(), and SetDefaultCharClasses().

The documentation for this class was generated from the following files: