diff options
Diffstat (limited to 'ext/js/language')
-rw-r--r-- | ext/js/language/text-scanner.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/language/text-scanner.js b/ext/js/language/text-scanner.js index 80887b8e..c7cedd7e 100644 --- a/ext/js/language/text-scanner.js +++ b/ext/js/language/text-scanner.js @@ -119,6 +119,10 @@ class TextScanner extends EventDispatcher { this.setEnabled(this._enabled); } + isEnabled() { + return this._enabled; + } + setEnabled(enabled) { this._enabled = enabled; |