Friday, November 7, 2008

Eclipse TextEditor and the status bar.

If you ever wondered why my text editor doesn't provide the carret position and the other goodies you are seeing from every text based editor. Here is one of the possible problems.

You have missed the bolded line in your editor declaration

<editor class="..."
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
default="..."
filenames="..." icon="..." id="..." name="..."/>

This is the magic behind all this small features.

No comments: