And here is a version of this code that does not use editing methods (so it is not undoable). It adds new content to the very end of the document. The code uses GetTextStyleWithTemplate from the previous code sample. This code still creates styles basing on CurTextStyleNo and CurParaStyleNo, so the ...

And here is the alternative code doing the same thing. Instead of inserting and then applying style, we construct a proper text style, assign it to the current text style, and then insert text. A new text will be formatted accordingly. function GetTextStyleWithTemplate(rvs: TRVStyle; StyleNo: Intege...

I can see two possible problems with this code. 1) StyleTemplates can be applied either to a text or to a paragraph. As I can understand, you want to apply to the selected text, not to its paragraph. You use ApplyStyleTemplate method which applies style depending on the selection and the StyleTempla...

By "templates", do you need RVStyle.TextStyles?
Do you want to add new content to the very end of existing document, starting from a new line? Or do you want insert in the middle of document?
Should this operation be undoable by user?

1) Right click this TRichViewEdit at design time, choose "Settings" in the context menu, select "Allow adding styles dynamically"
and
2) Make sure that this TRichViewEdit is linked to its own TRVStyle component (no other TRichViews use this TRVStyle)

The TRichView trial version for Delphi 5 is compiled with the standard ZLib version included in Delphi 5. As I can see, you have third-party ZLib implementation. While, most probably, the full TRichView version can be compiled with this custom version of ZLib, the trial cannot. To install TRichView ...

Initially, all actions from RichViewActions have temporal Caption and Hint.
To assign the proper captions and hints, call
RVA_LocalizeForm(<form or datamodule, containing the actions>);
In your example, call

All our RichViewActions use standard hints, the same hints as other components. To show tooltip windows, make sure that ShowHint properties of all toolbar buttons = True. (you can set Form.ShowHint = True; by default, ParentShowHint = True for all controls, and they use ShowHint property of the pare...

It looks like the 64-bit compiler/linker has a limitation on the path length. TRichView paths are: C:\VCL\TRichView\TRichView\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RichViewActions\Source\Delphi64\XE8\Release; C:\VCL\TRichView\RvHtmlImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RvXml\S...

Yes, if you choose "Install C++Builder packages", they will be installed only in 32-bit. Unfortunately, I was not able to create 64-bit CBPROJ packages that RAD Studio was able to compile. Choose another option instead: "Install Delphi packages". It should work even if you do not have Delphi persona...

New demo: ClientServer\VideoChat\Lecture\ This demo contains two client applications: Student and Lecturer . Like all other VideoChat demos, they work together with ClientServer\VideoChat\Server. This demo shows: - how to use two cameras in the same chat client (new MediaChannel feature) - how to u...