cody: explode a with

git-svn-id: trunk@30984 -
This commit is contained in:
mattias 2011-05-31 10:52:53 +00:00
parent 94614e7872
commit 8b67104316
7 changed files with 26 additions and 26 deletions

View File

@ -46,7 +46,7 @@ var
CmdCatFileMenu: TIDECommandCategory;
PPUListCommand: TIDECommand;
AddAssignMethodCommand: TIDECommand;
RemoveAWithBlockCommand: TIDECommand;
ExplodeAWithBlockCommand: TIDECommand;
InsertFileAtCursorCommand: TIDECommand;
DeclareVariableCommand: TIDECommand;
TVIconRes: TLResource;
@ -125,12 +125,12 @@ begin
RegisterIDEMenuCommand(SrcEditSubMenuRefactor, 'CutDeclarationToClipboard',
crsCutDeclarationToClipboard,nil,nil,CutDeclarationToClipboardCommand){$IFNDEF EnableCodyExperiments}.Visible:=false{$ENDIF};
// remove With block
RemoveAWithBlockCommand:=RegisterIDECommand(CmdCatCodeTools, 'RemoveAWithBlock',
crsRemoveAWithBlock,
CleanIDEShortCut,CleanIDEShortCut,nil,@RemoveAWithBlockCmd);
RegisterIDEMenuCommand(SrcEditSubMenuRefactor, 'RemoveAWithBlock',
crsRemoveAWithBlock, nil, nil, RemoveAWithBlockCommand);
// explode a With block
ExplodeAWithBlockCommand:=RegisterIDECommand(CmdCatCodeTools, 'ExplodeAWithBlock',
crsExplodeAWithBlock,
CleanIDEShortCut,CleanIDEShortCut,nil,@ExplodeAWithBlockCmd);
RegisterIDEMenuCommand(SrcEditSubMenuRefactor, 'ExplodeAWithBlock',
crsExplodeAWithBlock, nil, nil, ExplodeAWithBlockCommand);
// IDE internals menu - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -78,7 +78,7 @@ resourcestring
crsAddAssignMethod2 = 'Add Assign method ...';
crsCopyDeclarationToClipboard = 'Copy declaration to clipboard';
crsCutDeclarationToClipboard = 'Cut declaration to clipboard';
crsRemoveAWithBlock = 'Remove a "With" block';
crsExplodeAWithBlock = 'Explode a "With" block';
crsCWError = 'Error';
crsPleasePlaceTheCursorOfTheSourceEditorOnAnIdentifie = 'Please place the '

View File

@ -108,7 +108,7 @@ type
cupeSuccess
);
procedure RemoveAWithBlockCmd(Sender: TObject);
procedure ExplodeAWithBlockCmd(Sender: TObject);
procedure InsertFileAtCursor(Sender: TObject);
procedure AddCallInherited(Sender: TObject);
@ -123,7 +123,7 @@ procedure OpenCodyHelp(Path: string);
implementation
procedure RemoveAWithBlockCmd(Sender: TObject);
procedure ExplodeAWithBlockCmd(Sender: TObject);
procedure ErrorNotInWithVar;
begin

View File

@ -206,6 +206,10 @@ msgstr ""
msgid "\"%s\" is a keyword."
msgstr ""
#: codystrconsts.crsexplodeawithblock
msgid "Explode a \"With\" block"
msgstr ""
#: codystrconsts.crsfile
msgid "File"
msgstr ""
@ -354,10 +358,6 @@ msgstr ""
msgid "Refresh"
msgstr ""
#: codystrconsts.crsremoveawithblock
msgid "Remove a \"With\" block"
msgstr ""
#: codystrconsts.crsreport
msgid "Report"
msgstr ""

View File

@ -197,6 +197,10 @@ msgstr ""
msgid "\"%s\" is a keyword."
msgstr ""
#: codystrconsts.crsexplodeawithblock
msgid "Explode a \"With\" block"
msgstr ""
#: codystrconsts.crsfile
msgid "File"
msgstr ""
@ -345,10 +349,6 @@ msgstr ""
msgid "Refresh"
msgstr ""
#: codystrconsts.crsremoveawithblock
msgid "Remove a \"With\" block"
msgstr ""
#: codystrconsts.crsreport
msgid "Report"
msgstr ""

View File

@ -205,6 +205,10 @@ msgstr ""
msgid "\"%s\" is a keyword."
msgstr ""
#: codystrconsts.crsexplodeawithblock
msgid "Explode a \"With\" block"
msgstr ""
#: codystrconsts.crsfile
msgid "File"
msgstr ""
@ -353,10 +357,6 @@ msgstr ""
msgid "Refresh"
msgstr ""
#: codystrconsts.crsremoveawithblock
msgid "Remove a \"With\" block"
msgstr ""
#: codystrconsts.crsreport
msgid "Report"
msgstr ""

View File

@ -205,6 +205,10 @@ msgstr "Объявление переменной \"%s\""
msgid "\"%s\" is a keyword."
msgstr "\"%s\" является ключевым словом."
#: codystrconsts.crsexplodeawithblock
msgid "Explode a \"With\" block"
msgstr ""
#: codystrconsts.crsfile
msgid "File"
msgstr "Файл"
@ -354,10 +358,6 @@ msgstr "Published"
msgid "Refresh"
msgstr "Обновить"
#: codystrconsts.crsremoveawithblock
msgid "Remove a \"With\" block"
msgstr "Удалить блок \"With\""
#: codystrconsts.crsreport
msgid "Report"
msgstr "Отчёт"