Module p.u.r.text

Part of pida.utils.rat

This module contains to, very usefull utility functions, one for grabbing the text selected on a certain gtk.TreeBuffer, the other creates an iterator for manipulating searches to a gtk.TreeBuffer.
Line # Kind Name Docs
12 Function get_buffer_selection Returns the selected text, when nothing is selected it returns the empty
21 Class SearchIterator Undocumented
74 Function line_iterator Undocumented
81 Function selected_line_iterator Iterates over selected lines
96 Function indent_selected Indents selected text of a gtk.TextBuffer
117 Function _unindent_iter Undocumented
145 Function unindent_selected Unindents selected text of a gtk.TextBuffer
161 Function _on_key_press Undocumented
182 Function make_source_view_indentable Undocumented
def get_buffer_selection(buffer):
Returns the selected text, when nothing is selected it returns the empty string.
def line_iterator(buff, start_iter, end_iter):
Undocumented
def selected_line_iterator(buff):
Iterates over selected lines
def indent_selected(buff, indent):
Indents selected text of a gtk.TextBuffer
def _unindent_iter(buff, start_iter, indent, use_subset):
Undocumented
def unindent_selected(buff, indent, use_subset=True):
Unindents selected text of a gtk.TextBuffer
def _on_key_press(view, event):
Undocumented
def make_source_view_indentable(source_view):
Undocumented
API Documentation for PIDA, generated by pydoctor.