We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe108c commit 63c1715Copy full SHA for 63c1715
common/src/lib.rs
@@ -707,8 +707,8 @@ pub struct TextPosition {
707
pub struct TextSelection {
708
/// The position where the selection started, and which does not change
709
/// as the selection is expanded or contracted. If there is no selection
710
- /// but only a caret, this must be equal to [`focus`]. This is also known
711
- /// as a degenerate selection.
+ /// but only a caret, this must be equal to the value of [`TextSelection::focus`].
+ /// This is also known as a degenerate selection.
712
pub anchor: TextPosition,
713
/// The active end of the selection, which changes as the selection
714
/// is expanded or contracted, or the position of the caret if there is
0 commit comments