Class orion.editor.ContentAssistMode
Editor mode for interacting with content assist proposals.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.editor/web/orion/editor/contentAssist.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.editor.ContentAssistMode(contentAssist, ContentAssistWidget)
Creates a ContentAssistMode.
|
Class Detail
orion.editor.ContentAssistMode(contentAssist, ContentAssistWidget)
Creates a ContentAssistMode. A ContentAssistMode is a key mode for orion.editor.Editor
that provides interaction with content assist proposals retrieved from an orion.editor.ContentAssist.
Interaction is performed via the #lineUp, #lineDown, and #enter actions. An
orion.editor.ContentAssistWidget may optionally be provided to display which proposal is currently selected.
- Parameters:
- {orion.editor.ContentAssist} contentAssist
- {orion.editor.ContentAssistWidget} ContentAssistWidget Optional