We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeed73c commit 9320a72Copy full SHA for 9320a72
src/core/PaperScript.js
@@ -168,7 +168,7 @@ Base.exports.PaperScript = function() {
168
// Returns the code between two nodes, e.g. an operator and white-space.
169
function getBetween(left, right) {
170
return code.substring(getOffset(left.range[1]),
171
- getOffset(right.range[0]) - 1);
+ getOffset(right.range[0]));
172
}
173
174
// Replaces the node's code with a new version and keeps insertions
0 commit comments