Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Insert Text in Editor
Insert Text in Editor [message #559786] Sat, 18 September 2010 14:12
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior 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:Write in text Editor
Next Topic:Font of editor
Goto Forum:
  


Current Time: Thu Mar 28 14:42:43 GMT 2024

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

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

Back to the top