Recent

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

Sergey Tkachenko

  • New Member
  • *
  • Posts: 39
    • 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: 2519
    • 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: 39
    • 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: 2519
    • 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: 39
    • 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.

 

TinyPortal © 2005-2018