mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-05 05:48:18 +02:00
Components, IDEScout: i18n-ed and added Russian translation
git-svn-id: trunk@60003 -
This commit is contained in:
parent
18be28701f
commit
0f75fd5454
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -2164,6 +2164,9 @@ components/idescout/idescout.lpk svneol=native#text/plain
|
|||||||
components/idescout/idescout.pas svneol=native#text/plain
|
components/idescout/idescout.pas svneol=native#text/plain
|
||||||
components/idescout/idescoutoptions.lfm svneol=native#text/plain
|
components/idescout/idescoutoptions.lfm svneol=native#text/plain
|
||||||
components/idescout/idescoutoptions.pas svneol=native#text/plain
|
components/idescout/idescoutoptions.pas svneol=native#text/plain
|
||||||
|
components/idescout/idescoutstrconsts.pas svneol=native#text/pascal
|
||||||
|
components/idescout/languages/idescoutstrconsts.po svneol=native#text/plain
|
||||||
|
components/idescout/languages/idescoutstrconsts.ru.po svneol=native#text/plain
|
||||||
components/idescout/regidescout.pas svneol=native#text/plain
|
components/idescout/regidescout.pas svneol=native#text/plain
|
||||||
components/images/examples/README.txt svneol=native#text/plain
|
components/images/examples/README.txt svneol=native#text/plain
|
||||||
components/images/examples/imagesexample.lpi svneol=native#text/plain
|
components/images/examples/imagesexample.lpi svneol=native#text/plain
|
||||||
|
@ -35,7 +35,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, LazUTF8, Forms, Controls, Graphics, Dialogs, ComponentReg,
|
Classes, SysUtils, FileUtil, LazUTF8, Forms, Controls, Graphics, Dialogs, ComponentReg,
|
||||||
StdCtrls, EditBtn, IDECommands, LazIDEIntf, Types, LCLType, IDEOptionsIntf, IDEOptEditorIntf;
|
StdCtrls, EditBtn, IDECommands, LazIDEIntf, Types, LCLType, IDEOptionsIntf, IDEOptEditorIntf, IDEScoutStrConsts;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
TScoutTerrain = (stCommands,stRecentProjects,stRecentFiles,stRecentPackages,stComponents);
|
TScoutTerrain = (stCommands,stRecentProjects,stRecentFiles,stRecentPackages,stComponents);
|
||||||
@ -526,7 +526,9 @@ procedure TIDEScoutForm.FormCreate(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
FSearchItems:=TStringList.Create;
|
FSearchItems:=TStringList.Create;
|
||||||
FSearchItems.OwnsObjects:=True;
|
FSearchItems.OwnsObjects:=True;
|
||||||
|
Caption:=isrsIDEScout;
|
||||||
FOrgCaption:=Caption;
|
FOrgCaption:=Caption;
|
||||||
|
ESearch.TextHint:=isrsTypeSearchTerms;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TIDEScoutForm.FormDestroy(Sender: TObject);
|
procedure TIDEScoutForm.FormDestroy(Sender: TObject);
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
See the ReadMe.txt included in the package for a more detailed explanation."/>
|
See the ReadMe.txt included in the package for a more detailed explanation."/>
|
||||||
<License Value="Modified LGPL-2"/>
|
<License Value="Modified LGPL-2"/>
|
||||||
<Version Release="1"/>
|
<Version Release="1"/>
|
||||||
<Files Count="4">
|
<Files Count="5">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="regidescout.pas"/>
|
<Filename Value="regidescout.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<HasRegisterProc Value="True"/>
|
||||||
@ -32,6 +32,10 @@ See the ReadMe.txt included in the package for a more detailed explanation."/>
|
|||||||
<Filename Value="idescoutoptions.pas"/>
|
<Filename Value="idescoutoptions.pas"/>
|
||||||
<UnitName Value="IDEScoutOptions"/>
|
<UnitName Value="IDEScoutOptions"/>
|
||||||
</Item4>
|
</Item4>
|
||||||
|
<Item5>
|
||||||
|
<Filename Value="idescoutstrconsts.pas"/>
|
||||||
|
<UnitName Value="IDEScoutStrConsts"/>
|
||||||
|
</Item5>
|
||||||
</Files>
|
</Files>
|
||||||
<i18n>
|
<i18n>
|
||||||
<EnableI18N Value="True"/>
|
<EnableI18N Value="True"/>
|
||||||
|
@ -8,7 +8,7 @@ unit idescout;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
RegIDEScout, frmscout, IDEScoutOptions, LazarusPackageIntf;
|
RegIDEScout, frmscout, IDEScoutOptions, IDEScoutStrConsts, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -42,20 +42,20 @@ object IDEScoutOptionsFrame: TIDEScoutOptionsFrame
|
|||||||
050000000202020202
|
050000000202020202
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
object Options: TGroupBox
|
object GBOptions: TGroupBox
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 76
|
Height = 76
|
||||||
Top = 151
|
Top = 151
|
||||||
Width = 427
|
Width = 427
|
||||||
Align = alTop
|
Align = alTop
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Caption = 'Options'
|
Caption = 'GBOptions'
|
||||||
ClientHeight = 56
|
ClientHeight = 56
|
||||||
ClientWidth = 423
|
ClientWidth = 423
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
object CBShowShortCut: TCheckBox
|
object CBShowShortCut: TCheckBox
|
||||||
AnchorSideLeft.Control = Options
|
AnchorSideLeft.Control = GBOptions
|
||||||
AnchorSideTop.Control = Options
|
AnchorSideTop.Control = GBOptions
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 6
|
Top = 6
|
||||||
@ -66,7 +66,7 @@ object IDEScoutOptionsFrame: TIDEScoutOptionsFrame
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
end
|
end
|
||||||
object CBShowCategory: TCheckBox
|
object CBShowCategory: TCheckBox
|
||||||
AnchorSideLeft.Control = Options
|
AnchorSideLeft.Control = GBOptions
|
||||||
AnchorSideTop.Control = CBShowShortCut
|
AnchorSideTop.Control = CBShowShortCut
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
@ -80,14 +80,14 @@ object IDEScoutOptionsFrame: TIDEScoutOptionsFrame
|
|||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object Colors: TGroupBox
|
object GBColors: TGroupBox
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 69
|
Height = 69
|
||||||
Top = 227
|
Top = 227
|
||||||
Width = 427
|
Width = 427
|
||||||
Align = alTop
|
Align = alTop
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Caption = 'Colors'
|
Caption = 'GBColors'
|
||||||
ClientHeight = 49
|
ClientHeight = 49
|
||||||
ClientWidth = 423
|
ClientWidth = 423
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
@ -117,8 +117,8 @@ object IDEScoutOptionsFrame: TIDEScoutOptionsFrame
|
|||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object LCBMatchColor: TLabel
|
object LCBMatchColor: TLabel
|
||||||
AnchorSideLeft.Control = Colors
|
AnchorSideLeft.Control = GBColors
|
||||||
AnchorSideTop.Control = Colors
|
AnchorSideTop.Control = GBColors
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 6
|
Top = 6
|
||||||
|
@ -39,7 +39,7 @@ uses
|
|||||||
// LCL
|
// LCL
|
||||||
Forms, StdCtrls, Dialogs, Spin, ExtCtrls, ColorBox,
|
Forms, StdCtrls, Dialogs, Spin, ExtCtrls, ColorBox,
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
IDEOptionsIntf, IDEOptEditorIntf, frmScout;
|
IDEOptionsIntf, IDEOptEditorIntf, frmScout, IDEScoutStrConsts;
|
||||||
|
|
||||||
|
|
||||||
Type
|
Type
|
||||||
@ -52,13 +52,13 @@ Type
|
|||||||
CBShortCutColor: TColorBox;
|
CBShortCutColor: TColorBox;
|
||||||
CBShowCategory: TCheckBox;
|
CBShowCategory: TCheckBox;
|
||||||
CBSelectComponent: TCheckBox;
|
CBSelectComponent: TCheckBox;
|
||||||
Colors: TGroupBox;
|
GBColors: TGroupBox;
|
||||||
GBComponents: TGroupBox;
|
GBComponents: TGroupBox;
|
||||||
LSEComponentDefaultWidth: TLabel;
|
LSEComponentDefaultWidth: TLabel;
|
||||||
LSEComponentDefaultHeight: TLabel;
|
LSEComponentDefaultHeight: TLabel;
|
||||||
LCBShortCut: TLabel;
|
LCBShortCut: TLabel;
|
||||||
LCBMatchColor: TLabel;
|
LCBMatchColor: TLabel;
|
||||||
Options: TGroupBox;
|
GBOptions: TGroupBox;
|
||||||
SEComponentDefaultWidth: TSpinEdit;
|
SEComponentDefaultWidth: TSpinEdit;
|
||||||
SEComponentDefaultHeight: TSpinEdit;
|
SEComponentDefaultHeight: TSpinEdit;
|
||||||
procedure CGSearchItemClick(Sender: TObject; Index: integer);
|
procedure CGSearchItemClick(Sender: TObject; Index: integer);
|
||||||
@ -86,14 +86,30 @@ end;
|
|||||||
|
|
||||||
function TIDEScoutOptionsFrame.GetTitle: String;
|
function TIDEScoutOptionsFrame.GetTitle: String;
|
||||||
begin
|
begin
|
||||||
Result:='IDE Scout';
|
Result:=isrsIDEScout;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TIDEScoutOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
procedure TIDEScoutOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||||
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
// Do nothing, maybe localize ?
|
CGSearch.Caption:=isrsSearchScope;
|
||||||
|
CGSearch.Items[0]:=isrsCommands;
|
||||||
|
CGSearch.Items[1]:=isrsRecentProjects;
|
||||||
|
CGSearch.Items[2]:=isrsRecentFiles;
|
||||||
|
CGSearch.Items[3]:=isrsRecentPackages;
|
||||||
|
CGSearch.Items[4]:=isrsComponents;
|
||||||
|
|
||||||
|
GBOptions.Caption:=isrsOptions;
|
||||||
|
CBShowShortCut.Caption:=isrsShowShOrtcutWhenAvailable;
|
||||||
|
CBShowCategory.Caption:=isrsShowCategoryWhenAvailable;
|
||||||
|
|
||||||
|
GBColors.Caption:=isrsColors;
|
||||||
|
LCBMatchColor.Caption:=isrsMatches;
|
||||||
|
LCBShortCut.Caption:=isrsShortcut;
|
||||||
|
|
||||||
|
GBComponents.Caption:=isrsComponents;
|
||||||
|
CBSelectComponent.Caption:=isrsOnlySelectOnComponentPalette;
|
||||||
|
LSEComponentDefaultWidth.Caption:=isrsDefaultWidth;
|
||||||
|
LSEComponentDefaultHeight.Caption:=isrsDefaultHeight;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TIDEScoutOptionsFrame.ReadSettings(AOptions: TAbstractIDEOptions);
|
procedure TIDEScoutOptionsFrame.ReadSettings(AOptions: TAbstractIDEOptions);
|
||||||
|
33
components/idescout/idescoutstrconsts.pas
Normal file
33
components/idescout/idescoutstrconsts.pas
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
unit IDEScoutStrConsts;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
resourcestring
|
||||||
|
isrsShowIDEScout = 'Show IDE Scout';
|
||||||
|
isrsShowIDEScoutMenu = 'Show IDE Scout ...';
|
||||||
|
|
||||||
|
isrsIDEScout = 'IDE Scout';
|
||||||
|
isrsTypeSearchTerms = 'Type search terms';
|
||||||
|
|
||||||
|
isrsSearchScope = 'Search scope';
|
||||||
|
isrsCommands = 'Commands';
|
||||||
|
isrsRecentProjects = 'Recent Projects';
|
||||||
|
isrsRecentFiles = 'Recent Files';
|
||||||
|
isrsRecentPackages = 'Recent Packages';
|
||||||
|
isrsComponents = 'Components';
|
||||||
|
isrsOnlySelectOnComponentPalette = 'Only select on component palette';
|
||||||
|
isrsDefaultWidth = 'Default width';
|
||||||
|
isrsDefaultHeight = 'Default height';
|
||||||
|
isrsOptions = 'Options';
|
||||||
|
isrsShowShOrtcutWhenAvailable = 'Show Sh&ortcut when available';
|
||||||
|
isrsShowCategoryWhenAvailable = 'Show &Category when available';
|
||||||
|
isrsColors = 'Colors';
|
||||||
|
isrsMatches = '&Matches';
|
||||||
|
isrsShortcut = '&Shortcut';
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
end.
|
||||||
|
|
79
components/idescout/languages/idescoutstrconsts.po
Normal file
79
components/idescout/languages/idescoutstrconsts.po
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscolors
|
||||||
|
msgid "Colors"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscommands
|
||||||
|
msgid "Commands"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscomponents
|
||||||
|
msgid "Components"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsdefaultheight
|
||||||
|
msgid "Default height"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsdefaultwidth
|
||||||
|
msgid "Default width"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsidescout
|
||||||
|
msgid "IDE Scout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsmatches
|
||||||
|
msgid "&Matches"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsonlyselectoncomponentpalette
|
||||||
|
msgid "Only select on component palette"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsoptions
|
||||||
|
msgid "Options"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentfiles
|
||||||
|
msgid "Recent Files"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentpackages
|
||||||
|
msgid "Recent Packages"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentprojects
|
||||||
|
msgid "Recent Projects"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrssearchscope
|
||||||
|
msgid "Search scope"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshortcut
|
||||||
|
msgid "&Shortcut"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowcategorywhenavailable
|
||||||
|
msgid "Show &Category when available"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowidescout
|
||||||
|
msgid "Show IDE Scout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowidescoutmenu
|
||||||
|
msgid "Show IDE Scout ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowshortcutwhenavailable
|
||||||
|
msgid "Show Sh&ortcut when available"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrstypesearchterms
|
||||||
|
msgid "Type search terms"
|
||||||
|
msgstr ""
|
||||||
|
|
89
components/idescout/languages/idescoutstrconsts.ru.po
Normal file
89
components/idescout/languages/idescoutstrconsts.ru.po
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: \n"
|
||||||
|
"PO-Revision-Date: \n"
|
||||||
|
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: ru\n"
|
||||||
|
"X-Generator: Poedit 1.7.7\n"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscolors
|
||||||
|
msgid "Colors"
|
||||||
|
msgstr "Цвета"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscommands
|
||||||
|
msgid "Commands"
|
||||||
|
msgstr "Команды"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrscomponents
|
||||||
|
msgid "Components"
|
||||||
|
msgstr "Компоненты"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsdefaultheight
|
||||||
|
msgid "Default height"
|
||||||
|
msgstr "Высота по умолчанию"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsdefaultwidth
|
||||||
|
msgid "Default width"
|
||||||
|
msgstr "Ширина по умолчанию"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsidescout
|
||||||
|
msgid "IDE Scout"
|
||||||
|
msgstr "Исследователь IDE"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsmatches
|
||||||
|
msgid "&Matches"
|
||||||
|
msgstr "&Совпадения"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsonlyselectoncomponentpalette
|
||||||
|
msgid "Only select on component palette"
|
||||||
|
msgstr "Только выбирать на палитре компонентов"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsoptions
|
||||||
|
msgid "Options"
|
||||||
|
msgstr "Параметры"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentfiles
|
||||||
|
msgid "Recent Files"
|
||||||
|
msgstr "Недавние файлы"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentpackages
|
||||||
|
msgid "Recent Packages"
|
||||||
|
msgstr "Недавние пакеты"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsrecentprojects
|
||||||
|
msgid "Recent Projects"
|
||||||
|
msgstr "Недавние проекты"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrssearchscope
|
||||||
|
msgid "Search scope"
|
||||||
|
msgstr "Область поиска"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshortcut
|
||||||
|
msgid "&Shortcut"
|
||||||
|
msgstr "Комбинация к&лавиш"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowcategorywhenavailable
|
||||||
|
msgid "Show &Category when available"
|
||||||
|
msgstr "Показывать &категорию при её наличии"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowidescout
|
||||||
|
msgid "Show IDE Scout"
|
||||||
|
msgstr "Показать окно исследователя IDE"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowidescoutmenu
|
||||||
|
msgid "Show IDE Scout ..."
|
||||||
|
msgstr "Показать окно исследователя IDE ..."
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrsshowshortcutwhenavailable
|
||||||
|
msgid "Show Sh&ortcut when available"
|
||||||
|
msgstr "Показывать к&омбинацию клавиш при её наличии"
|
||||||
|
|
||||||
|
#: idescoutstrconsts.isrstypesearchterms
|
||||||
|
msgid "Type search terms"
|
||||||
|
msgstr "Введите ключевые слова для поиска"
|
||||||
|
|
@ -35,13 +35,13 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
IDEOptionsIntf, IDEOptEditorIntf, IDEUtils, Classes, SysUtils;
|
IDEOptionsIntf, IDEOptEditorIntf, Classes, SysUtils;
|
||||||
|
|
||||||
Procedure Register;
|
Procedure Register;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses IDEScoutOptions,forms, graphics,lcltype,idecommands,toolbarintf, idewindowintf, menuintf, frmscout;
|
uses IDEScoutOptions,forms, graphics,lcltype,idecommands,toolbarintf, idewindowintf, menuintf, frmscout, IDEScoutStrConsts;
|
||||||
|
|
||||||
Procedure IdeMenuClicked(Sender : TObject);
|
Procedure IdeMenuClicked(Sender : TObject);
|
||||||
|
|
||||||
@ -72,14 +72,16 @@ begin
|
|||||||
IDECommandCategory := IDECommandList.FindCategoryByName(CommandCategoryViewName);
|
IDECommandCategory := IDECommandList.FindCategoryByName(CommandCategoryViewName);
|
||||||
if IDECommandCategory <> nil then
|
if IDECommandCategory <> nil then
|
||||||
begin
|
begin
|
||||||
IDECommand := RegisterIDECommand(IDECommandCategory, 'IDEScout', 'Open IDE Scout',
|
IDECommand := RegisterIDECommand(IDECommandCategory, 'IDEScout',
|
||||||
|
isrsShowIDEScout,
|
||||||
IDEShortCutX, nil, @IDEMenuClicked);
|
IDEShortCutX, nil, @IDEMenuClicked);
|
||||||
if IDECommand <> nil then
|
if IDECommand <> nil then
|
||||||
RegisterIDEButtonCommand(IDECommand);
|
RegisterIDEButtonCommand(IDECommand);
|
||||||
end;
|
end;
|
||||||
IDEScoutOptionsFrameID:=RegisterIDEOptionsEditor(GroupEnvironment,TIDEScoutOptionsFrame,
|
IDEScoutOptionsFrameID:=RegisterIDEOptionsEditor(GroupEnvironment,TIDEScoutOptionsFrame,
|
||||||
IDEScoutOptionsFrameID)^.Index;
|
IDEScoutOptionsFrameID)^.Index;
|
||||||
RegisterIDEMenuCommand(itmViewIDEInternalsWindows, 'IDEScout', 'Open IDE Scout', nil,
|
RegisterIDEMenuCommand(itmViewIDEInternalsWindows, 'IDEScout',
|
||||||
|
isrsShowIDEScoutMenu, nil,
|
||||||
@IDEMenuClicked,IDECommand);
|
@IDEMenuClicked,IDECommand);
|
||||||
IDEWindowCreators.Add('IDEScout',@CreateScoutWindow,nil,'40%','10%','+500','+240');
|
IDEWindowCreators.Add('IDEScout',@CreateScoutWindow,nil,'40%','10%','+500','+240');
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user