Categories: AnnouncementTRichView

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components

The main new feature in this update is copying and pasting in Markdown format.

A trial version can be download here: https://www.trichview.com/download/ .

The installer files in this update are signed with a new code signing certificate. For a short time, browsers may treat the certificate change as suspicious and display warnings before running the files. Please don’t worry about these warnings — they will disappear once the new certificate gains reputation. Choose (if you use Edge browser) “keep” > “show more” > “keep anyway”, and then “more info” > “run anyway”. I’d really appreciate it if, when you download the file and see a warning about a suspicious file, you click “Report this file as safe”, and then “I think this is a safe website.” This may help reduce the amount of time Microsoft SmartScreen shows warnings for the installer.

Markdown in Clipboard

New methods: TRichView.CopyMarkdown and TRichViewEdit.PasteMarkdown. These methods are alternatives to CopyText and PasteText: they also copy/paste a plain text, but as Markdown.

There is no dedicated clipboard format identifier for Markdown, so it uses the same format as plain text.

TrvActionPasteSpecial (“Edit | Paste Special” command) supports pasting text as Markdown.

Item Factory

New RVItemFactory singleton object.

It allows you to override the classes used to represent the main types of items in a document – such as text, images, controls, and so on.

For example, if you want to create a custom class for representing images, inherit it from TRVGraphicItemInfo and assign its type to RVItemFactory.GraphicItemClass. Such a class must not change the item type identifier (StyleNo) – in this case, it should remain rvsPicture – because it is meant to replace TRVGraphicItemInfo, not extend it.

This approach is an alternative to creating new item classes with their own StyleNo identifiers.

Implementing custom item types to replace the standard ones is rarely necessary.
If you’re missing some functionality, feel free to send me a request.

Options for Compatibility with Microsoft Outlook

Our editor can be used to create HTML-formatted emails. However, keep in mind that not all email clients render HTML formatting perfectly. Some widely used clients, such as Microsoft Outlook, have their own quirks.

For example, Outlook does not support image sizes defined in CSS, which is why we previously introduced the rvhtmlsioImageSizeAttributes option in TRichView.HTMLSaveProperties.ImageOptions.

In this update, we’ve added another option to improve compatibility with Outlook: rvhtmlsioSuppressLinkUnderline. Outlook applies underlining not only to text, but also to images, causing all linked images to appear underlined. This new option explicitly disables underlining for images that are part of hyperlinks.

See the Outlook Automation example, where the TRichView editor is used to compose an email, which is then sent using Outlook.

RAD Studio 12.3: 64-bit IDE

This update adds support for the 64-bit IDE introduced in RAD Studio 12.3. If the 64-bit IDE is available, the installer will automatically install the components into both the 64-bit and the classic 32-bit IDEs.

Support for the 64-bit IDE is available only when installing using .dpk packages (which can be installed in both Delphi and C++Builder). Installation using .cbproj packages still supports only the 32-bit platform — and I don’t plan to change that. This installation method offers no real advantages, and I’d rather not spend time improving it. Thank you for understanding.

Sergey Tkachenko

Share
Published by
Sergey Tkachenko

Recent Posts

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

1 week ago

ANN: RVMedia 11.1 – error handling and UDP streaming

RVMedia 11.1 has been released Main new features: UDP streaming with FFmpeg improved error handling…

3 weeks ago

TRichView 23.1 – RichViewActions for Lazarus for Linux

We have released TRichView 23.1 and updates of related components The main new feature in…

3 months ago

IDEInstaller v2.4

We've released our installer program as freeware with source code:http://www.trichview.com/ideinstall/ It was updated to version…

4 months ago

TRichView 23 – Lazarus for Linux, equations in files

We have released TRichView 23 and updates of related components This update is free for…

4 months ago

RVMedia 11 – FireMonkey for macOS, remuxing

Trial version can be downloaded from https://www.trichview.com/download/ Full version: can be found in the protected section…

5 months ago