New after version 22

<< Click to display table of contents >>

New after version 22

Compatibility issues

New parameter (DarkMode) in TRVStyle.OnDrawStyleText. New parameters (Printing, ColorMode, DarkMode) in TRVStyle.OnApplyStyleColor. If you use these events, you need to correct declarations of event handlers accordingly.

New parameter (DarkMode) in TFontInfo.Draw.

Spelling Check

rvspellchecker New component: TRVSpellChecker. It performs spelling check in Windows, macOS, iOS, Linux (Linux version needs Hunspell). In FireMonkey, it can be used as a platform service (to check spelling in TEdit and TMemo).

Appearance

New properties of TRichView:

DarkMode inverts luminance of colors

UseFMXThemes [FMX] allows using text color from FireMonkey style.

New property of TRVPrint and TRVReportHelper:

DarkMode inverts luminance of colors (when drawing on a canvas or printing)

New property of TRVPrintPreview:

DarkModeUI inverts luminance of colors in user interface of this component.

New global functional variable: RVGetSystemColor allows using custom color schemes in VCL applications.

Images

This version implements drawing TMetafile images using GDI+ function (VCL). It provides higher quality of drawing, including anti-aliased lines.

To use this feature, add RVGDIPlusGrIn unit in your project.

Files

Markdown

New optional parameter CodePage for TRichView.SaveMarkdown, SaveMarkdownToStream allows to specify text encoding.

Universal loading methods

New optional CodePage parameter of LoadFromFile, LoadFromFileEx and LoadFromStream, LoadFromStreamEx specifies encoding for loading plain text and Markdown.

Database and LiveBindings

New option is added to TRVDBFieldFormat: rvdbMarkdown. It allows saving data to a database field in Markdown format.

New properties: TDBRichView.AllowMarkdown, TDBRichViewEdit.AllowMarkdown, TRichView.Document.AllowMarkdown allow loading Markdown from database fields (instead of plain text)

New properties: TDBRichView.CodePage, TDBRichViewEdit.CodePage, TRichView.Document.CodePage specify codepage for saving/loading Markdown and plain text from database fields.