-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Open
Labels
apifeature-requestRequest for new features or functionalityRequest for new features or functionalitytokenizationText tokenizationText tokenization
Milestone
Description
From @billti on November 1, 2015 6:10
The API call document.getWordRangeAtPosition(position) appears to use its own definition of a word. For example, my tmLanguage defines attrib-name as a token/scope, yet getWordRangeAtPosition appears to break this into 2 words on the - character.
How can I get token ranges at a position based on my custom syntax? (And it would be really useful if I could get the scope name that goes along with it too).
Copied from original issue: Microsoft/vscode-extensionbuilders#76
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apifeature-requestRequest for new features or functionalityRequest for new features or functionalitytokenizationText tokenizationText tokenization