mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
15 lines
326 B
C++
15 lines
326 B
C++
#include "ide.h"
|
|
|
|
#include <ide/MacroManager/MacroManager.h>
|
|
|
|
void Ide::DoMacroManager()
|
|
{
|
|
MacroManagerWindow window(IdeWorkspace(), editor.StoreHlStyles());
|
|
window.WhenEdit = [=](String fileName, int line) {
|
|
EditFile(fileName);
|
|
editor.SetCursor(editor.GetPos(line));
|
|
editor.CenterCursor();
|
|
};
|
|
|
|
window.Execute();
|
|
}
|