6.77. umbra.ui.inputAccelerators

inputAccelerators.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the Application input accelerators objects.

Others:

6.77.1. Module Attributes

umbra.ui.inputAccelerators.LOGGER

6.77.2. Functions

umbra.ui.inputAccelerators.getEditorCapability(editor, capability)[source]

Returns given editor capability.

Parameters:
  • editor (QWidget) – Document editor.
  • capability (unicode) – Capability to retrieve.
Returns:

Capability.

Return type:

object

umbra.ui.inputAccelerators.isSymbolsPairComplete(editor, symbol)[source]

Returns if the symbols pair is complete on current editor line.

Parameters:
  • editor (QWidget) – Document editor.
  • symbol (unicode) – Symbol to check.
Returns:

Is symbols pair complete.

Return type:

bool

umbra.ui.inputAccelerators.performCompletion(editor)[source]

Performs the completion on given editor.

Parameters:editor (QWidget) – Document editor.
Returns:Method success.
Return type:bool
umbra.ui.inputAccelerators.indentationPreEventInputAccelerators(editor, event)[source]

Implements indentation pre event input accelerators.

Parameters:
  • editor (QWidget) – Document editor.
  • event (QEvent) – Event being handled.
Returns:

Process event.

Return type:

bool

umbra.ui.inputAccelerators.indentationPostEventInputAccelerators(editor, event)[source]

Implements indentation post event input accelerators.

Parameters:
  • editor (QWidget) – Document editor.
  • event (QEvent) – Event being handled.
Returns:

Method success.

Return type:

bool

umbra.ui.inputAccelerators.completionPreEventInputAccelerators(editor, event)[source]

Implements completion pre event input accelerators.

Parameters:
  • editor (QWidget) – Document editor.
  • event (QEvent) – Event being handled.
Returns:

Process event.

Return type:

bool

umbra.ui.inputAccelerators.completionPostEventInputAccelerators(editor, event)[source]

Implements completion post event input accelerators.

Parameters:
  • editor (QWidget) – Document editor.
  • event (QEvent) – Event being handled.
Returns:

Process event.

Return type:

bool

umbra.ui.inputAccelerators.symbolsExpandingPreEventInputAccelerators(editor, event)[source]

Implements symbols expanding pre event input accelerators.

Parameters:
  • editor (QWidget) – Document editor.
  • event (QEvent) – Event being handled.
Returns:

Process event.

Return type:

bool