| [news.eclipse.platform] Re: problem on content assistant in my own editor |
Thanks Dani, it works fine now.
Nick Tan wrote:
hi, all:
here's two problems when I implementing a xml-style editor.
1. I implement the CompletionProcessor by extending TemplateCompletionProcessor, when press "ALT+/", proposals are listed, but when I typing some character, the list not filtered according to input characters?
I add some debug printing at the beginning of TemplateCompletionProcessor.computeCompletionProposals(ITextViewer, int) but to find that when I typing new characters, it's not invoked?
Make sure your completin proposal class implements org.eclipse.jface.text.contentassist.ICompletionProposalExtension2.
2. no info on status bar,
when editing files in my editor, information like "writable", "smart insert", and line location all disappear, but when I switch to plain text editor, every thing is there. So I think there must be a way to setup a configuration that manager what to show in status bar.
Looks like your editor's action editor action bar contributor is missing or not subclassing BasicTextEditorActionContributor.
Dani
any advice? thanks in advance!
Nick