Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Text editor get/set text
Text editor get/set text [message #605581] Wed, 14 April 2010 18:32
Devon Lehman is currently offline Devon LehmanFriend
Messages: 3
Registered: April 2010
Junior Member
I'm trying to create an editor function that will listen for changes in the document and then perform an action when something is typed. The other features I need are to be able to get this text (as a string) from the source file, and change it as well.

However, I'm having a lot of trouble finding out where to get this from. Can someone give me a line of code to run from the editor object that will get me the text contained in the file, and a line to change the text in the editor?

If you know of a way to create an method to listen for changes on the document, that'd be a great help, too.

Thanks a lot!
Previous Topic:Text editor get/set text
Next Topic:attaching source to plugin in eclipse
Goto Forum:
  


Current Time: Thu Sep 19 00:15:27 GMT 2024

Powered by FUDForum. Page generated in 0.03175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top