Set font case
Parameters: | case (enum in [‘LOWER’, ‘UPPER’], (optional)) – Case, Lower or upper case |
---|
Toggle font case
Change font character code
Parameters: | delta (int in [-255, 255], (optional)) – Delta, Number to increase or decrease character code with |
---|
Change font spacing
Parameters: | delta (int in [-20, 20], (optional)) – Delta, Amount to decrease or increase character spacing with |
---|
Delete text by cursor position
Parameters: | type (enum in [‘ALL’, ‘NEXT_CHARACTER’, ‘PREVIOUS_CHARACTER’, ‘SELECTION’, ‘NEXT_OR_SELECTION’, ‘PREVIOUS_OR_SELECTION’], (optional)) – Type, Which part of the text to delete |
---|
Paste contents from file
Parameters: |
|
---|
Insert placeholder text
Insert line break at cursor position
Parameters: | ctrl (boolean, (optional)) – Ctrl |
---|
Move cursor to position type
Parameters: | type (enum in [‘LINE_BEGIN’, ‘LINE_END’, ‘PREVIOUS_CHARACTER’, ‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PREVIOUS_LINE’, ‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type, Where to move cursor to |
---|
Make selection from current cursor position to new cursor position type
Parameters: | type (enum in [‘LINE_BEGIN’, ‘LINE_END’, ‘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 |
---|
Load a new font from a file
Parameters: |
|
---|
Set font style
Parameters: |
|
---|
Toggle font style
Parameters: | style (enum in [‘BOLD’, ‘ITALIC’, ‘UNDERLINE’, ‘SMALL_CAPS’], (optional)) – Style, Style to set selection to |
---|
Copy selected text to clipboard
Cut selected text to clipboard
Insert text at cursor position
Parameters: |
|
---|
Paste text from clipboard
Add a new text box
Remove the textbox
Parameters: | index (int in [0, inf], (optional)) – Index, The current text box |
---|
Unlink active font data block