Re: [Lazarus] Need a good replacement for TMemo
OK, I found the reason. I had made experimental reordering in component palette pages. A new installed component does not go to a user modified page. After doing "Restore defaults" the RichMemo icon became visible. It means there is a bug in the palette config code. :( Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
On Thu, Feb 8, 2024 at 12:18 AM Werner Pamler via lazarus < lazarus@lists.lazarus-ide.org> wrote: > What "does not show up mean"? No icon on the component palette? In this > case you probably missed to install the designtime package which is a bit > hidden in the "ide" folder among all the interface folders. > Correct, there is no RichMemo icon on the component palette. Not found with the component list either. I installed the designtime package and saw the line RegisterComponents('Common Controls', [TRichMemo]); Maybe my earlier experiments screwed the system somehow. I will test more later ... Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
Am 07.02.2024 um 22:42 schrieb Juha Manninen via lazarus: On Wed, Feb 7, 2024 at 2:46 PM John Landmesser via lazarus wrote: Please test RichMemo for Linux AND Windows! Long ago i tried to use RichMemo that worked for windows but not for linux! I cloned the GitHub repo (https://github.com/skalogryz/richmemo) and installed RichMemo. Now the code compiles also with LCL-GTK2 but still the component does not show up. Tested only with Linux so far. Strange. Tested this successfully this afternoon with Mint, and now with Manjaro and cocoa: can compile and run the sample projects (no thorough tests, though). What "does not show up mean"? No icon on the component palette? In this case you probably missed to install the designtime package which is a bit hidden in the "ide" folder among all the interface folders. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
On Wed, Feb 7, 2024 at 2:46 PM John Landmesser via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Please test RichMemo for Linux AND Windows! > > Long ago i tried to use RichMemo that worked for windows but not for linux! > I cloned the GitHub repo (https://github.com/skalogryz/richmemo) and installed RichMemo. Now the code compiles also with LCL-GTK2 but still the component does not show up. Tested only with Linux so far. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
Am 07.02.24 um 07:49 schrieb Juha Manninen via lazarus: On Tue, Feb 6, 2024 at 11:31 PM Timothy Groves via lazarus wrote: ... and RichMemo won't work. (It will compile in, but then Lazarus crashes on startup with an Access Violation.) I updated lazarus-ccr repo and tried to install the RichMemo_design package. Lazarus does not crash but the RichMemo component does not show up either. It should be in the 'Common Controls' palette page. I tested with Lazarus trunk + LCL-GTK2 and LCL-QT5 widgetsets. For LCL-GTK2 I had to add {$define RMLCLTRUNK} in unit Gtk2RichMemo. It is used for function GetWidgetInfo() which was last edited by Mark in 2010. Maybe an IFDEF was needed for Lazarus trunk some 14 years ago but now the code should be updated. Does RichMemo installation work for somebody? Juha Please test RichMemo for Linux AND Windows! Long ago i tried to use RichMemo that worked for windows but not for linux! -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
Am 07.02.2024 um 11:57 schrieb Juha Manninen via lazarus: I guess you mean delete from CCR. Yes please. Having such duplicates will always cause problems but won't bring any benefits. Done.-- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
On Wed, Feb 7, 2024 at 11:30 AM Werner Pamler via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Yes. But you should not use the version in the CCR repository. You > probably did not see the "readme.txt" which states that the ccr version is > no longer maintained, development has been moved to github: > https://github.com/skalogryz/richmemo. Or when you use the OPM version it > will be working, too. > Oops yes. Now I remember it was mentioned somewhere also earlier. I will test the GitHub / OPM version later. I agree that having the out-dated richmemo in CCR is misleading. There are > two options: I could delete that these files in OPM completely and keep > only the readme, or I could copy the current github files over them (but I > do not like the next step to become maintainer of the ccr version of > richmemo...). > I guess you mean delete from CCR. Yes please. Having such duplicates will always cause problems but won't bring any benefits. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
Am 07.02.2024 um 07:49 schrieb Juha Manninen via lazarus: On Tue, Feb 6, 2024 at 11:31 PM Timothy Groves via lazarus wrote: ... and RichMemo won't work. (It will compile in, but then Lazarus crashes on startup with an Access Violation.) I updated lazarus-ccr repo and tried to install the RichMemo_design package. Lazarus does not crash but the RichMemo component does not show up either. It should be in the 'Common Controls' palette page. I tested with Lazarus trunk + LCL-GTK2 and LCL-QT5 widgetsets. For LCL-GTK2 I had to add {$define RMLCLTRUNK} in unit Gtk2RichMemo. It is used for function GetWidgetInfo() which was last edited by Mark in 2010. Maybe an IFDEF was needed for Lazarus trunk some 14 years ago but now the code should be updated. Does RichMemo installation work for somebody? Juha Yes. But you should not use the version in the CCR repository. You probably did not see the "readme.txt" which states that the ccr version is no longer maintained, development has been moved to github: https://github.com/skalogryz/richmemo. Or when you use the OPM version it will be working, too. I agree that having the out-dated richmemo in CCR is misleading. There are two options: I could delete that these files in OPM completely and keep only the readme, or I could copy the current github files over them (but I do not like the next step to become maintainer of the ccr version of richmemo...). -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Need a good replacement for TMemo
On Tue, Feb 6, 2024 at 11:31 PM Timothy Groves via lazarus < lazarus@lists.lazarus-ide.org> wrote: > ... and RichMemo won't work. (It will compile > in, but then Lazarus crashes on startup with an Access Violation.) > I updated lazarus-ccr repo and tried to install the RichMemo_design package. Lazarus does not crash but the RichMemo component does not show up either. It should be in the 'Common Controls' palette page. I tested with Lazarus trunk + LCL-GTK2 and LCL-QT5 widgetsets. For LCL-GTK2 I had to add {$define RMLCLTRUNK} in unit Gtk2RichMemo. It is used for function GetWidgetInfo() which was last edited by Mark in 2010. Maybe an IFDEF was needed for Lazarus trunk some 14 years ago but now the code should be updated. Does RichMemo installation work for somebody? Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus