The only problem I can see from a UI point of view is that there does not seem to be anyway of editing the background colour of the
FP editor directly from with
FP. I notice however that there is a config file
fp.ini which consists of these lines...
[Compile]
CompileMode=DEBUG
PrimaryFile=
[Help]
Files=""
[Editor]
DefaultTabSize=8
DefaultIndentSize=1
DefaultFlags=20599
DefaultSaveExt=.pas
[Highlight]
Exts="*.pas;*.pp;*.inc;*.dpr;*.lpr"
NeedsTabs="make*;make*.*;fpcmake.loc"
[Colors]
Palette_1_40=#$03#$03#$08#$0B#$30#$28#$30#$17#$1F#$1A#$31#$31#$1E#$71#$1F#$37#$3F#$3A#$13#$13#$3E#$21#$3F#$0B#$03#$7A#$13#$13#$70#$7F#$7E#$70#$70#$78#$78#$70#$70#$70#$7F#$7E
Palette_41_80=#$20#$2B#$2F#$78#$2E#$70#$30#$3F#$3E#$3F#$2F#$1A#$20#$72#$31#$31#$30#$2F#$3E#$31#$13#$38#$00#$17#$1F#$1A#$71#$71#$1E#$17#$1F#$1E#$20#$2B#$2F#$78#$2E#$10#$30#$3F
Palette_81_120=#$3E#$70#$2F#$7A#$20#$12#$31#$31#$30#$2F#$3E#$31#$13#$38#$00#$37#$3F#$3A#$13#$13#$3E#$30#$3F#$3E#$20#$2B#$2F#$78#$2E#$30#$70#$7F#$7E#$1F#$2F#$1A#$20#$32#$31#$71
Palette_121_160=#$70#$2F#$7E#$71#$13#$38#$00#$70#$7F#$7A#$13#$13#$70#$70#$7F#$7E#$20#$2B#$2F#$78#$2E#$70#$30#$3F#$3E#$1F#$2F#$1A#$20#$72#$31#$31#$30#$2F#$3E#$31#$13#$38#$00#$30
Palette_161_200=#$3E#$1E#$70#$30#$3F#$3A#$08#$03#$03#$03#$03#$03#$71#$1F#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$88#$88
Palette_201_240=#$06#$03#$0B#$0E#$0A#$07#$07#$70#$0B#$20#$02#$0A#$04#$4E#$31#$02#$0A#$02#$0A#$0A#$31#$3F#$0A#$20#$3E#$3F#$70#$20#$FF#$3A#$37#$FF#$FF#$FF
[SourcePath]
SourceList=""
[Mouse]
DoubleDelay=8
ReverseButtons=0
AltClickAction=6
CtrlClickAction=1
[Keyboard]
EditKeys=microsoft
[Search]
FindFlags=4
[Breakpoints]
Count=0
[Watches]
Count=0
Watch0=
[Preferences]
DesktopFileFlags=209
CenterCurrentLineWhileDebugging=1
AutoSaveFlags=6
MiscOptions=6
DesktopLocation=1
[Misc]
ShowReadme=0
[Run]
Parameters=
[Files]
OpenExts="*.pas;*.pp;*.inc;*.dpr;*.lpr"
PrinterDevice=prn
[Tools]
Title1="Format code"
Params1="ptop $EDNAME $EDNAME"
HotKey1=0
The
[colors] section looks as if it might be some help, but how on earth do the numbers map on to actual colours?
Just in case anyone pipes up saying "why don't you use the Color selection dialog in
Options ->
Environment?", the reason is that on the version I'm using...
Free Pascal IDE for Darwin for x86_64, Target CPU: x86_64, Version 1.0.12 2018/07/28, that option is not there!