string
|
getName()
Get the name of this Text object. |
source code
|
|
|
|
string
|
getFilename()
Get the filename of the file loaded into this Text object. |
source code
|
|
int
|
getNLines()
Get the number of lines in this Text buffer. |
source code
|
|
|
clear()
Clear this Text object: its buffer becomes empty. |
source code
|
|
|
reset()
Reset the read IO pointer to the start of the buffer. |
source code
|
|
string
|
readline()
Reads a line of text from the buffer from the current IO pointer
position to the end of the line. |
source code
|
|
|
|
|
|
|
|
list of strings
|
asLines(start=0,
end=-1)
Retrieve the contents of this Text buffer as a list of strings
between the start and end lines specified. |
source code
|
|
(int, int)
|
|
|
|
(int, int)
|
|
|
|
|
|
|
showDocs(docs)
Displays a word-wrapped message box containing the specified
documentation when this Text object is visible. |
source code
|
|
bool
|
fakeUser
When set to True, this datablock wont be removed, even if nothing
is using it.
|
|
filename
The filename of the file loaded into this Text.
|
string or None
|
lib
path to the blend file this datablock is stored in (readonly).
|
|
mode
The follow_mode flag: if 1 it is 'on'; if 0, 'off'.
|
string
|
name
unique name within each blend file.
|
|
nlines
The number of lines in this Text.
|
IDGroup
|
properties
Returns an IDGroup reference to this datablocks's ID
Properties.
|
bool
|
tag
A temporary tag that to flag data as being used within a loop.
|
int
|
users
The number of users this datablock has.
|