Search found 57 matches

by Vitalii
Thu Jun 13, 2024 3:17 pm
Forum: Support
Topic: How to use Redo after TRVUndoList.AddInfo?
Replies: 4
Views: 214

Re: How to use Redo after TRVUndoList.AddInfo?

Yep, I need to add "AddUndo" to the Undo method. Thank you, Sergey)
by Vitalii
Thu Jun 13, 2024 10:31 am
Forum: Support
Topic: How to use Redo after TRVUndoList.AddInfo?
Replies: 4
Views: 214

Re: How to use Redo after TRVUndoList.AddInfo?

Yes, implementation of the TRVUndoModifyMathObject.Undo is here: procedure TRVUndoModifyMathObject.Undo(RVData: TRichViewRVData); var ItemInfo: TRVMathObjectItemInfo; begin if FItemNo > -1 then begin ItemInfo := TRVMathObjectItemInfo(RVData.GetItem(FItemNo)); if Assigned(ItemInfo) then begin ItemInf...
by Vitalii
Wed Jun 12, 2024 5:34 pm
Forum: Support
Topic: How to use Redo after TRVUndoList.AddInfo?
Replies: 4
Views: 214

How to use Redo after TRVUndoList.AddInfo?

Hi, I have read other forum threads regarding "Custom Undo" operations, but I did not find an answer. Based on this topic , I implemented a custom Undo class, and it works fine: class procedure TRVUndoModifyMathObject.AddUndo(RVData: TRichViewRVData; ItemInfo: TRVMathObjectItemInfo); var E...
by Vitalii
Wed May 22, 2024 5:42 am
Forum: Support
Topic: TRVMathItemInfo.TextColor problem on existing objects
Replies: 2
Views: 1548

Re: TRVMathItemInfo.TextColor problem on existing objects

Thank you Sergey, by email would be great.
by Vitalii
Wed May 08, 2024 10:37 am
Forum: Support
Topic: TRVMathItemInfo.TextColor problem on existing objects
Replies: 2
Views: 1548

TRVMathItemInfo.TextColor problem on existing objects

I have a problem with setting the TRVMathItemInfo.TextColor property. When the formula is created (a new one is added), this property works fine. But when the formula already exists and I try to change the TextColor, nothing happens. The same problem occurs with the visual formula editor TfrmRVMathE...
by Vitalii
Sun Jan 29, 2023 9:29 pm
Forum: Support
Topic: Problem with STIX Math font
Replies: 8
Views: 6471

Re: Problem with STIX Math font

I commented the code and tested AME's solution. The fonts "STIXTwoMath-Regular.otf" and "STIXTwoMath-Regular.ttf" failed anyway (now the AV appears in a different place). It seems to me that the engine does not work properly with some characters, because the font "STIXTwoMat...
by Vitalii
Sat Jan 28, 2023 11:23 pm
Forum: Support
Topic: Problem with STIX Math font
Replies: 8
Views: 6471

Re: Problem with STIX Math font

I experimented a bit and this is what I found. The STIX font set includes several math fonts: - STIXTwoMath-Regular.otf (from the "fonts > static_otf" subfolder, 819 KB) - STIXTwoMath-Regular.ttf (from the "fonts > static_ttf" subfolder, 1483 KB) Both of these fonts result in an ...
by Vitalii
Sat Jan 28, 2023 10:49 pm
Forum: Support
Topic: Problem with STIX Math font
Replies: 8
Views: 6471

Re: Problem with STIX Math font

Sergey Tkachenko wrote: Sat Jan 28, 2023 8:02 pm Do you have some custom memory manager installed in Delphi?
I don't use custom memory managers, but If we need a more detailed analysis, I am ready.
by Vitalii
Sat Jan 28, 2023 10:20 am
Forum: Support
Topic: Problem with STIX Math font
Replies: 8
Views: 6471

Re: Problem with STIX Math font

Yes, I am attaching the ZIP. The archive contains a test application and screenshots.
I use the latest version of RV.
And here I recorded the sequence of my actions on video:
https://dystlab.store/download/gftruiw/ ... 120859.wmv
by Vitalii
Fri Jan 27, 2023 3:09 pm
Forum: Support
Topic: Problem with STIX Math font
Replies: 8
Views: 6471

Problem with STIX Math font

Hi, I have a problem with the "STIXTwoMath-Regular" math font. It is a very common and functional font. But when I try to use it (just select from ComboBox in the Equation Editor), I get AV. I can't attach the font to this post, it's 819 kB. But you can download it freely here: https://git...
by Vitalii
Fri Oct 14, 2022 12:23 pm
Forum: Support
Topic: Access Violation when I press CTRL+A on the header
Replies: 4
Views: 4827

Re: Access Violation when I press CTRL+A on the header

Ok, thanks for the clarification!
by Vitalii
Fri Oct 14, 2022 10:32 am
Forum: Support
Topic: Access Violation when I press CTRL+A on the header
Replies: 4
Views: 4827

Re: Access Violation when I press CTRL+A on the header

OK, I have already sent a letter with an example. It seems that this bug appears only if there is a table in the Header. I'm assuming that the table has a dynamic editor and catches the appropriate events, and that's where RVData=nil can be. To reproduce issue: 1. Set event handler for SRichViewEdit...
by Vitalii
Thu Oct 13, 2022 10:26 am
Forum: Support
Topic: Access Violation when I press CTRL+A on the header
Replies: 4
Views: 4827

Access Violation when I press CTRL+A on the header

Hi, I am getting Access Violation when I press CTRL+A on the header (TSRichViewEdit). Debugger shows that the property RVData=nil in the methods TCustomRichViewEdit.KeyDown and TCustomRichView.KeyDown. I set a temporary check at the beginning of the method: if RVData = nil then Exit; But perhaps a b...
by Vitalii
Sat Jun 04, 2022 10:16 am
Forum: Support
Topic: Inserted item is not updated until you click the mouse
Replies: 6
Views: 4459

Re: Inserted item is not updated until you click the mouse

Thank you very much! It solves everything.
by Vitalii
Sat Jun 04, 2022 7:07 am
Forum: Support
Topic: Inserted item is not updated until you click the mouse
Replies: 6
Views: 4459

Re: Inserted item is not updated until you click the mouse

Sergey, I reproduced the issue in the small application (see attached file). 1. Insert equation using "Equation" button --> OK 2. Double click equation to open editor --> OK 3. Edit equation (make some changes), close editor --> NOT OK Theoretically, in step 3 (after closing the editor) we...