mirror of https://gitlab.com/basile.b/dexed.git
Merge branch 'a12_2_a13'
This commit is contained in:
commit
b4c857cfa4
|
|
@ -24,6 +24,8 @@ Current features
|
||||||
Missing features before the first beta
|
Missing features before the first beta
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
- Options editor.
|
- Options editor.
|
||||||
|
- Shortcuts editor.
|
||||||
|
- a few context menus and toolbars.
|
||||||
|
|
||||||
Project information
|
Project information
|
||||||
-------------------
|
-------------------
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@ end;
|
||||||
|
|
||||||
function TCEEditorOptions.optionedWantEditorKind: TOptionEditorKind;
|
function TCEEditorOptions.optionedWantEditorKind: TOptionEditorKind;
|
||||||
begin
|
begin
|
||||||
exit(oekAbstract);
|
exit(oekGeneric);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCEEditorOptions.optionedWantContainer: TPersistent;
|
function TCEEditorOptions.optionedWantContainer: TPersistent;
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ type
|
||||||
|
|
||||||
|
|
||||||
(**
|
(**
|
||||||
* An implementer can expose some customizable shortcuts
|
* An implementer can expose some customizable shortcuts to be edited in a dedicated widget.
|
||||||
*)
|
*)
|
||||||
ICEEditableShortCut = interface
|
ICEEditableShortCut = interface
|
||||||
['ICEEditableShortCut']
|
['ICEEditableShortCut']
|
||||||
|
|
@ -141,7 +141,7 @@ type
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TOptionEditorKind = (oekAbstract, oekForm);
|
TOptionEditorKind = (oekGeneric, oekForm);
|
||||||
TOptionEditorEvent = (oeeCancel, oeeAccept, oeeChange);
|
TOptionEditorEvent = (oeeCancel, oeeAccept, oeeChange);
|
||||||
(**
|
(**
|
||||||
* An implementer can expose some options to be edited in a dedicated widget.
|
* An implementer can expose some options to be edited in a dedicated widget.
|
||||||
|
|
@ -249,7 +249,7 @@ type
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
Service assignators:
|
Service getters:
|
||||||
|
|
||||||
Lazily get the interface of a service when needed or for a punctual usage.
|
Lazily get the interface of a service when needed or for a punctual usage.
|
||||||
The first overload assign the variable only when not yet set, the second is
|
The first overload assign the variable only when not yet set, the second is
|
||||||
|
|
@ -402,7 +402,7 @@ begin
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
{$REGION ICESingleService assignators ------------------------------------------}
|
{$REGION ICESingleService getters ----------------------------------------------}
|
||||||
function getMessageDisplay(var obj: ICEMessagesDisplay): ICEMessagesDisplay;
|
function getMessageDisplay(var obj: ICEMessagesDisplay): ICEMessagesDisplay;
|
||||||
begin
|
begin
|
||||||
if obj = nil then
|
if obj = nil then
|
||||||
|
|
|
||||||
|
|
@ -858,6 +858,8 @@ begin
|
||||||
TCEEditorHintWindow.FontSize := fDoc.Font.Size;
|
TCEEditorHintWindow.FontSize := fDoc.Font.Size;
|
||||||
HintInfo.HintWindowClass := TCEEditorHintWindow;
|
HintInfo.HintWindowClass := TCEEditorHintWindow;
|
||||||
HintInfo.HideTimeout := 120000;
|
HintInfo.HideTimeout := 120000;
|
||||||
|
HintInfo.CursorRect.Left := fDoc.CaretXPix;
|
||||||
|
HintInfo.CursorRect.Top := fDoc.CaretYPix;
|
||||||
// note: non-default color allows non-themed draw() which allows custom font-size to be handled.
|
// note: non-default color allows non-themed draw() which allows custom font-size to be handled.
|
||||||
HintInfo.HintColor := clInfoBk + $01010100;
|
HintInfo.HintColor := clInfoBk + $01010100;
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ end;
|
||||||
|
|
||||||
function TCEMessagesWidget.optionedWantEditorKind: TOptionEditorKind;
|
function TCEMessagesWidget.optionedWantEditorKind: TOptionEditorKind;
|
||||||
begin
|
begin
|
||||||
exit(oekAbstract);
|
exit(oekGeneric);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCEMessagesWidget.optionedWantContainer: TPersistent;
|
function TCEMessagesWidget.optionedWantContainer: TPersistent;
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ begin
|
||||||
TForm(dt^.container).Align := alClient;
|
TForm(dt^.container).Align := alClient;
|
||||||
TForm(dt^.container).BorderStyle:= bsNone;
|
TForm(dt^.container).BorderStyle:= bsNone;
|
||||||
end;
|
end;
|
||||||
oekAbstract:
|
oekGeneric:
|
||||||
begin
|
begin
|
||||||
inspector.Parent := pnlEd;
|
inspector.Parent := pnlEd;
|
||||||
inspector.Align := alClient;
|
inspector.Align := alClient;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue