Bases: IPython.qt.console.pygments_highlighter.PygmentsHighlighter
A PygmentsHighlighter that understands and ignores prompts.
Highlight a block of text. Reimplemented to highlight selectively.
Reimplemented to temporarily enable highlighting if disabled.
Reimplemented to highlight selectively.
Bases: IPython.qt.console.history_console_widget.HistoryConsoleWidget, IPython.qt.base_frontend_mixin.BaseFrontendMixin
A Qt frontend for a generic Python kernel.
Copy the currently selected text to the clipboard, removing prompts.
Copy the currently selected text to the clipboard without attempting to remove prompts or otherwise alter the text.
Attempts to execute file with ‘path’. If ‘hidden’, no output is shown.
Attempts to interrupt the running kernel.
Also unsets _reading flag, to avoid runtime errors if raw_input is called again.
Resets the widget to its initial state if clear parameter is True, otherwise prints a visual indication of the fact that the kernel restarted, but does not clear the traces from previous usage of the kernel before it was restarted. With clear=True, it is similar to %clear, but also re-writes the banner and aborts execution if necessary.
Attempts to restart the running kernel.