edbee / edbee-lib

QWidget based Text Editor Component for Qt. Multi-caret, Textmate grammar and highlighting support.
Other
75 stars 26 forks source link

Double-click + drag should end at word boundaries #114

Closed ethorondil closed 3 years ago

ethorondil commented 3 years ago

If you double-click in edbee, it selects a word. This is standard across editors. But in most editors, if you double click and then drag the mouse, you continue to select sequences of words -- the left and right endpoints are expanded to include words. In edbee it gives strange behavior (the right endpoint is directly under the cursor, the left endpoint is the left end of the initial word).

Also, triple-click should let you select sequences of lines.

gamecreature commented 3 years ago

I agree edbee should behave like other editors. Thanks for noticing!

gamecreature commented 3 years ago

Now it behaves correctly