Skip to content

Commit

Permalink
fixed #36 changing the length of content assist popup
Browse files Browse the repository at this point in the history
  • Loading branch information
amlajmi committed Dec 9, 2016
1 parent 73ae102 commit 3100013
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,13 @@ public class
editor.setReadOnly(!editable);
editor.$blockScrolling = Infinity;

//Set theme
editor.setTheme("ace/theme/eclipse");

//Configure content assist feature
this.langTools = ace.require("ace/ext/language_tools");
this.editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true
});

this.backendCompleter = {
getMode: function() {
return editor.getSession().getMode();
Expand All @@ -167,6 +165,9 @@ public class
}
this.completers = editor.completers;

//Set theme
editor.setTheme("ace/theme/eclipse");

//Add text hover
var TokenTooltip = ace.require("ace/ext/tooltip").TokenTooltip;
editor.tokenTooltip = new TokenTooltip(editor);
Expand Down

0 comments on commit 3100013

Please sign in to comment.