ScaleRichView actions.
Adds smooth scrolling to TRichView and ScaleRichView editors.
Features
Smooth scrolling
- Added new optional SmoothScroll parameter to the methods that scrolls TRichView and ScaleRichView editors.
- RichViewActions use smooth scrolling effects:
- For TRichView and ScaleRichView, the actions use smooth scrolling to the bookmark (checkpoint).
- For ScaleRichView, the actions use smooth scrolling to notes and text boxes (and back), to headers and footers (and back).
Text search
- Added new event to TRichView: OnTextFound which is called as a result of SearchText method.
- Possible applications for this event:
- Searching in unformatted documents. Sometimes you just need to know if a document contains the specified text. A selection requires a formatted document; so, if you forbid selection, you can search in unformatted text. This is especially useful for searching in multiple documents.
- Implementing additional search conditions that you can verify in this event. For example, you can search only in text that has specific attributes.
Localization
Updated UI translations:
- Hungarian (ReportWorkshop messages are updated, thanks to Bógáncs Sándor).
- Lithuanian (RichViewActions messages are updated, thanks to Marius Žemaitis).
- Thai (RichViewActions and ScaleRichView messages are updated; Report Workshop is translated).