summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-09-18 16:08:40 +0200
committerRobert Zorko <robertz@gurucue.com>2015-09-18 16:08:40 +0200
commitb9ff4650857cc34a795613281d576196345359ee (patch)
tree708eeff037f70a35a65f29af1628fd23d89d4c58 /js/codeq
parent81517250ef9a450a3156e7c3960859724757ed73 (diff)
parent345472c7f88435cd8d9aa5d26513358376c78c69 (diff)
Merge branch 'master' of ssh://212.235.189.51:22122/codeq-web
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) {