Feature #1905
TheIde/Editor : Add a submenu, diff, between Selected text and Clipboard text
Status: | Approved | Start date: | 09/27/2018 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | IDE | Spent time: | - | |
Target version: | - |
Description
void Ide::EditorMenu(Bar& bar) { InsertAdvanced(bar); bar.MenuSeparator(); OnlineSearchMenu(bar); bar.MenuSeparator(); editor.StdBar(bar); bar.Add(editor.IsSelection() && IsClipboardAvailableText(), "Diff", [=]() { DiffDlg dlg; dlg.diff.left.RemoveFrame(dlg.p); dlg.diff.Set(ReadClipboardText(), editor.GetSelection()); dlg.Run(); }); }
Thanks
History
#1 Updated by Miroslav Fidler about 6 years ago
- Status changed from Patch ready to Approved