CE: text editor component framework

Hi IDEA developers,

Where in the sources I can find the major classes for the text editor
component framework? Is it developed so modular that it can be used quite
easily outside of IDEA?

Thanks in advance,

Comment actions Permalink

Primary class you shall be looking into is com.intellij.openapi.editor.impl.EditorImpl (in module platform-impl)
I don't think it's feasible to take just a component since there's a lot of dependencies on many IDE infrastructure components.

Comment actions Permalink

Thank you. Yes, you seem right - it looks like half IDEA is used for the
editor component ;). But that is understandable for such a versatile
component completely written from scratch. You did use Swing text component
framework in the very early stages of IDEA (and later dropped it because of
its limitations), isn't?



Please sign in to leave a comment.