Adjust getInfoAtPos() api implementation to changes in CM v3 changes in tokenizer.