aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorwes adams2022-11-12 17:31:09 +0000
committerGitHub2022-11-12 17:31:09 +0000
commitfd585c1ee4ae0ac541f99b5e69a40833f5e3246d (patch)
treefdc6975abf46a54ad257571a5bb6bb29de4d834b /helix-view
parent1f72d342493206b83ed82efd402aca712eaffbf8 (diff)
Statusline indicator to show number of selected chars (#4682)
Co-authored-by: wes adams <wadams@grayshift.com>
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index db97cbb1..213141ff 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -328,6 +328,9 @@ pub enum StatusLineElement {
/// The number of selections (cursors)
Selections,
+ /// The number of characters currently in primary selection
+ PrimarySelectionLength,
+
/// The cursor position
Position,