The following forum message was posted by fabioz at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4498666:

I haven't checked this, but I think it goes something like

... get the ScriptConsolePage ...
scriptConsolePage.getViewer().getDocument().replace(offset, length, text) <--
just make sure to always only add content to the end of the document (adding
to other places may have bad repercussions) -- whenever you add a new line,
that line will be evaluated.

Also, not sure exactly what you plan to do, but if you add content while it's
waiting for a response of the server I'm not sure what will happen (it'll 
probably
just ignore what you've written, but I may be wrong there).

Cheers,

Fabio

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to