summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq')
-rw-r--r--js/codeq/prolog.js2
-rw-r--r--js/codeq/python.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js
index e449de3..96c3077 100644
--- a/js/codeq/prolog.js
+++ b/js/codeq/prolog.js
@@ -373,7 +373,7 @@
pos = codeq.codePointCount(doc.getRange(firstCharacterPos, changeObj.from));
if (changeObj.removed) {
- activityHandler.queueTrace({'typ': 'rm', 'off': pos, 'len': codeq.codePointCount(changeObj.removed)});
+ activityHandler.queueTrace({'typ': 'r', 'off': pos, 'len': codeq.codePointCount(changeObj.removed.join(''))});
}
if (changeObj.text) {
diff --git a/js/codeq/python.js b/js/codeq/python.js
index 868055c..e856c08 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -323,7 +323,7 @@
pos = codeq.codePointCount(doc.getRange(firstCharacterPos, changeObj.from));
if (changeObj.removed) {
- activityHandler.queueTrace({'typ': 'rm', 'off': pos, 'len': codeq.codePointCount(changeObj.removed)});
+ activityHandler.queueTrace({'typ': 'rm', 'off': pos, 'len': codeq.codePointCount(changeObj.removed.join(''))});
}
if (changeObj.text) {