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

fix(ui): error highlighting on selections #1965

Merged
merged 3 commits into from Mar 22, 2022

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Mar 18, 2022

Fixes #1964

This fix ensures proper error marking for queries executed both at cursor position and selection:
CleanShot 2022-03-18 at 14 12 14@2x

By fine tuning the default word pattern regex provided by Monaco it also fixes errors in table names enclosed by single quotes:
CleanShot 2022-03-18 at 14 12 01@2x

@insmac insmac added Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console labels Mar 18, 2022
@bluestreak01 bluestreak01 merged commit 07579ee into master Mar 22, 2022
@bluestreak01 bluestreak01 deleted the ui-fix-error-highlighting branch March 22, 2022 20:05
argshook pushed a commit to questdb/ui that referenced this pull request Jun 8, 2022
argshook pushed a commit to questdb/ui that referenced this pull request Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web Console: put cursor in the error position when run is applied to selection only
3 participants