Package peppy :: Package plugins :: Module hexedit_mode :: Class GotoOffset
[frames] | no frames]

Class GotoOffset

                                object --+    
                                         |    
                          WorksWithHexEdit --+
                                             |
                        object --+           |
                                 |           |
actions.base.BufferBusyActionMixin --+       |
                                     |       |
                    object --+       |       |
                             |       |       |
              debug.debugmixin --+   |       |
                                 |   |       |
              actions.SelectAction --+       |
                                     |       |
   actions.base.TextModificationAction --+   |
                                         |   |
       actions.minibuffer.MinibufferAction --+
                                             |
                                            GotoOffset

Goto an offset.

Use minibuffer to request an offset, then move the cursor to that location in the file.

Nested Classes
  minibuffer
Dedicated subclass of Minibuffer that prompts for an integer.
Instance Methods
 
processMinibuffer(self, minibuffer, mode, pos)
Callback function used to set the grid's cursor to the specified byte offset.

Inherited from actions.minibuffer.MinibufferAction: action, getInitialValueHook

Inherited from actions.base.BufferBusyActionMixin: isActionAvailable, isEnabled

Inherited from actions.SelectAction: __call__, __init__, getMenuItemName, getSubIds, getTooltip, initPostHook, initPreHook, insertIntoMenu, insertIntoToolbar, showEnable

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods

Inherited from WorksWithHexEdit: worksWithMajorMode

Inherited from actions.SelectAction: getHelp, setAcceleratorText

Inherited from debug.debugmixin: dprint

Class Variables
  name = 'Goto Offset...'
This is the name of the menu entry as it appears in the menu bar.
  tooltip = 'Goto an offset.'
Tooltip that is displayed when the mouse is hovering over the menu entry.
  default_menu = ('Edit', 500)
The default menu location is specified here as a tuple containing the menu path (separated by / characters) and a number between 1 and 1000 representing the position within the menu.
  key_bindings = {'default': 'M-G'}
Map of platform to default keybinding.
  minibuffer_label = 'Goto Offset:'

Inherited from actions.SelectAction: alias, default_toolbar, global_id, icon, keyboard, stock_id

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

processMinibuffer(self, minibuffer, mode, pos)

 

Callback function used to set the grid's cursor to the specified byte offset.

Overrides: actions.minibuffer.MinibufferAction.processMinibuffer