[Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Mark Morgan Lloyd
I've got a Synedit here which uses code as below to rule alternate background lines to a light colour: procedure TListForm.PaneMainEditSpecialLineColors(Sender: TObject; Line: integer; var Special: boolean; var FG, BG: TColor); begin

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Martin
On 20/02/2012 09:24, Mark Morgan Lloyd wrote: I've got a Synedit here which uses code as below to rule alternate background lines to a light colour: procedure TListForm.PaneMainEditSpecialLineColors(Sender: TObject; Line: integer; var Special: boolean;

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Mark Morgan Lloyd
Martin wrote: On 20/02/2012 09:24, Mark Morgan Lloyd wrote: I've got a Synedit here which uses code as below to rule alternate background lines to a light colour: procedure TListForm.PaneMainEditSpecialLineColors(Sender: TObject; Line: integer; var

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Martin
On 20/02/2012 15:56, Mark Morgan Lloyd wrote: Any thoughts on what could be messing up the font? Sorry missed that part On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force itself to a generic Sans at runtime, irrespective

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Mark Morgan Lloyd
Martin wrote: On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force itself to a generic Sans at runtime, irrespective of what is actually selected (e.g. Monospace). Again, this is OK up to around 0.9.26. No idea... You set

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread zeljko
Quoting Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: Martin wrote: On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force itself to a generic Sans at runtime, irrespective of what is actually selected (e.g. Monospace).

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Mark Morgan Lloyd
zel...@holobit.net wrote: Quoting Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: Martin wrote: On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force itself to a generic Sans at runtime, irrespective of what is actually

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread zeljko
On Monday 20 of February 2012 21:58:26 Mark Morgan Lloyd wrote: zel...@holobit.net wrote: Quoting Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: Martin wrote: On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force