Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Insert Text in Editor
Insert Text in Editor [message #559790] Sat, 18 September 2010 10:21
Jose is currently offline Jose
Messages: 98
Registered: March 2010
Member
Hello

I'm making a Plug-in, and I need insert Text in tue active editor(text aditor, java, .txt, c++..., all text editor).
I insert the text using tue methodo of textViewer replace(int,int,String). it's good.

but when there are text colapsed (JavaEditor) and I insert the text, the parts colapsed are descolapsed and his status is bad.

I want to get the ProjectionViewer of TextEditor, I Have get the TextViewer but not the ProjectViewer.

How can I Insert text in a fila whit colapsed Part?

Thanks a lot
Jose
Previous Topic:How to capture MouseEvents on a TableColumn
Next Topic:swt browser don't download and display images
Goto Forum:
  


Current Time: Tue May 21 07:42:48 EDT 2013

Powered by FUDForum. Page generated in 0.02325 seconds