Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_text_types.h
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | typedef struct Text { | ||||
| ListBase lines; | ListBase lines; | ||||
| TextLine *curl, *sell; | TextLine *curl, *sell; | ||||
| int curc, selc; | int curc, selc; | ||||
| double mtime; | double mtime; | ||||
| } Text; | } Text; | ||||
| #define TXT_TABSIZE 4 | #define TXT_TABSIZE 4 | ||||
| #define TXT_INIT_UNDO 1024 | |||||
| #define TXT_MAX_UNDO (TXT_INIT_UNDO * TXT_INIT_UNDO) | |||||
| /* text flags */ | /* text flags */ | ||||
| enum { | enum { | ||||
| TXT_ISDIRTY = 1 << 0, | TXT_ISDIRTY = 1 << 0, | ||||
| TXT_ISMEM = 1 << 2, | TXT_ISMEM = 1 << 2, | ||||
| TXT_ISEXT = 1 << 3, | TXT_ISEXT = 1 << 3, | ||||
| /** Used by space handler scriptlinks. */ | /** Used by space handler scriptlinks. */ | ||||
| TXT_ISSCRIPT = 1 << 4, | TXT_ISSCRIPT = 1 << 4, | ||||
| Show All 9 Lines | |||||