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

Does not always move to top of listing #7

Closed
kuhnt opened this issue Oct 2, 2023 · 3 comments
Closed

Does not always move to top of listing #7

kuhnt opened this issue Oct 2, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@kuhnt
Copy link
Contributor

kuhnt commented Oct 2, 2023

Check box "move to end of listing after solve" is disabled. After solving the model and having e.g. a compilation error, I sometimes end up in the middle of the listing and not in the beginning where I see the relevant errors. Sometimes it works, but I have not found a pattern for this bug yet.

@chrispahm chrispahm added the help wanted Extra attention is needed label Oct 3, 2023
@chrispahm
Copy link
Owner

Right now, there are 3 settings influencing how and where the LST is opened:
image

  1. "jumpToAbort": If set to true, will jump to the first abort statement encountered. This has top priority over the other settings
  2. "defaultParameterToJumpToAfterSolve": E.g. p_sumRes, will jump to the last position of the parameter if it is found in the LST
  3. "autoScrollToEndOfListing": If none of the two previous settings returned a line where the LST should be openend, it will automatically try to scroll to the LST.

We need to check if there is an abort statement or a reference to the "defaultParameterToJumpToAfterSolve" in cases where the LST is scrolled to the middle. Otherwise we need to narrow down when the bug occurs.

Another option would be to have a setting: "scroll to top if compilation errors are found"

@chrispahm
Copy link
Owner

Decided to implement "Scroll to top on compilation errors"

@chrispahm
Copy link
Owner

Implemented in 296ff29, please re-open if issue persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants