rxi / lite

A lightweight text editor written in Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mouse double-click selection bug

mjoork opened this issue · comments

Bug or feature?

When you select a word by double-clicking it and then you click on other line, often it selects the whole line.

Expected behaviour

The text is unselected and the caret is in the position where the user clicked.

selection.mp4

Ah, I see! It comes from the fact that after double-click selecting a word, I can further click to select the whole line, but not necessarily the same line. Is this intended?