|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | TextLine |
| struct | Text |
Macros | |
| #define | TXT_TABSIZE 4 |
Typedefs | |
| typedef struct TextLine | TextLine |
| typedef struct Text | Text |
Enumerations | |
| enum | { TXT_ISDIRTY = 1 << 0 , TXT_ISMEM = 1 << 2 , TXT_ISEXT = 1 << 3 , TXT_ISSCRIPT = 1 << 4 , TXT_FLAG_UNUSED_8 = 1 << 8 , TXT_FLAG_UNUSED_9 = 1 << 9 , TXT_TABSTOSPACES = 1 << 10 } |
Text blocks used for Python-Scripts, OpenShadingLanguage and arbitrary text data to store in blend files.
Definition in file DNA_text_types.h.
| #define TXT_TABSIZE 4 |
Definition at line 52 of file DNA_text_types.h.
Referenced by text_convert_whitespace_exec(), text_paste_exec(), txt_calc_tab_left(), txt_calc_tab_right(), txt_convert_tab_to_spaces(), txt_move_down(), txt_move_up(), and txt_wrap_move_bol().
| typedef struct Text Text |
| typedef struct TextLine TextLine |
| anonymous enum |
| Enumerator | |
|---|---|
| TXT_ISDIRTY | Set if the file in run-time differs from the file on disk, or if there is no file on disk. |
| TXT_ISMEM | When the text hasn't been written to a file. Text.filepath may be NULL or invalid. |
| TXT_ISEXT | Should always be set if the Text is not to be written into the |
| TXT_ISSCRIPT | Load the script as a Python module when loading the |
| TXT_FLAG_UNUSED_8 | |
| TXT_FLAG_UNUSED_9 | |
| TXT_TABSTOSPACES | Use space instead of tabs. |
Definition at line 55 of file DNA_text_types.h.