delete key in AbstractTextEditor [message #462821] |
Thu, 01 February 2007 09:35 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
Hello everybody!
I cannot figure out why delete key does not work in AbstractTextEditor.
Could anybody give me a hint what is going on please?
Thanks a lot in advance.
|
|
|
Re: delete key in AbstractTextEditor [message #462825 is a reply to message #462821] |
Thu, 01 February 2007 10:13 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
It is a real problem to migrate from a simple SourceViewer to
AbstractTextEditor. You have to overload a lot of methods. A bit too
complicated.
Well, you have to overload this method like I did for example:
/*
* (non-Javadoc)
*
* @see
org.eclipse.ui.texteditor.AbstractDocumentProvider#isModifia ble(java.lang.Object)
*/
@Override
public boolean isModifiable(Object element)
{
return true;
}
}
Peter Osipov wrote:
> Hello everybody!
> I cannot figure out why delete key does not work in
> AbstractTextEditor. Could anybody give me a hint what is going on please?
> Thanks a lot in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.05324 seconds