class documentation

class LineSorterPageViewExtension(PageViewExtension): (source)

View In Hierarchy

Undocumented

Method duplicate_line Menu action to dublicate line
Method move_line Move line at the current cursor position up or Down @param offset: number of lines to move down, or up if value is negative
Method move_line_down Menu action to move line down
Method move_line_up Menu action to move line up
Method remove_line Menu action to remove line at the current cursor position
Method sort_selected_lines Undocumented
Method _get_iters_one_or_more_lines Undocumented
Method _get_selected_lines Undocumented

Inherited from PageViewExtensionBase (via PageViewExtension):

Method __init__ Constructor @param plugin: the plugin object to which this extension belongs @param obj: the object being extended
Method add_sidepane_widget Undocumented
Method remove_sidepane_widget Undocumented
Method teardown No summary
Instance Variable navigation Undocumented
Instance Variable pageview Undocumented
Instance Variable uistate Undocumented
Instance Variable _sidepane_widgets Undocumented
Instance Variable _window Undocumented

Inherited from ActionExtensionBase (via PageViewExtension, PageViewExtensionBase):

Method add_to_headerbar Undocumented
Method remove_from_headerbar Undocumented
Method set_action_in_headerbar Undocumented
Instance Variable actiongroup Undocumented
Static Method _uimanager_xml Undocumented
Method _add_actions Undocumented
Instance Variable _uimanager Undocumented
Instance Variable _uimanager_ids Undocumented

Inherited from ExtensionBase (via PageViewExtension, PageViewExtensionBase, ActionExtensionBase):

Method destroy Called when the plugin is being destroyed Calls teardown() followed by the teardown() methods of parent base classes.
Class Variable __signals__ Undocumented
Instance Variable obj the extendable object
Instance Variable plugin the plugin object to which this extension belongs

Inherited from SignalEmitter (via PageViewExtension, PageViewExtensionBase, ActionExtensionBase, ExtensionBase):

Method __new__ Undocumented
Method block_signals Returns a context manager for blocking one or more signals
Method connect Register a handler for a specific object.
Method connect_after Like connect() but handler will be called after default handler
Method disconnect Undocumented
Method emit Undocumented
Method emit_return_first Emits a signal and stops emission on the first handler that returns a not-None value.
Method emit_return_iter Returns an generator that calls one handler on each iteration and yields the return values. This allows aggregating return values.
Method _connect Undocumented
Method _setup_signal Undocumented
Method _teardown_signal Undocumented

Inherited from ConnectorMixin (via PageViewExtension, PageViewExtensionBase, ActionExtensionBase, ExtensionBase):

Method connectto Connect to signals of another object E.g.:
Method connectto_all Convenience method to combine multiple calls to connectto().
Method disconnect_all Disconnect all signals that have been connected with connectto and friends. Typically called when you want to destroy this object.
Method disconnect_from Disc all signals that have been connected with connectto and friends to a specific object.
Method _disconnect_from Undocumented
Instance Variable _connected_signals Undocumented
@action(_('_Duplicate Line'), accelerator='<Primary><Shift>D', menuhints='edit')
def duplicate_line(self): (source)
Menu action to dublicate line
def move_line(self, offset): (source)
Move line at the current cursor position up or Down
Parameters
offsetnumber of lines to move down, or up if value is negative
@action(_('_Move Line Down'), accelerator='<Primary>Down', menuhints='edit')
def move_line_down(self): (source)
Menu action to move line down
@action(_('_Move Line Up'), accelerator='<Primary>Up', menuhints='edit')
def move_line_up(self): (source)
Menu action to move line up
@action(_('_Remove Line'), accelerator='<Primary><Shift>K', menuhints='edit')
def remove_line(self): (source)
Menu action to remove line at the current cursor position
@action(_('_Sort lines'), menuhints='edit')
def sort_selected_lines(self): (source)

Undocumented

def _get_iters_one_or_more_lines(self, buffer): (source)

Undocumented

def _get_selected_lines(self, buffer): (source)

Undocumented