On Friday 16 October 2015 15:42:34 Graeme Geldenhuys wrote:
>
> I can reproduce this at any time. It always happens.
>
Good, I'll check it.

> > Maybe all this effects have the same reason.
>
> Could be. I never thought the syntax highlighter would affect the source
> editor's functionality, but I think you hit the nail on the head. If I
> switch back to the default 'pascal.sdef', then this bug goes away, and
> pasting text is as you would expect. Switch to my 'pascal_dark.sdef',
> then the issue is back again.
>
> Why does the syntax highlighter affect the editor functionality? I would
> have thought it only affects painting colours.
>
The MSEgui ttextedit uses "richstringty" as string type which combines format 
and text info so there can be "interferences". ;-)
If you are interrested, the code is here:
https://gitlab.com/mseide-msegui/mseide-msegui/raw/master/lib/common/kernel/mserichstring.pas

Martin

------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to