zorgiepoo / Komet

Cocoa editor for creating commit messages
MIT License
180 stars 5 forks source link

Feature Request: Rulers would help #35

Open aubreypwd opened 1 month ago

aubreypwd commented 1 month ago

I know you highlight text that go outside of the recommended ranges, but often I hit it, have to back arrow and return right before it. I think having visual rulers would help avoid going over those boundaries.

image
zorgiepoo commented 1 month ago

Feature request.

A vertical ruler line may need to change if you’re editing subject line or a body line. And be disabled if the user uses a proportional sized font. And also account for line wrap.

I’m not sure it is something I want to use myself or how tricky it would be to implement.

aubreypwd commented 1 month ago

Another way to implement this w/out actual rulers would be to have a counter that counts how many characters for the line you have typed.

This way, as I type, you can 1) see how many characters it takes to get to the length and 2) avoid writing something over that length.

zorgiepoo commented 1 month ago

Indeed that would be easier. Maybe inversely a counter indicating how many characters are left up to the limit though.

I'm still not sure I'd use this myself.

but often I hit it, have to back arrow and return right before it

Often when I cross the limit, and don't want to, I may want to revise words in the middle of the sentence. So for example I may still cross the limit initially to complete my thought, but revise the structure after. That is to say this example brought up in the screenshot, which joins two different clauses, is not illustrative of what always happens..