Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 782 Bytes
if False:
from org.python.pydev.editor import PyEdit #@UnresolvedImport
cmd = 'command string'
editor = PyEdit
#--------------------------------------------------------------- REQUIRED LOCALS
#interface: String indicating which command will be executed
#As this script will be watching the PyEdit (that is the actual editor in Pydev), and this script
#will be listening to it, this string can indicate any of the methods of org.python.pydev.editor.IPyEditListener
assert cmd is not None
#interface: PyEdit object: this is the actual editor that we will act upon
assert editor is not None
#---- Uncomment the line below to see the outputs received
#print 'ok, we just received the command:', cmd, ' from the editor with the file:', editor.getEditorFile().getName()
Jump to Line
Something went wrong with that request. Please try again.