Thanks. So I tried to replace included SynEdit by the new one, but it's not that simple
Here's what I did:
- Install Delphi RADStudio
- Download ZGameEditor: https://github.com/VilleKrumlinde/zgameeditor
- Fix drive letter in the project:
ZDesigner.dproj
line 67: <DCC_DcuOutput>t:\temp\zge</DCC_DcuOutput>[/*]
- Delete files in zgameeditor-master\tools\ZDesigner\3rdparty thar are starting with the name Syn.
WARNING: SynHighlighterZc.pas is a custom file, keep it!
- Install last version of SynEdit:
Last depot for SynEdit: https://github.com/TurboPack/SynEdit
Install SynEdit using: Delphi / Tools / Getit Package Manager / Search SynEdit
From there, it's try and repeat...
- Compiler can't find Highlighters files... So I copied files from
C:\Users\User\Documents\Embarcadero\Studio\23.0\CatalogRepository\SynEdit-12\Source\Highlighters
to
C:\Users\User\Documents\Embarcadero\Studio\23.0\CatalogRepository\SynEdit-12\Source
(But there has to be another way...)
Then I don't know what to do with SynHighlighterZc.pas
I tried moving it to C:\Users\User\Documents\Embarcadero\Studio\23.0\CatalogRepository\SynEdit-12\Source
But the compiler isn't happy. So I started replacing SynHighlighterZc in ZEditor source files by another one (like SynHighlighterST), just to try out.
But afterward I get an error from frmXmlEdit.pas, line 46: SynEdit.MaxScrollWidth := 4096;
And I can't comment it out, as I get a lot of new errors. So I stopped there.