traitsui.editors.html_editor module

Defines the HTML editor factory. HTML editors interpret and display HTML-formatted text, but do not modify it.

class traitsui.editors.html_editor.ToolkitEditorFactory(*args, **traits)

Bases: traitsui.basic_editor_factory.BasicEditorFactory

Editor factory for HTML editors.

indent(line)

Calculates the amount of white space at the beginning of a line.

parse_block(lines, i)

Parses a code block.

parse_list(lines, i)

Parses a list.

parse_text(text)

Parses the contents of a formatted text string into the corresponding HTML.

traitsui.editors.html_editor.html_editor(*args, **traits)

Previous topic

traitsui.editors.history_editor module

Next topic

traitsui.editors.image_editor module

This Page