mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 04:36:00 +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.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)
|
((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();
|
removeCurrentPartMarker();
|
||||||
|
|
||||||
currentPart = part;
|
currentPart = part;
|
||||||
|
|||||||
Reference in New Issue
Block a user