diff --git a/static-files/clog-ace/src/ext-language_tools.js b/static-files/clog-ace/src/ext-language_tools.js index 1fe4d6c..0c84cf2 100644 --- a/static-files/clog-ace/src/ext-language_tools.js +++ b/static-files/clog-ace/src/ext-language_tools.js @@ -1279,7 +1279,7 @@ exports.parForEach = function (array, fn, callback) { }); } }; -var ID_REGEX = /[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/; +var ID_REGEX = /[a-zA-Z_0-9\:\$\-\u00A2-\u2000\u2070-\uFFFF]/; exports.retrievePrecedingIdentifier = function (text, pos, regex) { regex = regex || ID_REGEX; var buf = []; @@ -2015,4 +2015,3 @@ require("../config").defineOptions(Editor.prototype, "editor", { } }); })(); - \ No newline at end of file diff --git a/tools/clog-builder.lisp b/tools/clog-builder.lisp index 52e1138..e522bd8 100644 --- a/tools/clog-builder.lisp +++ b/tools/clog-builder.lisp @@ -1314,6 +1314,7 @@ of controls and double click to select control." (clog-ace:set-on-auto-complete (event-editor app) (lambda (obj prefix) (declare (ignore obj)) + (print prefix) (when (current-editor-is-lisp app) ;; we need to modify Ace's lisp mode to treat : as part of symbol ;; otherwise lookups do not consider the symbols package. I did