Getting hold a new TextEditor instance

Any ideas on how i can get a new instance of a TextEditor to return in the createEditor method of a FileEditorProvider implementation ?

3 comments
Comment actions Permalink

Correction, it's not a plain TextEditor instance that i want, i know how to get that.
I need a JAVA file Editor instance.

0
Comment actions Permalink

Did you get any answer to this or figure it out?  I too would like to know

0
Comment actions Permalink

new PsiAwareTextEditorImpl()

0

Please sign in to leave a comment.