aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/source-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/source-input.js')
-rw-r--r--ext/fg/js/source-input.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/fg/js/source-input.js b/ext/fg/js/source-input.js
index 0bea977b..9f5a76a0 100644
--- a/ext/fg/js/source-input.js
+++ b/ext/fg/js/source-input.js
@@ -32,8 +32,14 @@ class TextSourceInput {
return this.input.nodeName === 'BUTTON' ? this.input.innerHTML : this.input.value;
}
- setLength(length) {
+ setStartOffset(length) {
+ // NOP
+ return 0;
+ }
+
+ setEndOffset(length) {
this.length = length;
+ return length;
}
containsPoint(point) {