Blender  V2.93
Public Attributes | List of all members
Text Struct Reference

#include <DNA_text_types.h>

Public Attributes

ID id
 
char * filepath
 
void * compiled
 
int flags
 
char _pad0 [4]
 
ListBase lines
 
TextLinecurl
 
TextLinesell
 
int curc
 
int selc
 
double mtime
 

Detailed Description

Definition at line 46 of file DNA_text_types.h.

Member Data Documentation

◆ _pad0

char Text::_pad0[4]

Definition at line 63 of file DNA_text_types.h.

◆ compiled

void* Text::compiled

Python code object for this text (cached result of #Py_CompileStringObject).

Definition at line 60 of file DNA_text_types.h.

Referenced by BPY_text_free_code(), python_script_exec(), text_blend_read_data(), text_blend_write(), text_copy_data(), text_reload_exec(), and txt_make_dirty().

◆ curc

int Text::curc

◆ curl

TextLine* Text::curl

◆ filepath

char* Text::filepath

Optional file path, when NULL text is considered internal. Otherwise this path will be used when saving/reloading.

When set this is where the file will or has been saved.

Definition at line 55 of file DNA_text_types.h.

Referenced by BKE_text_file_modified_check(), BKE_text_file_modified_ignore(), BKE_text_load_ex(), BKE_text_reload(), text_blend_read_data(), text_blend_write(), text_copy_data(), text_free_data(), text_init_data(), text_make_internal_exec(), text_open_invoke(), text_reload_exec(), text_resolve_conflict_poll(), text_save_as_exec(), text_save_as_invoke(), text_save_invoke(), and txt_write_file().

◆ flags

int Text::flags

◆ id

ID Text::id

◆ lines

ListBase Text::lines

◆ mtime

double Text::mtime

◆ selc

int Text::selc

◆ sell

TextLine * Text::sell

The documentation for this struct was generated from the following file: