libtextworker 0.1.4
Cross-platform, free and open library for Python projects

◆ EditorInit()

def libtextworker.interface.tk.editor.StyledTextControl.EditorInit (   this,
bool   useMenu = False,
bool   useScrollBars = True,
str   custom_config_path = EDITOR_DIR + "/editor.ini",
int   tabwidth = 4 
)
Initialize the editor, libtextworker's customize part.
@param useMenu: Enable right-click menu (depends on the user setting - else defaults to disable)
@param useScrollBars: Show scroll bars
@param custom_config_path: Custom editor configs path (optional)
@param custom_theme_path: Custom editor theme path (optional)
@param tabwidth: Tab (\\t character) width (defaults to user setting else 4)

Definition at line 45 of file editor.py.