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

Luiz Americo Pereira Camara luizmed at oi.com.br
Sun Apr 24 01:20:22 CEST 2011


On 23/4/2011 20:01, Bernd wrote:
> Linux GTK2
>
> Before I file a bug, please somebody try and confirm:
>
> Steps to reproduce:
> 1: put a TEdit onto a form and compile and run the application
> (or alternatively just open one of the IDE's dialogs which contains a
> TEdit like for example refactor ->  rename)
>
> 2. write some text into it and then select a few characters in the
> middle of the word. For example I will write the text
> "TFooBar" into the TEdit and then select the three letters "Foo".
> Then press any (printable) key.
>
> 3: I expect it to look like this (I have pressed X and the | marks the
> position of the caret), this is what I expect:
> TX|Bar
>
> 4. And this is what happens:
> TBX|ar
>
> It removes the "Foo" as expected but then jumps over the B and inserts after it.
>
> This is very annoying, its already slowly starting to influence the
> way I edit text in all other applications. Can somebody confirm this

I can confirm

Luiz





More information about the Lazarus mailing list