[Lazarus] IDE-SynEdit Caret Color

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Jul 18 18:41:43 CEST 2017


On Tue, Jul 18, 2017 at 12:33 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:

> On Tue, Jul 18, 2017 at 11:38 AM, Alexey via Lazarus <
> lazarus at lists.lazarus-ide.org> wrote:
>
>> Caret should paint via pmNotXor (or pmXor) pen mode. MacOS WS bug - it
>> paints it always black. Win32 should paint Ok.
>
>
> A stand-alone project with SynEdit, draws the caret as expected (with
> internal colors)
> However, IDE caret always appears to be black. Drawing of the caret
> doesn't seem to be happening via WS.
>
> So I'm wondering is multi-caret / Internal synedit drawing is enabled at
> all time.
>

Just like Martin said - the internal painter is used.

The code of the internal caret painter sets pmNotXor mode when drawing
lines.
The value seems to be ignored by WS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170718/d320ddf9/attachment-0001.html>


More information about the Lazarus mailing list