#include "GVariant.h"
Go to the source code of this file.
Classes | |
| class | GDocumentEnv |
| An environment class to handle requests from the text view to the outside world. More... | |
| class | GDefaultDocumentEnv |
| class | GDocFindReplaceParams |
| Find params. More... | |
| class | GDocView |
| TextView class is a base for all text controls. More... | |
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 | IsAlpha(c) (((c) >= 'a' AND (c) <= 'z') OR ((c) >= 'A' AND (c) <= 'Z')) |
| Returns true if 'c' is an ascii character. | |
| #define | IsWhiteSpace(c) ((c) < 126 AND strchr(GDocView::WhiteSpace, c) != 0) |
| Returns true if 'c' is whitespace. | |
| #define | IsDelimiter(c) ((c) < 126 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 | IsLetter(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. | |
1.5.7.1