Merge pull request #2201 from adamjimenez/patch-6
send completion data to completer callback
This commit is contained in:
commit
1d39be41a6
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ var Autocomplete = function() {
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (data.completer && data.completer.insertMatch) {
|
if (data.completer && data.completer.insertMatch) {
|
||||||
data.completer.insertMatch(this.editor);
|
data.completer.insertMatch(this.editor, data);
|
||||||
} else {
|
} else {
|
||||||
if (this.completions.filterText) {
|
if (this.completions.filterText) {
|
||||||
var ranges = this.editor.selection.getAllRanges();
|
var ranges = this.editor.selection.getAllRanges();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue