mirror of https://gitlab.com/basile.b/dexed.git
terminal, remove deficient option used to set selection
was not working before 3b358c9a48
anyway due to an unassigned binding that did existed in vte 0.2.z
This commit is contained in:
parent
2eac241ac4
commit
f3b7bcd44c
|
@ -614,8 +614,8 @@ begin
|
|||
{$ifdef hasgtk2term}
|
||||
if assigned(fTerminalHanlde) then
|
||||
begin
|
||||
c := TColortoTGDKColor(fSelectedColor);
|
||||
vte_terminal_set_color_highlight(fTerminalHanlde, @c);
|
||||
//c := TColortoTGDKColor(InvertColor(fSelectedColor));
|
||||
//vte_terminal_set_color_highlight(fTerminalHanlde, @c);
|
||||
end;
|
||||
{$endif}
|
||||
end;
|
||||
|
|
|
@ -45,7 +45,7 @@ type
|
|||
published
|
||||
property backgroundColor: TColor read fBackgroundColor write fBackgroundColor;
|
||||
property foregroundColor: TColor read fForegroundColor write fForegroundColor;
|
||||
property selectedColor: TColor read fSelectedColor write fSelectedColor;
|
||||
property selectedColor: TColor (*read fSelectedColor*) write fSelectedColor stored false;
|
||||
property font: TFont read fFont write setFont;
|
||||
property followEditors: boolean read fFollowEditors write fFollowEditors;
|
||||
property followProjects: boolean read fFollowProjects write fFollowProjects;
|
||||
|
@ -201,7 +201,7 @@ begin
|
|||
w := TTermWidget(owner);
|
||||
w.fTerm.backgroundColor:= backgroundColor;
|
||||
w.fTerm.foregroundColor:= foregroundColor;
|
||||
w.fTerm.selectedColor:= selectedColor;
|
||||
//w.fTerm.selectedColor:= selectedColor;
|
||||
w.fTerm.Font.BeginUpdate;
|
||||
w.fTerm.Font.Assign(fFont);
|
||||
// force the change: assigning does always trigger TTerminal.FontChanged.
|
||||
|
|
Loading…
Reference in New Issue