Blender V4.3
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 26 of file DNA_text_types.h.

Member Data Documentation

◆ _pad0

char Text::_pad0[4]

Definition at line 43 of file DNA_text_types.h.

◆ compiled

void* Text::compiled

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

Definition at line 40 of file DNA_text_types.h.

Referenced by text_copy_data().

◆ curc

◆ 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 35 of file DNA_text_types.h.

Referenced by BKE_text_load_ex(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), and text_copy_data().

◆ flags

int Text::flags

Definition at line 42 of file DNA_text_types.h.

Referenced by BKE_text_load_ex(), text_blend_write(), and text_copy_data().

◆ id

◆ lines

◆ mtime

double Text::mtime

Definition at line 49 of file DNA_text_types.h.

Referenced by BKE_text_load_ex().

◆ selc

int Text::selc

Definition at line 47 of file DNA_text_types.h.

Referenced by text_copy_data(), text_insert_invoke(), and text_selection_set_invoke().

◆ sell


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