class openalea.oalab.editor.pyeditor.editor.PyCodeEditor(parent=None, server_script='/usr/local/lib/python2.7/dist-packages/pyqode/python/backend/server.pyc', interpreter='/usr/bin/python', args=None, create_default_actions=True, color_scheme='default')[source]

Bases: pyqode.python.widgets.code_edit.PyCodeEditBase

Extends PyCodeEditBase with a set of hardcoded modes and panels specifics to a python code editor widget.

actions()[source]
Returns:list of actions to set in the menu.
clone()[source]
get_code(start='sof', end='eof')[source]
get_selected_text()[source]
get_text(start='sof', end='eof')[source]

Return a part of the text.

Parameters:
  • start -- is the begining of what you want to get
  • end -- is the end of what you want to get
Returns:

text which is contained in the editor between 'start' and 'end'

goto()[source]
mainMenu()[source]
replace_tab()[source]
search()[source]
set_script(txt)
set_text(txt)[source]
DARK_STYLE = 0
LIGHT_STYLE = 1
mimetypes = ['text/x-python']
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x2adeea2dcf80>

Previous topic

openalea.oalab.editor.pyeditor package

Next topic

<no title>

This Page