Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
Hello Antonio Please note that Undo is part of the WSCustomMemo, thus it should not be reintroduced in RichMemo. Other attributes getting methods are just duplicates of the existing method GetTextAttribute. Sorry - not acceptable. . thanks, Dmitry --

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
GetTextAttribute depends on SelStart and it causes errors. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 9:55 AM, Antônio antoniog12...@gmail.com wrote: GetTextAttribute depends on SelStart and it causes errors. GetTextAttributes accepts start/end of the text. Which can be different than SelStart value. thanks, Dmitry -- ___

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
Windows RichEdit messages refer to selection, you don't need to refer to text range. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 9:59 AM, Antônio antoniog12...@gmail.com wrote: Windows RichEdit messages refer to selection, you don't need to refer to text range. Windows specific implementation has no effect on the interface of RichMemo. However, if there's a glitch in the Windows implementation

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
Of course I could not see your implementation because I could not install any other version than 3703 revision. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
Does RichMemo work fine in Linux? Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 11:56 AM, Antônio antoniog12...@gmail.com wrote: Does RichMemo work fine in Linux? It does work fine to a certain extent. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
Why not to implement it on Windows in a way it works fine on this OS? Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 1:47 PM, Antônio antoniog12...@gmail.com wrote: Why not to implement it on Windows in a way it works fine on this OS? Gtk development team failed to copy WinAPI obviously. But to be more serious, Gtk doesn't provide RTF native reading. thanks, Dmitry --

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Antônio
You can joke or you can implement RichEdit on Windows. The choice is yours. See lzRichEdit implementation. Antônio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread waldo kitty
On 11/10/2014 3:27 PM, Frederic Da Vitoria wrote: 2014-11-09 12:27 GMT+01:00 Antônio antoniog12...@gmail.com: Sorry for the big message, Gnail hides me the rest of the message. After clicking on the answer button, press Down twice (which selects the ellipsis) then press Enter and voilà,