Remove String from IDocument [message #333557] |
Wed, 17 December 2008 10:29 |
Artur Zeiler Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Hi all,
is is possible to remove a String from IDocument?
My plugin uses it's own content assist. My Problem is, that i have to
remove the String i searched for in the content assist. For example i type:
"create", then the content assist inserts me the following code:
createActions(){
super.createActions();
IAction a=new
TextOperationAction(JavaEditorMessages.getResourceBundle(),"ContentAssistProposal. ",this,ISourceViewer.CONTENTASSIST_PROPOSALS);
a.setActionDefinitionId(ITextEditorActionDefinitionIds.CONTE NT_ASSIST_PROPOSALS);
setAction("ContentAssistProposal",a);
a=new
TextOperationAction(JavaEditorMessages.getResourceBundle(),"ContentAssistTip. ",this,ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION);
a.setActionDefinitionId(ITextEditorActionDefinitionIds.CONTE NT_ASSIST_CONTEXT_INFORMATION);
setAction("ContentAssistTip",a);
a=new
DefineFoldingRegionAction(JavaEditorMessages.getResourceBund le(), "DefineFoldingRegion.",this);
setAction("DefineFoldingRegion",a);
}
create <<<<< Here is the problem
So now i want to remove "create" shown in the last line?
Any ideas?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.03563 seconds