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

Adjust for 1-based column indexing #13

Merged
merged 1 commit into from
Jun 3, 2015

Conversation

rneatherway
Copy link
Contributor

Add unit test project to check parsing functionality is correct

@kjnilsson
Copy link
Contributor

Will this require changes on the consumer side?

@rneatherway
Copy link
Contributor Author

Probably, yes. This is making it how it was supposed to be all along (both lines and columns 1-based like FCS). However, Emacs was sending 0-based and so will need to be updated. I will broadcast this more widely when I release 0.18.

Add unit test project to check parsing functionality is correct
rneatherway added a commit that referenced this pull request Jun 3, 2015
Adjust for 1-based column indexing
@rneatherway rneatherway merged commit 640d507 into ionide:master Jun 3, 2015
@rneatherway rneatherway deleted the col-1-indexed branch June 3, 2015 21:11
@kjnilsson
Copy link
Contributor

Hmm - looking at my own code it seems I am already sending 1 based column indices. How did that ever work? :)

@rneatherway
Copy link
Contributor Author

For most operations FCS likes to be told the last character of an identifier as its location, so FSAC adjusts this for you and it ends up being quite robust to small mistakes.

vasily-kirichenko pushed a commit to vasily-kirichenko/FsAutoComplete that referenced this pull request Oct 14, 2016
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.

2 participants