Tom Verhoeff wrote:
The Lazarus IDE itself, as I use it on my system, does however
present source code in the Lazarus Source Editor window using a
fixed width (courier) font.  I can even find this in the
editoroptions.pp source file for the IDE, where I see things like

  fEditorFont:='courier';
  ...
  ASynEdit.Font.Name:=fEditorFont;


Why can't my application do the same thing?


You can, if you use a TSynedit. It is a custom component, which does its own drawing and therefore doesn't interfere with gtk themes.

Vincent.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to