Skip to content

Commit

Permalink
Merge pull request #229971 from microsoft/tyriar/227087_3
Browse files Browse the repository at this point in the history
jsdoc for selection view part
  • Loading branch information
Tyriar committed Sep 27, 2024
2 parents 449e524 + fd6dd87 commit 1977d59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/editor/browser/viewParts/selections/selections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ function toStyled(item: LineVisibleRanges): LineVisibleRangesWithStyle {
return new LineVisibleRangesWithStyle(item.lineNumber, item.ranges.map(toStyledRange));
}

/**
* This view part displays selected text to the user. Every line has its own selection overlay.
*/
export class SelectionsOverlay extends DynamicViewOverlay {

private static readonly SELECTION_CLASS_NAME = 'selected-text';
Expand Down

0 comments on commit 1977d59

Please sign in to comment.