Recent

Author Topic: synedit  (Read 1557 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11896
  • Debugger - SynEdit - and more
    • wiki
Re: synedit
« Reply #15 on: November 07, 2025, 11:33:18 pm »
Breaking this down:
1) Testing the fix for bookmark
2) Testing if any other changes in SynEdit are of interest to you

2 can be used for testing 1 too...

1)
- Wait for Lazarus 4.4 (probably a week or so) / The fix will be in there
- Start with Lazarus 4.0 or 4.2  and apply the patch  https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/cfb8e043815b3e02666b01cf3f63c070a1532799.diff
  Using the "patch" command line util. If memory serves
Code: Text  [Select][+][-]
  1. cd path/to/lazarus
  2. patch < diff_file
or maybe "patch -p1 < diff_file". If you are in the lazarus main dir, if you are in the Synedit dir it will probably be -p3
- Instead of applying the patch, edit the file by hand.
- use fpcupdeluxe

2) You nee the git "main" branch, aka Lazarus 4.99. Since changes may also be in the LCL.
For that use fpcupdeluxe. It can create an independent install, so your main install will not be altered.
However, I am not an expert on fpcupdeluxe. There is a big thread on the forum, for getting help.

FpcUpDeluxe allows to install any version, including "fixes-4" (which is the preparation for Laz4.4 and then will be prep for 4.6), and "main" aka 4.99 or trunk.

FpcUpDeluxe  can install several Lazarus versions in different folders, and those use diff configs, and all. So they all work independently.




Downloading SynEdit independent of the IDE, will be a lot of work, and may even not work at all. Since each version of SynEdit requires the correct LCL, LCLBase, LazUtils, etc. In some cases those may be compatible, but there is no rule when they are and when not.

scasparz

  • Jr. Member
  • **
  • Posts: 77
Re: synedit
« Reply #16 on: November 08, 2025, 10:05:25 am »
Thanks again Martin.

Seems waiting form Laz 4.4 to be the easiest way and I will come back.

kind regards
s

scasparz

  • Jr. Member
  • **
  • Posts: 77
Re: synedit
« Reply #17 on: November 11, 2025, 08:21:38 am »
@martin_fr.

Have just installed Laz4.4 and in the first test the IsBookmark method worked well.
Intend to test further. Will update in case of new findings.

Thanks again Martin.

best regards
s
« Last Edit: November 11, 2025, 01:20:50 pm by scasparz »

scasparz

  • Jr. Member
  • **
  • Posts: 77
Re: synedit
« Reply #18 on: November 13, 2025, 11:30:38 am »
@martin_fr

Made a new clean installation of Laz 4.4 under Linux Mint 21.1
Further tests have shown no problems.
Looks like app works as it should under the latest Laz .
Good job Martin, thanks again mate.

best regards
s

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11896
  • Debugger - SynEdit - and more
    • wiki
Re: synedit
« Reply #19 on: November 15, 2025, 01:49:12 pm »

 

TinyPortal © 2005-2018