Index: Source/devtools/front_end/sources/CSSSourceFrame.js |
diff --git a/Source/devtools/front_end/sources/CSSSourceFrame.js b/Source/devtools/front_end/sources/CSSSourceFrame.js |
index 3feba90437b4b7e63088cbefe0f28e886c55d7bb..bd90f3f1e7b5ff0fc316f9681c721d3560a78b54 100644 |
--- a/Source/devtools/front_end/sources/CSSSourceFrame.js |
+++ b/Source/devtools/front_end/sources/CSSSourceFrame.js |
@@ -84,7 +84,7 @@ WebInspector.CSSSourceFrame.prototype = { |
if (token.type !== "css-number") |
return false; |
- var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.startLine, token.endColumn + 1); |
+ var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.startLine, token.endColumn); |
var cssUnitText = this.textEditor.copyRange(cssUnitRange); |
var newUnitText = this._modifyUnit(cssUnitText, change); |
if (!newUnitText) |