Merge pull request #2201 from adamjimenez/patch-6

send completion data to completer callback
This commit is contained in:
Harutyun Amirjanyan 2014-10-21 18:19:38 +04:00
commit 1d39be41a6

View file

@ -177,7 +177,7 @@ var Autocomplete = function() {
return false;
if (data.completer && data.completer.insertMatch) {
data.completer.insertMatch(this.editor);
data.completer.insertMatch(this.editor, data);
} else {
if (this.completions.filterText) {
var ranges = this.editor.selection.getAllRanges();