use flag on aceEditor to enable autocomplete features
This commit is contained in:
@@ -37,6 +37,7 @@ div.full-size(
|
||||
keybindings="settings.mode",
|
||||
font-size="settings.fontSize",
|
||||
auto-complete="settings.autoComplete",
|
||||
enable-auto-complete-features="true",
|
||||
spell-check="!anonymous",
|
||||
spell-check-language="project.spellCheckLanguage",
|
||||
highlights="onlineUserCursorHighlights[editor.open_doc_id]"
|
||||
|
||||
@@ -92,7 +92,7 @@ define [
|
||||
highlightsManager = new HighlightsManager(scope, editor, element)
|
||||
cursorPositionManager = new CursorPositionManager(scope, editor, element, localStorage)
|
||||
trackChangesManager = new TrackChangesManager(scope, editor, element)
|
||||
if scope.name == 'editor'
|
||||
if attrs.enableAutoCompleteFeatures
|
||||
labelsManager = new LabelsManager(scope, editor, element)
|
||||
autoCompleteManager = new AutoCompleteManager(scope, editor, element, labelsManager)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user