Hi Dimitry, Thanks for taking the time to look at the bug report, but please re-open issue 14635 becuase the CaretPos is definitely returning the wrong value for X.
I should have clarified in the report to load up an RTF file with about 30-40 lines of text in it Once the Caret gets to about line 24-26, the X values jumps to 4 then 7 and keep on increasing, as you move down for no apparent reason, even though the caret is still in the very first column all the time. Y seems to be behaving correctly, which I didn't notice earlier. Dominique. On Sat, 19 Sep 2009 11:32:47 -0400, <[email protected]> wrote: > On Sat, 19 Sep 2009 18:59:58 +0400, dmitry boyarintsev > <[email protected]> wrote: >> How do you check that CaretPos is out of sync? > > I have attached the updated uni1.* files to the following bug report... > http://bugs.freepascal.org/view.php?id=14635 > > Unzip them into your samples directory, compile project1.lpr and load up an > RTF file. > You should then be able to see the bug I'm reporting. That is probably > easier than me explaining it. > > NOTE : This demo is not 100% finished, but I've uploaded it as it shows the > CaretPos bug. > > I've also reported a bug relating to the CanUndo property and also a couple > of other Delphi compatibility feature requests. > > > Dominique. > > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
