FoxDot.lib.Workspace.TextBox

class FoxDot.lib.Workspace.TextBox.ThreadedText(master, **options)[source]

Bases: Text

char_range(index1, index2)[source]

Returns a list of indices between two Tk indices

get_num_lines()[source]
get_visible_range()[source]

Returns a tuple of integers for the first and last row visible in the editor

has_selection()[source]

Returns True if the selection tag is present in the text box

is_after(index1, index2)[source]

Returns True if index1 is after index2, returns True if they are equal

is_before(index1, index2)[source]

Returns True if index1 is after index2, returns True if they are equal

is_selected(index)[source]

Returns True if the character at index has the SEL tag

on_resize(event)[source]
remove_selection()[source]

Removes selection from the entire document

row_col(index)[source]
update()[source]

Recursively called method that monitors as queue of Tkinter tasks.