Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lineCharacterOffset generating a negative value #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maverck
Copy link

@maverck maverck commented Jun 16, 2020

lineCharacterOffset = lineText.length - 1;

this line results in a negative value sometimes? and the extension crashes and no longer provides completion.
I clamped the value so it can't be negative.

@ghedwards
Copy link

ghedwards commented Nov 24, 2020

Can this be merged , this seems to prevent issues where I have to restart VSCode to resolve them currently

@ghedwards
Copy link

Ping!? could this be merged ?

@pczarn2
Copy link

pczarn2 commented Feb 1, 2023

@KamasamaK just wondering if you saw this merge request?

@garethedwards-tass
Copy link

This is fixed in my latest fork https://github.com/garethedwards-tass/vscode-cfml turns out the fix was more involved than this specific change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants