code: function shouldCommitValueSemicolon(text, cursorPosition)
          {
              // FIXME: should this account for semicolons inside comments?
              var openQuote = "";
              for (var i = 0; i < cursorPosition; ++i) {
                  var ch = text[i];
                  if (ch === "\\" && openQuote !== "")
                      ++i; // skip next character inside string
                  else if (!openQuote && (ch === "\"" || ch === "'"))
                      openQuote = ch;
                  else if (openQuote === ch)
                      openQuote = "";
              }
              return !openQuote;
          }
docs: remove color swatch and the like