console Package

api Module

bracket_matcher Module

call_tip_widget Module

completion_lexer Module

class pyface.ui.qt4.console.completion_lexer.CompletionLexer(lexer)

Bases: object

Uses Pygments and some auxillary information to lex code snippets for symbol contexts.

get_context(string)

Assuming the cursor is at the end of the specified string, get the context (a list of names) for the symbol at cursor position.

get_lexer(lexer)
lexer
separator_map = {'Python': ['.'], 'C': ['.', '->'], 'C++': ['.', '->', '::']}
set_lexer(lexer, name_separators=None)

console_widget Module

history_console_widget Module

Table Of Contents

Previous topic

code_editor Package

Next topic

tasks Package

This Page