mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-02 12:09:45 +02:00
ToDoList, IdeIntf: Allow opening editor color settings from ToDoList window.
This commit is contained in:
parent
30ec95941f
commit
3807ad9867
@ -175,6 +175,8 @@ function IDEEditorGroups: TIDEOptionsGroupList;
|
||||
|
||||
var
|
||||
IDEEditorOptions: TIDEEditorOptions;
|
||||
// Certain packages may want to reach Editor Color Options.
|
||||
EditorColorOptionsEditorClass: TAbstractIDEOptionsEditorClass;
|
||||
|
||||
const
|
||||
// Font style used by filter
|
||||
|
@ -541,7 +541,7 @@ procedure TIDETodoWindow.acColorsExecute(Sender: TObject);
|
||||
begin
|
||||
{ #todo 1 -oJuha : Move to the actual ToDo items in the color settings list. }
|
||||
//LazarusIDE.DoOpenIDEOptions(TEditorColorOptionsFrame, 'Go to end of color options list', [TIDEEditorOptions], []);
|
||||
LazarusIDE.DoOpenIDEOptions(nil, 'Go to end of color options list', [TIDEEditorOptions], []);
|
||||
LazarusIDE.DoOpenIDEOptions(EditorColorOptionsEditorClass, 'ToDo colors are at the end of color list', [TIDEEditorOptions], []);
|
||||
end;
|
||||
|
||||
procedure TIDETodoWindow.acHelpExecute(Sender: TObject);
|
||||
|
@ -1862,4 +1862,6 @@ end;
|
||||
|
||||
initialization
|
||||
RegisterIDEOptionsEditor(GroupEditor, TEditorColorOptionsFrame, EdtOptionsColors, EdtOptionsDisplay);
|
||||
EditorColorOptionsEditorClass := TEditorColorOptionsFrame;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user