Skip to content

Commit 1727ef4

Browse files
committed
fix: integ test failures after cursoractivity fix
1 parent 01337a8 commit 1727ef4

File tree

1 file changed

+3
-1
lines changed
  • src/extensionsIntegrated/HtmlTagSyncEdit

1 file changed

+3
-1
lines changed

src/extensionsIntegrated/HtmlTagSyncEdit/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ define(function (require, exports, module) {
237237

238238
function cursorActivity() {
239239
const cursor = activeEditor.getCursorPos();
240-
if(activeEditor.hasMultipleCursors() || activeEditor.hasSelection()){
240+
const sel = activeEditor.getSelection();
241+
const multiLineSelection = sel.start.line !== sel.end.line;
242+
if(activeEditor.hasMultipleCursors() || multiLineSelection){
241243
clearRenameMarkers();
242244
return;
243245
}

0 commit comments

Comments
 (0)