Re: [Lazarus] Lazarus Console text

2018-02-11 Thread Martin Frb via Lazarus

On 11/02/18 20:47, Wolf via Lazarus wrote:



On 11/02/2018 22:06, Martin Frb via Lazarus wrote:

On 10/02/18 22:36, Wolf via Lazarus wrote:



On 11/02/2018 00:37, Martin Frb via Lazarus wrote:


Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp
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?



just override Form.Create ?



I had nothing that drastic in mind.

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);



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-11 Thread Wolf via Lazarus



On 11/02/2018 22:06, Martin Frb via Lazarus wrote:

On 10/02/18 22:36, Wolf via Lazarus wrote:



On 11/02/2018 00:37, Martin Frb via Lazarus wrote:


Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp
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?



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
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-11 Thread Martin Frb via Lazarus

On 10/02/18 22:36, Wolf via Lazarus wrote:



On 11/02/2018 00:37, Martin Frb via Lazarus wrote:


Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp
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?



just override Form.Create ?


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-10 Thread Wolf via Lazarus



On 11/02/2018 00:37, Martin Frb via Lazarus wrote:

On 10/02/18 08:10, Wolf via Lazarus wrote:
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? 


You refer to the Console / "Terminal Output" from the menu View > 
Debug Windows?

correct


There are currently no settings for this.

Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-10 Thread Martin Frb via Lazarus

On 10/02/18 08:10, Wolf via Lazarus wrote:
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? 


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

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-09 Thread R0b0t1 via Lazarus
On Sat, Feb 10, 2018 at 1:10 AM, Wolf via Lazarus
 wrote:
> 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?
>

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
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus