diff --git a/collects/framework/private/text.ss b/collects/framework/private/text.ss index 67ca244e81..0437e1ad8c 100644 --- a/collects/framework/private/text.ss +++ b/collects/framework/private/text.ss @@ -2240,7 +2240,7 @@ designates the character that triggers autocompletion ;; Number -> String ;; The word that ends at the current positon of the editor - (define/private (get-word-at current-pos) + (define/public (get-word-at current-pos) (let ([start-pos (box current-pos)]) (find-wordbreak start-pos #f 'caret) (get-text (unbox start-pos) current-pos)))