zjffdu
zjffdu

Reputation: 28744

How can I add an editor without IEditorInput into a RCP application?

I'd like to add an editor to an RCP application. I need to leverage the advanced features of editor, such as keywords highlighting. But it seems that editor have to be associated with an IEditorInput, but I just do not need to persistence the text, store it in memory is OK for me. Is there any way to do that ? Thanks

-- Best Regards

Jeff Zhang

Upvotes: 1

Views: 1889

Answers (2)

nanda
nanda

Reputation: 24788

Why can't you create an implementation of IEditorInput that doesn't persist the text?

Upvotes: 0

Related Questions