X11workbench Toolkit
1.0
|
Definitions associated with Text Objects. More...
Macros | |
#define | HARD_TAB_CHAR '\xa0' |
#define | DEFAULT_TAB_WIDTH 8 |
#define | AUTO_HSCROLL_SIZE 8 |
#define | MIN_LINE_SPACING 2 |
#define | MIN_BORDER_SPACING 2 |
#define | TEXT_OBJECT_TAG (*((const unsigned int *)"WBTX")) |
The 'tag' for a TEXT_OBJECT structure. | |
Definitions associated with Text Objects.
The definitions associated with Text Objects, including various 'enum' types
#define AUTO_HSCROLL_SIZE 8 |
the number of characters to auto-hscroll by to get the cursor inside the viewport
Definition at line 195 of file text_object.h.
#define DEFAULT_TAB_WIDTH 8 |
the default width for a hard tab in a TEXT_OBJECT
Definition at line 191 of file text_object.h.
#define HARD_TAB_CHAR '\xa0' |
A 'hard tab' is represented internally by this character
Definition at line 187 of file text_object.h.
#define MIN_BORDER_SPACING 2 |
the minimum number of pixels separating the text from the window border (when unspecified)
Definition at line 203 of file text_object.h.
#define MIN_LINE_SPACING 2 |
the minimum number of pixels by which lines are separated (normally will be 'descent / 2')
Definition at line 199 of file text_object.h.
enum e_DragState |
State flags for mouse/cursor 'drag' (i.e. selection)
This is a list of acceptable "drag states", maintained internally. See also begin_mouse_drag(), end_mouse_drag() and the use of the 'shift' modifier with cursor keys via begin_highlight() and end_highlight()
Enumerator | |
---|---|
DragState_NONE | no drag in progress |
DragState_CURSOR | cursor 'drag' (select mode) |
DragState_MOUSE | mouse 'drag' (select mode) |
Definition at line 178 of file text_object.h.
enum e_FileType |
file types for TEXT_OBJECT
A list of supported 'file types' for a Text Object. See also get_filetype(), set_filetype()
Definition at line 110 of file text_object.h.
enum e_InsertMode |
Insert/Overwrite mode for TEXT_OBJECT.
This is a list of acceptable 'insert/overwrite' modes. See also get_insmode(), set_insmode()
Definition at line 165 of file text_object.h.
enum e_LineFeed |
line feed (line ending) types for TEXT_OBJECT
This is a list of acceptable line ending types. See also get_linefeed(), set_linefeed()
Definition at line 136 of file text_object.h.
enum e_SelectMode |
select mode types for TEXT_OBJECT
This is a list of acceptable 'select modes', that determine how multi-line text is selected. See also get_selmode(), set_selmode()
Definition at line 152 of file text_object.h.