mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 16:40:54 +02:00
IDEIntf: objectinspector: update popup menu item Show Hints always, bug #18092
git-svn-id: trunk@28538 -
This commit is contained in:
parent
fed2915490
commit
efb3fc218d
@ -903,6 +903,8 @@ function TPascalParserTool.KeyWordFuncClassIdentifier: boolean;
|
|||||||
MyEnum: (MyEnumm1, MyEnumm2 := 2, MyEnummy3);
|
MyEnum: (MyEnumm1, MyEnumm2 := 2, MyEnummy3);
|
||||||
MySet: set of (MyEnummy4 := 4 , MyEnummy5);
|
MySet: set of (MyEnummy4 := 4 , MyEnummy5);
|
||||||
MyRange: 3..5;
|
MyRange: 3..5;
|
||||||
|
examples for type:
|
||||||
|
TCompareFunc = function(const Item1, Item2: T): Integer;
|
||||||
}
|
}
|
||||||
begin
|
begin
|
||||||
if CurNode.Desc = ctnClassType then begin
|
if CurNode.Desc = ctnClassType then begin
|
||||||
|
@ -5031,6 +5031,7 @@ var
|
|||||||
Persistent: TPersistent;
|
Persistent: TPersistent;
|
||||||
begin
|
begin
|
||||||
RemoveComponentEditorMenuItems;
|
RemoveComponentEditorMenuItems;
|
||||||
|
ShowHintsPopupMenuItem.Checked := PropertyGrid.ShowHint;
|
||||||
// show component editors only for component treeview
|
// show component editors only for component treeview
|
||||||
if MainPopupMenu.PopupComponent = ComponentTree then
|
if MainPopupMenu.PopupComponent = ComponentTree then
|
||||||
begin
|
begin
|
||||||
@ -5098,7 +5099,6 @@ begin
|
|||||||
CurRow := GetActivePropertyRow;
|
CurRow := GetActivePropertyRow;
|
||||||
UndoPropertyPopupMenuItem.Visible := True;
|
UndoPropertyPopupMenuItem.Visible := True;
|
||||||
UndoPropertyPopupMenuItem.Enabled := (CurRow<>nil) and (CurRow.Editor.GetVisualValue <> CurGrid.CurrentEditValue);
|
UndoPropertyPopupMenuItem.Enabled := (CurRow<>nil) and (CurRow.Editor.GetVisualValue <> CurGrid.CurrentEditValue);
|
||||||
ShowHintsPopupMenuItem.Checked := PropertyGrid.ShowHint;
|
|
||||||
if CurRow=nil then begin
|
if CurRow=nil then begin
|
||||||
FindDeclarationPopupmenuItem.Visible := False;
|
FindDeclarationPopupmenuItem.Visible := False;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user