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

Bracket highlighting makes Query tab editor unresponsive #1978

Open
heated opened this issue Mar 14, 2024 · 1 comment
Open

Bracket highlighting makes Query tab editor unresponsive #1978

heated opened this issue Mar 14, 2024 · 1 comment
Labels
Bug Something isn't working Feature Request New feature or request PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution

Comments

@heated
Copy link

heated commented Mar 14, 2024

  • Sequel Ace Version (including build number): Version 4.0.5 — Build 20046
  • Sequel Ace Source (App Store/GitHub/Homebrew): App Store
  • macOS Version: 14.2.1 (23C71)
  • Processor Type (Intel/Apple): Apple
  • MySQL Version: 8.1.0 locally, but the server I'm connecting to is some version of 8
  • macOS Localization: English

Is Issue Present in Latest Beta?

I'm not going to check this.

Description
I have 1000 lines of queries in the Query tab editor. For a long time leading up to this point, even when I only had 300 or 500 lines in the editor, whenever I typed the character ")" (or "("? can't remember exactly), the editor would lock up for a second or two. The amount of time it locked up increased with the number of lines I had in the editor, up to the 10-15 seconds it is today. I finally turned off bracket highlighting today and there's no issue with it off.

Steps To Reproduce

  1. Have 800 lines of queries and bracket highlighting on.
  2. Type ")"

Expected Behaviour

Editor is responsive.

Related Issues

#413
#638
#1071

Additional Context

Keywords: slow, parenthesis, parentheses, performance

@gcanyon
Copy link

gcanyon commented Mar 14, 2024

I find a similar result just clicking after ( when the query is large.

MacOS 13.5.2
Sequel Ace 4.0.11

Likewise, turning off Bracket Highlighting entirely fixes the issue.

@Jason-Morcos Jason-Morcos added Bug Something isn't working Feature Request New feature or request PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Feature Request New feature or request PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution
Projects
None yet
Development

No branches or pull requests

3 participants