envisage.plugins.text_editor.editor.text_editor module

A text editor.

class envisage.plugins.text_editor.editor.text_editor.TextEditor(*args, **kwargs)[source]

Bases: TraitsUIEditor

A text editor.

create_ui(parent)[source]

Creates the traits UI that represents the editor.

key_bindings = <traits.trait_types.Instance object>
run()[source]

Runs the file as Python.

save()[source]

Saves the text to disk.

save_as()[source]

Saves the text to disk after prompting for the file name.

select_line(lineno)[source]

Selects the specified line.

text

alias of Code