RRUZ/delphi-ide-theme-editor

Is there a way to support Lazarus trunk installed by fpcupdeluxe?

edwinyzh opened this issue · 1 comments

As you might know, there is a tool called fpcupdeluxe, which allows you to custom build any versions/compilations of FPC/Lazarus, including the SVN trunk (which I use).

Is there a way (even a manual way) to apply the editor font colors to a Lazarus installation (in any folder, eg. C:\lazarus_trunk) by fpcupdeluxe?

Thanks.

DITE detects installed Lazarus from Windows user's local directory, and if you have installed Lazarus it will have its own directory there, so you can copy XML files from %USERPROFILE%\AppData\Local\lazarus\userschemes into C:\lazarus_trunk\config_lazarus\userschemes then from Lazarus Trunk you will be able to pick them Ctrl+Shift+O (IDE Options —> Editor -> Display -> Colors)

image

[ALTERNATIVE]

However, if you don't have Lazarus installed (normal installation), you can move C:\lazarus_trunk\config_lazarus directory to %USERPROFILE%\AppData\Local\ and rename to lazarus, edit environmentoptions.xml file and modify <LazarusDirectory Value="..\lazarus"> to <LazarusDirectory Value="C:\lazarus_trunk\lazarus"> and also edit C:\lazarus_trunk\lazarus\lazarus.cfg and modify too --primary-config-path=C:\Users\<YOUR_PROFILE_NAME>\AppData\Local\lazarus. Now DITE will detect it.