[Lazarus] Possible bug in TEdit, can somebody reproduce this?

Vladimir Zhirov vvzh.lists at gmail.com
Sun Apr 24 18:50:35 CEST 2011


> Is the value of SelStart correct when you type over the
> selection? There were some changes handling this (for GTK2) in
> r26253 (issue #16678).

Yes, it looks correct (i.e. corresponds to visual cursor
position). Given TFooBar example:

(selecting Foo)
T[Foo]Bar   SelStart = 1
(pressing X)
TBX|ar      SelStart = 3

(Tested with GTK 2.16.6)




More information about the Lazarus mailing list