mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 06:36:00 +00:00
better current query UX
This commit is contained in:
@@ -189,13 +189,11 @@
|
||||
|
||||
currentPart = part;
|
||||
if (currentPart) {
|
||||
const start = currentPart.trimStart || currentPart.start;
|
||||
const end = currentPart.trimEnd || currentPart.end;
|
||||
currentPartMarker = editor
|
||||
.getSession()
|
||||
.addMarker(
|
||||
new ace.Range(currentPart.start.line, currentPart.start.column, currentPart.end.line, currentPart.end.column),
|
||||
'ace_active-line',
|
||||
'text'
|
||||
);
|
||||
.addMarker(new ace.Range(start.line, start.column, end.line, end.column), 'ace_active-line', 'text');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user