silvermast/torqle

QueryEditor does not always highlight "active" query under cursor

Open

#15 opened on Nov 23, 2024

 (0 comments) (0 reactions) (0 assignees)Vue (0 forks)auto 404
bugfrontendgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

When writing a query, there's logic to highlight the active query based on cursor location. For SQL connections, if you type out a query, then ;, then hit enter, it's not finding the query just before the cursor.

Update the "Query Under Cursor" logic to support looking backwards for a query if nothing exists after the cursor.

Contributor guide