function LineMarker(id, internalDecorationId, position, stickToPreviousCharacter) {
            this.id = id;
            this.internalDecorationId = internalDecorationId;
            this.position = position;
            this.stickToPreviousCharacter = stickToPreviousCharacter;
        }
Find the token containing offset `offset`.
```
  For example, with the following tokens [0, 5), [5, 9), [9, infinity)
  Searching for 0, 1, 2, 3 or 4 will return 0.
  Searching for 5, 6, 7 or 8 will return 1.
  Searching for 9, 10, 11, ... will return 2.
```
@param offset The search offset
@return The index of the token containing the offset.