mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 01:55:59 +00:00
fixed current part query detection
This commit is contained in:
@@ -235,7 +235,8 @@
|
||||
((cursor.row == x.start.line && cursor.column >= x.start.column) || cursor.row > x.start.line) &&
|
||||
((cursor.row == x.end.line && cursor.column <= x.end.column) || cursor.row < x.end.line)
|
||||
);
|
||||
if (part?.text != currentPart?.text) {
|
||||
|
||||
if (part?.text != currentPart?.text || part?.start?.position != currentPart?.start?.position) {
|
||||
removeCurrentPartMarker();
|
||||
|
||||
currentPart = part;
|
||||
|
||||
Reference in New Issue
Block a user