Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Urgent! - Editor for an especific file
Urgent! - Editor for an especific file [message #159072] Wed, 19 November 2003 13:41 Go to next message
Eclipse UserFriend
Originally posted by: angeles_sorano.yahoo.com.ar

Hello!
I need to create a TextEditor for an especific file (similar to language
C).
I had tried to extend "CDT" plugin editor but I couldn't.

Anyone could bring me some point?

Thank at all for anwser me!
Angeles
Re: Urgent! - Editor for an especific file [message #159227 is a reply to message #159072] Wed, 19 November 2003 23:44 Go to previous messageGo to next message
Eclipse UserFriend
In Eclipse file extension invokes required editor.So frist you have to
know the file extension you want for your file.I think you are trying to
make an editor for C-Language.You can also check the JavaEditor example
that might give you some idea about making editors.

I hope this gives you a direction for your next question.


Syed

Angeles Sorano wrote:

> Hello!
> I need to create a TextEditor for an especific file (similar to language
> C).
> I had tried to extend "CDT" plugin editor but I couldn't.

> Anyone could bring me some point?

> Thank at all for anwser me!
> Angeles
Re: Urgent! - Editor for an especific file [message #159466 is a reply to message #159072] Thu, 20 November 2003 10:25 Go to previous message
Eclipse UserFriend
Angeles:

I created a "wizard-made" editor to handle SQL files and scripts. After I
did this, I had to remove all indication of the highlighting because the
wizard creates an XML editor. I switched the file extension to ".SQL". I
just commented out things until I understand how the highlighting works.
Once I do, I'll add the features back in. I can, however, click on an SQL
file in my navigator now, and up comes my plain-black-text editor and it
works!

If you like, mail me directly and I'll send you my plugin, just agree not to
sell it!, lol!

David

--
David L. Whitehurst
aka. PiratePete
http://www.piratepetesoftware.com
dlwhitehurst@comcast.net
"Angeles Sorano" <angeles_sorano@yahoo.com.ar> wrote in message
news:bpgdh3$t92$1@eclipse.org...
> Hello!
> I need to create a TextEditor for an especific file (similar to language
> C).
> I had tried to extend "CDT" plugin editor but I couldn't.
>
> Anyone could bring me some point?
>
> Thank at all for anwser me!
> Angeles
>
Previous Topic:inspecting method local variable
Next Topic:"Additional comments" in bugzilla webform get lost on IE 6.0
Goto Forum:
  


Current Time: Sun May 11 10:09:14 EDT 2025

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

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

Back to the top