1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小改动

This commit is contained in:
2024-04-09 01:41:26 +08:00
parent 924add33cd
commit d45c3a5f41
2 changed files with 4 additions and 4 deletions

View File

@@ -27,10 +27,10 @@ const userSelection: UserSelection = {
export function onUserSelectionUpdated(selections: readonly vscode.Selection[], textList: string[], eol: EOL): void {
userSelection.currentSelections = selections;
if (textList.length !== 0 && isStringArrayEqual(textList, userSelection.lastConvertedSelectionsText)) {
console.log('skip onUserSelectionUpdated');
// console.log('skip onUserSelectionUpdated');
return;
}
console.log('onUserSelectionUpdated', textList, userSelection.lastConvertedSelectionsText);
// console.log('onUserSelectionUpdated', textList, userSelection.lastConvertedSelectionsText);
userSelection.currentEol = eol;
userSelection.currentSelectionsText = textList;
userSelection.currentIndex = 0;