Skip to content

feat: show selected word count in status bar - #20

Open
willwang93 wants to merge 1 commit into
starc007:mainfrom
willwang93:feat/selected-word-count
Open

feat: show selected word count in status bar#20
willwang93 wants to merge 1 commit into
starc007:mainfrom
willwang93:feat/selected-word-count

Conversation

@willwang93

Copy link
Copy Markdown

Summary

Displays real-time word count for highlighted/selected text in the status bar.

Details

  • When text is highlighted in either the rich-text editor or Markdown source mode, the counter dynamically displays X of Y words (e.g. 14 of 350 words).
  • When the selection is cleared or empty, it smoothly reverts back to the standard Y words count.
  • Resets selection state cleanly when switching notes.
  • Tested: bunx tsc --noEmit passes cleanly and all 59 Rust tests in cargo test pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant