use of org.eclipse.che.ide.api.editor.document.DocumentHandle in project che by eclipse.
the class OrionEditorInit method init.
/**
* Initialize the text editor.
*
* @param document to initialise with
*/
public void init(Document document) {
DocumentHandle documentHandle = document.getDocumentHandle();
configurePartitioner(documentHandle);
configureReconciler(documentHandle);
configureAnnotationModel(documentHandle);
configureCodeAssist(documentHandle);
configureChangeInterceptors(documentHandle);
configureFormatter(textEditor);
configureSignatureHelp(textEditor);
addQuickAssistKeyBinding();
}
Aggregations