mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ide Cosmetics related to MacroManager.
git-svn-id: svn://ultimatepp.org/upp/trunk@11056 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d8331f7e37
commit
0c3210fe75
3 changed files with 10 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ Image MacroElement::GetImage(Type type)
|
|||
|
||||
#define METHOD_NAME "MacroManagerWindow " << UPP_FUNCTION_NAME << "(): "
|
||||
|
||||
class MacroManagerWindow : public WithMacroManagerLayout<TopWindow> {
|
||||
class MacroManagerWindow final : public WithMacroManagerLayout<TopWindow> {
|
||||
using MacroStore = ArrayMap<String, Array<MacroElement>>;
|
||||
|
||||
public:
|
||||
|
|
@ -84,6 +84,11 @@ private:
|
|||
|
||||
MacroStore macrosStore;
|
||||
TreeCtrl macrosTree;
|
||||
// TODO:
|
||||
// - Macro should be organized in two tree roots - global and packages macros.
|
||||
// - The path of macro should not be shown in tree - it can be show in corresponding label.
|
||||
// Only file title and package name (if macro belongs to package) should be show.
|
||||
|
||||
CodeEditor editor;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -729,9 +729,7 @@ public:
|
|||
TimeCallback text_updated;
|
||||
void TriggerAssistSync();
|
||||
|
||||
void DoEditKeys();
|
||||
void AKEditor();
|
||||
void DoMacroManager();
|
||||
|
||||
void PackageMenu(Bar& menu);
|
||||
|
||||
|
|
@ -898,12 +896,14 @@ public:
|
|||
|
||||
void Setup(Bar& menu);
|
||||
void SetupFormat();
|
||||
void DoEditKeys();
|
||||
void ToggleVerboseBuild();
|
||||
void AutoSetup();
|
||||
void CheckUpdates(bool verbose);
|
||||
void CheckUpdatesManual();
|
||||
void SetUpdateTimer(int period);
|
||||
void Abbreviations();
|
||||
void DoMacroManager();
|
||||
|
||||
void SetupMobilePlatforms(Bar& bar);
|
||||
void SetupAndroidMobilePlatform(Bar& bar, const AndroidSDK& androidSDK);
|
||||
|
|
|
|||
|
|
@ -356,7 +356,8 @@ void Ide::Setup(Bar& menu)
|
|||
.Help("Edit key bindings");
|
||||
menu.Add("Build methods..", THISBACK(SetupBuildMethods))
|
||||
.Help("Setup build methods");
|
||||
menu.Add("Macro Manager..", THISBACK(DoMacroManager));
|
||||
menu.Add("Macro Manager..", THISBACK(DoMacroManager))
|
||||
.Help("Manage macros collection..");
|
||||
#ifdef PLATFORM_WIN32
|
||||
menu.Add("Automatic build methods setup..", callback(InstantSetup))
|
||||
.Help("Setups/fixes build methods and basic assemblies..");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue