Recent

Author Topic: ANN: TRichView - rich text editing components, now for Linux  (Read 3367 times)

Sergey Tkachenko

  • New Member
  • *
  • Posts: 46
    • TRichView
ANN: TRichView - rich text editing components, now for Linux
« on: December 25, 2024, 02:10:05 pm »
We've recently released TRichView 23.0 - advanced rich text components for Delphi and Lazarus.
In this update, we've ported TRichView to Linux platform in Lazarus.

Currently, the main set of components is ported, including rich text editor and viewer, printing, spelling checking (HunSpell is used in the Linux version).
The components support GTK2 framework and use CairoCanvas for printing.
Tested on Lazarus v3.6.


Web site: https://www.trichview.com
More about this release: https://www.trichview.com/wp/2024/12/22/trichview-23-lazarus-for-linux-equations-in-files/

AlexTP

  • Hero Member
  • *****
  • Posts: 2539
    • UVviewsoft
Re: ANN: TRichView - rich text editing components, now for Linux
« Reply #1 on: December 25, 2024, 06:01:10 pm »
Do Qt5/Qt6 widgetsets work too (you mentioned only GTK2)?

Sergey Tkachenko

  • New Member
  • *
  • Posts: 46
    • TRichView
Re: ANN: TRichView - rich text editing components, now for Linux
« Reply #2 on: December 25, 2024, 07:06:05 pm »
In this release - no, only GTK2. Sorry.
I'll see how to implement Qt5/Qt6 support after the New Year.
Probably, it will not be too difficult. There is only a couple of functions requiring the specific canvas implementation.

AlexTP

  • Hero Member
  • *****
  • Posts: 2539
    • UVviewsoft
Re: ANN: TRichView - rich text editing components, now for Linux
« Reply #3 on: December 26, 2024, 04:35:09 pm »
If you don't know:
while on gtk2 you can paint on Canvas at any time (like on Win32), on Qt you must paint on Cancas _only during OnPaint event_.

Sergey Tkachenko

  • New Member
  • *
  • Posts: 46
    • TRichView
Re: ANN: TRichView - rich text editing components, now for Linux
« Reply #4 on: December 26, 2024, 04:41:29 pm »
Thank you for the information!
This change is already made. While the Windows version paints some objects (like resizing lines for images and tables, or a custom caret) directly on the control's canvas, the Linux version restricts itself to painting only inside Paint method.

Sergey Tkachenko

  • New Member
  • *
  • Posts: 46
    • TRichView
Re: ANN: TRichView - rich text editing components, now for Linux
« Reply #5 on: February 14, 2025, 12:37:48 pm »
Release Announcement: TRichView 23.1.

In this update, we continued porting to Lazarus for Linux and have completed the port of RichViewActions. Now, creating a word processor with TRichView and Lazarus on Linux is easier than ever.
RichViewActions is a set of components and actions designed to create a user interface for a word processor based on the TRichView editor. It includes both simple actions (such as toggling bold, italic, and underline) and actions that use dialog windows (for page, font, and paragraph properties, as well as properties of various objects, bullets and numbering, table operations, etc.).
The user interface is translated into 30+ languages.

We've also ported the integration modules for TRichView and Virtual TreeView. Now, our components can be used to create rich text cells inside VirtualTree on Linux.

Web site: https://www.trichview.com
More about this release: https://www.trichview.com/wp/2025/02/12/trichview-23-1-richviewactions-for-lazarus-for-linux/

 

TinyPortal © 2005-2018