mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-13 22:04:36 -06:00
ide: Menu improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@15519 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ceb8235fb0
commit
d09717c2f0
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ void Ide::File(Bar& menu)
|
|||
menu.MenuSeparator();
|
||||
|
||||
menu.Add(AK_OPENFILEDIR, THISBACK(OpenFileFolder));
|
||||
menu.Add("Copy File Path", [=] { WriteClipboardText(GetActiveFilePath()); });
|
||||
menu.Sub("Properties", [=](Bar& bar) { FilePropertiesMenu(bar); });
|
||||
menu.MenuSeparator();
|
||||
|
||||
menu.Add(AK_STATISTICS, THISBACK(Statistics))
|
||||
|
|
@ -490,6 +492,7 @@ void Ide::FilePropertiesMenu0(Bar& menu)
|
|||
|
||||
void Ide::FilePropertiesMenu(Bar& menu)
|
||||
{
|
||||
FilePropertiesMenu0(menu);
|
||||
menu.Add(IsActiveFile() && !designer, AK_SAVEENCODING, THISBACK(ChangeCharset))
|
||||
.Help("Convert actual file to different encoding");
|
||||
bool candiff = IsActiveFile() && !editfile_isfolder && !designer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue