diff options
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/prolog.js | 2 | ||||
-rw-r--r-- | js/codeq/python.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index e411895..b12a5d2 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -372,7 +372,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..0075a72 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) { |