Recent

Author Topic: CopyToClipboard  (Read 3070 times)

rick2691

  • Sr. Member
  • ****
  • Posts: 393
Re: CopyToClipboard
« Reply #15 on: October 14, 2021, 04:28:34 pm »
I have been trying to get rid of the erratic italics problem, but with no success.

So I looked in RichMemoUtils for the CopyRichText functions ...

I have questions about the following:

_CopyDirect ... variables: ofs, ln, fnt  ...do not appear to be initialized.

I see that GetTextAttributes conditionally sets ofs & ln, but I haven't noticed anything for when they are outside the condition.

I also don't see how InitFontParams is assigning anything to variable fnt, and it doesn't appear to be initialized before going to the function.

Rick
Windows 10, LAZ 2.0.12, FPC 3.2.0, SVN 64642, i386-win32-win32/win64, using windows unit

 

TinyPortal © 2005-2018