Patent Document ID: 8522133
Application ID: 13161997

Base Claim:
1. A method comprising: generating a sequence of tokens, each token being an integer representation of a respective sequence of characters that is included in a style sheet, each token corresponding to a respective character position that indicates a position of that token in the style sheet; identifying a designated token in the sequence of tokens that includes a user-initiated change, the designated token following a first subset of the tokens in the sequence of tokens and preceding a second subset of the tokens in the sequence of tokens; determining whether the user-initiated change is identified as a type of change that changes no attributes, other than the character positions, of the tokens in the second subset of the tokens; and determining whether the second subset of the tokens is to be re-tokenized, including: determining that the second subset of the tokens is not to be re-tokenized if the user-initiated change is identified as a type of change that changes no attributes, other than the character positions, of the tokens in the second subset of the tokens, but determining that the second subset of the tokens is to be re-tokenized if the user-initiated change is not identified as a type of change that changes no attributes, other than the character positions, of the tokens in the second subset of the tokens.

---

Claim 9:
9. The method of claim 1 , further comprising: assigning a plurality of specified subsets of the tokens that are included in the sequence of tokens to a plurality of respective hierarchical node trees, each hierarchical node tree defined by a plurality of hierarchical levels that includes a plurality of respective subsets of a plurality of nodes among which the tokens in the respective specified subset are included, each node in the plurality of nodes having a respective character position that indicates a position of that node in the style sheet.