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

Scroll line with error indication into view in the text editor #46

Closed
magjac opened this issue Sep 14, 2018 · 0 comments
Closed

Scroll line with error indication into view in the text editor #46

magjac opened this issue Sep 14, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@magjac
Copy link
Owner

magjac commented Sep 14, 2018

If there is an error in the DOT source code, but the error indication is not in the visible area of the text editor, it can be hard to find where the error is if the DOT source code is large. A function that scrolls the line with the error into view would simplify this.

Ideas:

  • Scroll automatically when an error occurs.
    • Probably requires some kind of filtering to avoid interfering with user scrolling.
      • No scroll if the error message and line number does not change.
      • No scroll if the error message and line number as counted from the end of the file does not change.
  • Scroll on user command.
    • Through a keyboard shortcut?
    • Through a button somewhere (not shown when error free)?
@magjac magjac added the enhancement New feature or request label Sep 14, 2018
@magjac magjac moved this from To do to In progress in Graphviz Visual Editor short-term activities Sep 14, 2018
@magjac magjac self-assigned this Sep 14, 2018
magjac added a commit that referenced this issue Sep 14, 2018
@magjac magjac moved this from In progress to Done but not yet merged in Graphviz Visual Editor short-term activities Sep 14, 2018
@magjac magjac closed this as completed in 92de0f4 Sep 15, 2018
Graphviz Visual Editor short-term activities automation moved this from Done but not yet merged to Done and merged but not yet released Sep 15, 2018
@magjac magjac moved this from Done and merged but not yet released to Done in latest release in Graphviz Visual Editor short-term activities Sep 16, 2018
@magjac magjac assigned magjac and unassigned magjac Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Graphviz Visual Editor short-term act...
  
Done in latest release
Development

No branches or pull requests

1 participant