diff --git a/src/extensions/default/CSSCodeHints/main.js b/src/extensions/default/CSSCodeHints/main.js
index <HASH>..<HASH> 100644
--- a/src/extensions/default/CSSCodeHints/main.js
+++ b/src/extensions/default/CSSCodeHints/main.js
@@ -174,10 +174,9 @@ define(function (require, exports, module) {
                 }
                 if (TokenUtils.moveSkippingWhitespace(TokenUtils.moveNextToken, ctx) && ctx.token.string === ":") {
                     adjustCursor = true;
-                    newCursor = cursor;
-                    newCursor.ch = cursor.ch + (hint.length - this.info.name.length);
-                }
-                if (!adjustCursor) {
+                    newCursor = { line: cursor.line,
+                                  ch: cursor.ch + (hint.length - this.info.name.length) };
+                } else {
                     hint += ":";
                     end.ch++;       // Add one for the colon that we're appending.
                 }
Explicitly making a new cursor from the current cursor.