SkyGI::Document Class Reference

Collaboration diagram for SkyGI::Document:
[legend]
List of all members.

Public Member Functions

 Document (bool bSingleLine=false)
 ~Document ()
void Dump ()
bool Insert (const Point &cPos, const char *pText, Rect *rUpdateRect=NULL, Point *pNewPos=NULL)
bool Insert (const Point &cPos, unsigned int uiUnicode, Rect *rUpdateRect=NULL, Point *pNewPos=NULL)
StringGetLine (int iLine)
int GetLines ()
int GetMaxLineNumber ()
bool Remove (const Point &cPos, Rect *rUpdateRect=NULL, Point *pNewPos=NULL)
bool Remove (const Point &cTL, const Point &cBR)
bool LinesChanged ()
bool LineChanged ()
bool SeekNext (Point &cPos)
bool SeekPrev (Point &cPos)
DocumentBufferGetBuffer ()
void Clear ()
void Parse (int iFirstLine, int iLastLine, Rect *rUpdateRect=NULL)
GlyphAttributeStringGetStyle (int iLine)
void SetDocumentParser (DocumentParser *pDocumentParser)
DocumentParserGetDocumentParser ()
bool IsDirty ()
void SetDirty (bool bDirty)
bool GetWordAt (const Point &cPoint, Rect &rRect)
bool Find (const String &szString, Point pStartPosition, bool bForward, bool bIgnoreCase, Point &pFoundAt)

Detailed Description

Document

Description:
Implements a multiline, sytax highlighting editor backend which is primary used by TextView. Syntax highlighting is done by the DocumentParser_Syntax classes which are based on DocumentParser


Constructor & Destructor Documentation

Document::Document ( bool  bSingleLine = false  ) 

Document::~Document (  ) 


Member Function Documentation

void Document::Dump (  ) 

bool Document::Insert ( const Point cPos,
const char *  pText,
Rect rUpdateRect = NULL,
Point pNewPos = NULL 
)

bool Document::Insert ( const Point cPos,
unsigned int  uiUnicode,
Rect rUpdateRect = NULL,
Point pNewPos = NULL 
)

String * Document::GetLine ( int  iLine  ) 

int Document::GetLines (  ) 

int Document::GetMaxLineNumber (  ) 

bool Document::Remove ( const Point cPos,
Rect rUpdateRect = NULL,
Point pNewPos = NULL 
)

bool Document::Remove ( const Point cTL,
const Point cBR 
)

bool Document::LinesChanged (  ) 

bool Document::LineChanged (  ) 

bool Document::SeekNext ( Point cPos  ) 

bool Document::SeekPrev ( Point cPos  ) 

DocumentBuffer & Document::GetBuffer (  ) 

void Document::Clear (  ) 

void Document::Parse ( int  iFirstLine,
int  iLastLine,
Rect rUpdateRect = NULL 
)

GlyphAttributeString * Document::GetStyle ( int  iLine  ) 

void Document::SetDocumentParser ( DocumentParser pDocumentParser  ) 

DocumentParser * Document::GetDocumentParser (  ) 

bool SkyGI::Document::IsDirty (  )  [inline]

void SkyGI::Document::SetDirty ( bool  bDirty  )  [inline]

bool Document::GetWordAt ( const Point cPoint,
Rect rRect 
)

bool Document::Find ( const String szString,
Point  pStartPosition,
bool  bForward,
bool  bIgnoreCase,
Point pFoundAt 
)


Generated on Thu Dec 13 18:14:21 2007 for SkyGI by  doxygen 1.5.1-p1