CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

Character count not working for multiple selection

Open mu373 opened this issue 6 years ago • 1 comments

Environment

  • CotEditor: 3.7.8 (360)
  • System: macOS Version 10.14.5 (Build 18F203)
  • Language: English

Short Description

When multiple words/sentences are selected with command key, the character/word count are not updated. (Should be 8 character for this case?)

image

Steps to Reproduce the Issue

Select words/sentences with command key

Expected Result

Although I'm not sure if this behavior is as expected, I thought that it is more natural to count all the text selected.

mu373 avatar Jul 22 '19 10:07 mu373

Hmm, this is in spec currently.

Well, I can change this (though the calculation cost increases), but I'm not sure which implementation makes more sense for most of the users:

  1. Display only the count of the first selection.
  2. Display the total count of all selections.

I suppose this is just preference, and the current implementation is enough...

1024jp avatar Oct 18 '19 01:10 1024jp

Sorry for taking a long time. But in the next version, CotEditor 4.5.0, the characters/lines/words count will display the total count of all selections.

1024jp avatar Mar 13 '23 10:03 1024jp

Thank you for implementing this. I really appreciate your continuous effort in developing the application, even addressing such feature request from the past!

mu373 avatar Mar 14 '23 01:03 mu373