Hi
What must I do to change font on the Lazarus console - not the Kubuntu console - to a monospace font, and how do I change font color there?
Thanks
Wolf

Mailing lists / lazarus / 2018-02
7 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi
What must I do to change font on the Lazarus console - not the Kubuntu console - to a monospace font, and how do I change font color there?
Thanks
Wolf
Sorry for the noise, but I am also very interested in an answer to this. I would like to be able to customize Lazarus more, and/or not use it when possible (admittedly lazbuild does a fairly good job).
Cheers,
R0b0t1
Hi What must I do to change font on the Lazarus console - not the Kubuntu console - to a…
Wolf wroteWhat must I do to change font on the Lazarus console - not the Kubuntu console - to a monospace font, and how do I change font color there?
You refer to the Console / "Terminal Output" from the menu View > Debug Windows?
There are currently no settings for this.
Source code (if you want to create a patch) is in
debugger/pseudoterminaldlg.pp
correct
pseudoterminaldlg.pp defines a class TPseudoConsoleDlg, which contains a field Memo1: TMemo
Memo1 already contains all the facilities I am looking for, I just need to find the place where to set them. Unless I'm mistaken, this means all I need to know is the variable name under which class TPseudoConsoleDlg is created??
Does anyone know this name / the file in which it is created? Thanks
Wolf
just override Form.Create ?
I had nothing that drastic in mind.
If xxx creates class TPseudoConsoleDlg, then I should be able to call xxx from anywhere in my program
xxx.Memo1.Font to change the font or xxx.Memo1.Font.Color to change color. But the idea hinges on me knowing xxx, or its address.
Wolf
It is the less drastic option....
If ever it will be officially implemented, it will with very high likelihood be there.
If xxx creates class TPseudoConsoleDlg, then I should be able to call xxx from anywhere in my program xxx.Memo1.Font to change the font or xxx.Memo1.Font.Color to change color. But the idea hinges on me knowing xxx, or its address.
As you wish....
ide/debugmanager.pas
line 1455 (at least in svn trunk)
procedure TDebugManager.ViewDebugDialog
this line
CurDialog := TDebuggerDlg(DEBUGDIALOGCLASS[ADialogType].NewInstance);