mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +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);
|
||||
MySet: set of (MyEnummy4 := 4 , MyEnummy5);
|
||||
MyRange: 3..5;
|
||||
examples for type:
|
||||
TCompareFunc = function(const Item1, Item2: T): Integer;
|
||||
}
|
||||
begin
|
||||
if CurNode.Desc = ctnClassType then begin
|
||||
|
@ -5031,6 +5031,7 @@ var
|
||||
Persistent: TPersistent;
|
||||
begin
|
||||
RemoveComponentEditorMenuItems;
|
||||
ShowHintsPopupMenuItem.Checked := PropertyGrid.ShowHint;
|
||||
// show component editors only for component treeview
|
||||
if MainPopupMenu.PopupComponent = ComponentTree then
|
||||
begin
|
||||
@ -5098,7 +5099,6 @@ begin
|
||||
CurRow := GetActivePropertyRow;
|
||||
UndoPropertyPopupMenuItem.Visible := True;
|
||||
UndoPropertyPopupMenuItem.Enabled := (CurRow<>nil) and (CurRow.Editor.GetVisualValue <> CurGrid.CurrentEditValue);
|
||||
ShowHintsPopupMenuItem.Checked := PropertyGrid.ShowHint;
|
||||
if CurRow=nil then begin
|
||||
FindDeclarationPopupmenuItem.Visible := False;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user