Skip to content

Commit

Permalink
chore: comment suggesting use of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
MayurSMahajan committed Aug 25, 2023
1 parent a9af2bb commit 900b60d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/src/core/location/selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ class Selection {
}) : start = Position(path: path, offset: startOffset),
end = Position(path: path, offset: endOffset ?? startOffset);

/// deprecated: use [Selection.collapse] instead.
/// Create a collapsed selection with [position].
///
Selection.collapsed(Position position)
: start = position,
end = position;
Expand Down

0 comments on commit 900b60d

Please sign in to comment.