diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-09-18 16:08:40 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-09-18 16:08:40 +0200 |
commit | b9ff4650857cc34a795613281d576196345359ee (patch) | |
tree | 708eeff037f70a35a65f29af1628fd23d89d4c58 | |
parent | 81517250ef9a450a3156e7c3960859724757ed73 (diff) | |
parent | 345472c7f88435cd8d9aa5d26513358376c78c69 (diff) |
Merge branch 'master' of ssh://212.235.189.51:22122/codeq-web
-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 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) { |