Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GDocView.h File Reference

This is the base data and code for all the text controls (inc. HTML). More...

Go to the source code of this file.

Defines

#define TEXTED_WRAP_NONE   0
 No word wrapping.
#define TEXTED_WRAP_REFLOW   1
 Dynamically wrap line to editor width.
#define GTVN_DOC_CHANGED   0x01
 GView::OnNotify flag: the document has changed.
#define GTVN_CURSOR_CHANGED   0x02
 GView::OnNotify flag: the cursor moved.
#define GTVN_CODEPAGE_CHANGED   0x04
 GView::OnNotify flag: the charset has changed.
#define GTVN_FIXED_WIDTH_CHANGED   0x08
 GView::OnNotify flag: the fixed width font setting has changed.
#define GTVN_SHOW_IMGS_CHANGED   0x10
 GView::OnNotify flag: the show images setting has changed.
#define IsWhiteSpace(c)   (c < 256 AND strchr(GDocView::WhiteSpace, c) != 0)
 Returns true if 'c' is whitespace.
#define IsDelimiter(c)   (c < 256 AND strchr(GDocView::Delimiters, c) != 0)
 Returns true if 'c' is a delimiter.
#define IsDigit(c)   ((c) >= '0' AND (c) <= '9')
 Returns true if 'c' is a digit (number).
#define IsAlpha(c)   (((c) >= 'a' AND (c) <= 'z') OR ((c) >= 'A' AND (c) <= 'Z'))
 Returns true if 'c' is letter.
#define IsText(c)   (IsDigit(c) OR IsAlpha(c) OR (c) == '_')
 Returns true if 'c' is a letter or number.
#define IsWordBoundry(c)   (strchr(GDocView::WhiteSpace, c) OR strchr(GDocView::Delimiters, c))
 Returns true if 'c' is word boundry.
#define UrlChar(c)
 Returns true if 'c' is a valid URL character.
#define EmailChar(c)   (strchr("._-:", (c)) OR AlphaOrDigit((c)))
 Returns true if 'c' is email address character.


Detailed Description

This is the base data and code for all the text controls (inc. HTML).

Author:
Matthew Allen (fret@memecode.com)

Generated on Wed Oct 26 14:46:53 2005 for Lgi by  doxygen 1.4.1