cody: hide unfinished declare variable

git-svn-id: trunk@30865 -
This commit is contained in:
mattias 2011-05-23 06:46:20 +00:00
parent 1c5635529c
commit 918216c796
2 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,10 @@
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Other>
<CompilerMessages>
<UseMsgFile Value="True"/>
</CompilerMessages>
<CustomOptions Value="$(IDEBuildOptions)"/>
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
@ -51,7 +55,7 @@
</Item8>
<Item9>
<Filename Value="codynodeinfodlg.pas"/>
<UnitName Value="codynodeinfodlg"/>
<UnitName Value="CodyNodeInfoDlg"/>
</Item9>
</Files>
<LazDoc Paths="doc"/>

View File

@ -97,7 +97,10 @@ begin
crsDeclareVariable,
CleanIDEShortCut,CleanIDEShortCut,nil,@ShowDeclareVariableDialog);
RegisterIDEMenuCommand(SrcEditSubMenuRefactor, 'DeclareVariable',
crsDeclareVariable2, nil, nil, DeclareVariableCommand);
crsDeclareVariable2, nil, nil, DeclareVariableCommand)
{$IFNDEF EnableCodyDeclareVar}
.Visible:=false
{$ENDIF};
// Refactor menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -