gonutz / wui

Windows GUI library for Go (Golang). Comes with a graphical UI designer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ctrl+Backspace scrolls left

gonutz opened this issue · comments

In a text field, write a long line that makes the field scroll right. Then use Ctrl+Backspace to delete the last word. The cursor will be positioned correctly but the view will be scrolled all the way to the left.

The problem is probably the call to SetText on Ctrl+Backspace. By replacing the whole text, the view seems to get reset.