Show a list of used text in the open document
Convert selected text to comment
Convert whitespaces by type
| Parameters: | type (enum in [‘SPACES’, ‘TABS’], (optional)) – Type, Type of whitespace to convert to |
|---|
Copy selected text to clipboard
Set cursor position
| Parameters: |
|
|---|
Cut selected text to clipboard
Delete text by cursor position
| Parameters: | type (enum in [‘NEXT_CHARACTER’, ‘PREVIOUS_CHARACTER’, ‘NEXT_WORD’, ‘PREVIOUS_WORD’], (optional)) – Type, Which part of the text to delete |
|---|
Duplicate the current line
Find specified text
Find specified text and set as selected
Indent selected text
Insert text at cursor position
| Parameters: | text (string, (optional, never None)) – Text, Text to insert at the cursor position |
|---|
Jump cursor to line
| Parameters: | line (int in [1, inf], (optional)) – Line, Line number to jump to |
|---|
Insert line break at cursor position
The current line number
Make active text file internal
Move cursor to position type
| Parameters: | type (enum in [‘LINE_BEGIN’, ‘LINE_END’, ‘FILE_TOP’, ‘FILE_BOTTOM’, ‘PREVIOUS_CHARACTER’, ‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PREVIOUS_LINE’, ‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type, Where to move cursor to |
|---|
Move the currently selected line(s) up/down
| Parameters: | direction (enum in [‘UP’, ‘DOWN’], (optional)) – Direction |
|---|
Move the cursor while selecting
| Parameters: | type (enum in [‘LINE_BEGIN’, ‘LINE_END’, ‘FILE_TOP’, ‘FILE_BOTTOM’, ‘PREVIOUS_CHARACTER’, ‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PREVIOUS_LINE’, ‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type, Where to move cursor to, to make a selection |
|---|
Create a new text data block
Open a new text data block
| Parameters: |
|
|---|
Toggle overwrite while typing
Paste text from clipboard
| Parameters: | selection (boolean, (optional)) – Selection, Paste text selected elsewhere rather than copied (X11 only) |
|---|
Toggle text properties panel
Refresh all pyconstraints
Reload active text data block from its file
Replace text with the specified text
Replace text with specified text and set as selected
When external text is out of sync, resolve the conflict
| Parameters: | resolution (enum in [‘IGNORE’, ‘RELOAD’, ‘SAVE’, ‘MAKE_INTERNAL’], (optional)) – Resolution, How to solve conflict due to differences in internal and external text |
|---|
Run active script
Save active text data block
Save active text file with options
| Parameters: |
|
|---|
Undocumented
| Parameters: | lines (int in [-inf, inf], (optional)) – Lines, Number of lines to scroll |
|---|
Undocumented
| Parameters: | lines (int in [-inf, inf], (optional)) – Lines, Number of lines to scroll |
|---|
Select all text
Select text by line
Select word under cursor
Set cursor selection
| Parameters: | select (boolean, (optional)) – Select, Set selection end rather than cursor |
|---|
Start searching text
Create 3D text object from active text data block
| Parameters: | split_lines (boolean, (optional)) – Split Lines, Create one object per line in the text |
|---|
Convert selected comment to text
Unindent selected text
Unlink active text data block