Skip to content

Commit b53096f

Browse files
committed
Clean code
1 parent 687d827 commit b53096f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

addons/addon-search/src/SearchAddon.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ export class SearchAddon extends Disposable implements ITerminalAddon , ISearchA
351351
let resultIndex = -1;
352352
if (this._selectedDecoration.value) {
353353
const selectedMatch = this._selectedDecoration.value.match;
354-
// Problem: this.highlightDecorations.length was showing all lines of highlighted.
355354
for (let i = 0; i < this._searchResultsWithHighlight.length; i++) {
356355
const match = this._searchResultsWithHighlight[i];
357356
if (match.row === selectedMatch.row && match.col === selectedMatch.col && match.size === selectedMatch.size) {

0 commit comments

Comments
 (0)