Search found 95 matches

by edwinyzh
Mon Aug 01, 2022 3:40 am
Forum: Support
Topic: An error that happens when freeing the editor
Replies: 7
Views: 10818

Re: An error that happens when freeing the editor

Thanks Sergey,

I'm collect more details from the end user and try to reproduce (at least partially) the error and apply the changes you suggested.
by edwinyzh
Fri Jul 29, 2022 8:03 am
Forum: Support
Topic: Does TRichView support off-screen rendering?
Replies: 2
Views: 5934

Re: Does TRichView support off-screen rendering?

Great! Thanks!
by edwinyzh
Fri Jul 29, 2022 7:55 am
Forum: Examples, Demos
Topic: [Demo] Making PDF with table of contents using LLPDFLib
Replies: 3
Views: 42530

Re: [Demo] Making PDF with table of contents using LLPDFLib

Hi Sergey,

2022-12-18 update: Tested and it works.

Great! Thank you! I'll try it soon
by edwinyzh
Thu Jul 28, 2022 3:11 am
Forum: Support
Topic: Does TRichView support off-screen rendering?
Replies: 2
Views: 5934

Does TRichView support off-screen rendering?

Hi Sergey,

Does TRichView support off-screen rendering? I mean, to draw on a TCanvas, without actually displaying the control on a form.
by edwinyzh
Wed Jul 20, 2022 4:04 am
Forum: Support
Topic: An error that happens when freeing the editor
Replies: 7
Views: 10818

Re: An error that happens when freeing the editor

How was this TRichView created? Was in placed on a form or created in code? It's placed on a form, the form was modified from \RichViewActions\Demos\DelphiUnicode\ActionTest And this post ( Error when closing the editor form with cursor inside a table cell ) maybe related, because both error stops ...
by edwinyzh
Tue Jul 19, 2022 3:21 pm
Forum: Support
Topic: An error that happens when freeing the editor
Replies: 7
Views: 10818

Re: An error that happens when freeing the editor

Do you use the newest version of TRichView? What Delphi version do you use? Do you process events of TRichViewEdit? - Yes I do, I use v20.3.1, 2022-Jul-1 - I use XE4/win32 - Yes, some. And inspired by standay's reply above, the fact the the program uses a TTimer to do auto-save (to memory stream ...
by edwinyzh
Tue Jul 19, 2022 8:09 am
Forum: Support
Topic: An error that happens when freeing the editor
Replies: 7
Views: 10818

An error that happens when freeing the editor

Hi Sergey, An end user of my program reported an error that seems to happen when freeing the form and TRichViewEdit. From the call stack I couldn't find any hints, do you have any thought? PS, you must remember, my program uses xml persisting if it makes sense ;) operating system : Windows 10 x64 ...
by edwinyzh
Sun Jul 17, 2022 2:07 am
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Re: Is there a way to track TRVStyle changes?

That'll be great! Thanks!
by edwinyzh
Thu Jul 14, 2022 12:33 pm
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Re: Is there a way to track TRVStyle changes?

Sergey Tkachenko wrote: Thu Jul 14, 2022 10:44 am - modifying style templates in dialogs (unlike all other editing operations, modified styletemplates are applied to existing styles instead of addition of new styles)
I think I can modify the related dialog and track the style template changes for this scenario.
by edwinyzh
Thu Jul 14, 2022 1:29 am
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Re: Is there a way to track TRVStyle changes?

I also want to confirm - OnAddStyle can track all text-related and all style-related operations in a TRichViewEditor that might change content of the associated TRvStyle, correct?
by edwinyzh
Thu Jul 14, 2022 1:07 am
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Re: Is there a way to track TRVStyle changes?

Sergey Tkachenko wrote: Wed Jul 13, 2022 3:39 pm Ok, I'll change TRichViewXML. Please note that it will be called only if styles are merged, and not called when they are replaced.
Thanks! But is there a way to also track when the styles are replaced/changed? Because obviously in that case the styles also need to be saved.
by edwinyzh
Wed Jul 13, 2022 2:54 am
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Re: Is there a way to track TRVStyle changes?

So in other words, OnAddStyle is all I need?
Sergey Tkachenko wrote: Tue Jul 12, 2022 1:49 pm I do not remember if RichViewXML calls TRichView.OnAddStyle.
I did a search, RichViewXML does NOT calls TRichView.OnAddStyle. Would you fix it? Thanks.
by edwinyzh
Wed Jul 13, 2022 2:25 am
Forum: Support
Topic: Saving document with footnote/endnote as XML will cause error
Replies: 2
Views: 5966

Re: Saving document with footnote/endnote as XML will cause error

Assign SaveLineBreaks property = False. I'll fix it in the next update. Actually, this property is not too useful: it saves line breaks in places where text wraps. These line breaks cannot be loaded. This option does not affect saving true line breaks, they are always saved and loaded. I tried, it ...
by edwinyzh
Tue Jul 12, 2022 9:40 am
Forum: Support
Topic: Is there a way to track TRVStyle changes?
Replies: 9
Views: 13315

Is there a way to track TRVStyle changes?

Hi Sergey, Sorry for the several posts, I know you are in vacation, take your time :) Is there a way to track changes of all the style templates, para styles, text styles and list styles in a TRVStyle object? Currently all I can find is TCustomRichView.OnStyleTemplatesChange, but it doesn't seem to ...
by edwinyzh
Sun Jul 10, 2022 10:55 am
Forum: Support
Topic: Saving document with footnote/endnote as XML will cause error
Replies: 2
Views: 5966

Saving document with footnote/endnote as XML will cause error

I'm using the latest version of RichView. Saving document with footnote/endnote as XML will cause error. Steps to reproduce: - Open 'RichViewActions\Demos\DelphiUnicode\ActionTest' - Add a TRichViewXml (component property values are as following). - Compile and run, goto Insert -> Insert FootNote ...