cody: dictionary

git-svn-id: trunk@33658 -
This commit is contained in:
mattias 2011-11-20 23:25:15 +00:00
parent 5c84b3e84a
commit 4ab001d5dc

View File

@ -58,9 +58,7 @@ var
ViewCodyWindowCommand: TIDECommand;
CopyDeclarationToClipboardCommand: TIDECommand;
CutDeclarationToClipboardCommand: TIDECommand;
{$IFDEF EnableCodyIdentifiers}
ShowIdentifierDictionaryCommand: TIDECommand;
{$ENDIF}
begin
CodyOptions:=TCodyMiscOptions.Create;
CodyOptions.LoadSafe;
@ -156,14 +154,12 @@ begin
crsShowCodeToolsNodeInfo, nil, nil, ShowCodeNodeInfoCommand);
// Show unit / identifier dictionary
{$IFDEF EnableCodyIdentifiers}
InitUnitDictionary;
ShowIdentifierDictionaryCommand:=RegisterIDECommand(CmdCatCodeTools, 'ShowUnitDictionary',
crsShowUnitIdentifierDictionary,
CleanIDEShortCut,CleanIDEShortCut,nil,@ShowUnitDictionaryDialog);
RegisterIDEMenuCommand(itmViewIDEInternalsWindows, 'ShowIdentifierDictionary',
crsShowUnitIdentifierDictionary, nil, nil, ShowIdentifierDictionaryCommand);
{$ENDIF}
// View menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ViewCodyWindowCommand:=RegisterIDECommand(CmdCatView, 'Cody',