-
Notifications
You must be signed in to change notification settings - Fork 231
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
Incorrect code location for functions defined in standard input #3415
Milestone
Comments
Ah yes I should have noticed this from the getHistory lines in code.m2. |
This is actually more complicated than I expected.
I'm not sure if I have time to debug this. We can disable history if this is too complicated to resolve. |
d-torrance
added a commit
to d-torrance/M2
that referenced
this issue
Aug 18, 2024
When reading the history from a file, we need to add the number of lines loaded from previous sessions when calling getHistory to get the correct lines of code. Closes: Macaulay2#3415
I think I figured it out -- see #3416. |
d-torrance
added a commit
that referenced
this issue
Aug 21, 2024
When reading the history from a file, we need to add the number of lines loaded from previous sessions when calling getHistory to get the correct lines of code. Closes: #3415
Devlin-Mallory
pushed a commit
to Devlin-Mallory/M2
that referenced
this issue
Aug 30, 2024
When reading the history from a file, we need to add the number of lines loaded from previous sessions when calling getHistory to get the correct lines of code. Closes: Macaulay2#3415
Closed by #3416 |
mgacummings
pushed a commit
to mgacummings/M2
that referenced
this issue
Oct 19, 2024
When reading the history from a file, we need to add the number of lines loaded from previous sessions when calling getHistory to get the correct lines of code. Closes: Macaulay2#3415
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since #3403:
I suppose the solution would be to keep track of how long the history is when we start M2 and add that to the line number when finding the code.
The text was updated successfully, but these errors were encountered: