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

Line numbers should start from one not zero #1341

Closed
ghost opened this issue Jun 24, 2023 · 1 comment · Fixed by #1342
Closed

Line numbers should start from one not zero #1341

ghost opened this issue Jun 24, 2023 · 1 comment · Fixed by #1342
Labels
Status: Confirmed Verified by someone other than the reporter

Comments

@ghost
Copy link

ghost commented Jun 24, 2023

What Happened?

I noticed errors in my code pointed to, e.g. 45:20, however when focusing on that in Code, I got to the second digit in the variable/method/function.

Steps to Reproduce

  1. Get an error from a compiler with a line number
  2. Go there
  3. See error.

Expected Behavior

First line in a row should be X:1, not, X:0. In practice, this means doing +1 in GtkSourceView or Code.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@jeremypw
Copy link
Collaborator

I agree that column numbers should match those given by the compiler.

@jeremypw jeremypw added the Status: Confirmed Verified by someone other than the reporter label Jun 24, 2023
@jeremypw jeremypw changed the title Line numbers are messed up Line numbers should start from one not zero Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed Verified by someone other than the reporter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant