mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ide Added "Go to line.." dialog as an alternative to navigator approche. It is also integrated with editor mode - that previously hasn't got that feature due to lack of navigator.
git-svn-id: svn://ultimatepp.org/upp/trunk@11036 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
32f189180e
commit
405fbcbe84
7 changed files with 71 additions and 5 deletions
|
|
@ -610,6 +610,7 @@ void Ide::BrowseMenu(Bar& menu)
|
|||
menu.Add(!designer, AK_THISBACKS, callback(&editor, &AssistEditor::Thisbacks));
|
||||
menu.Add(!designer, AK_COMPLETE, callback(&editor, &AssistEditor::Complete));
|
||||
menu.Add(!designer, AK_ABBR, callback(&editor, &AssistEditor::Abbr));
|
||||
menu.Add(!designer, AK_GO_TO_LINE, THISBACK(GoToLine));
|
||||
menu.Add(!designer, "Insert", THISBACK(InsertMenu));
|
||||
menu.MenuSeparator();
|
||||
}
|
||||
|
|
@ -630,6 +631,11 @@ void Ide::BrowseMenu(Bar& menu)
|
|||
menu.MenuSeparator();
|
||||
}
|
||||
}
|
||||
else {
|
||||
menu.Add(!designer, AK_GO_TO_LINE, THISBACK(GoToLine));
|
||||
menu.MenuSeparator();
|
||||
}
|
||||
|
||||
if(menu.IsMenuBar()) {
|
||||
menu.AddMenu(AK_CALC, IdeImg::calc(), THISBACK1(ToggleBottom, BCALC))
|
||||
.Check(IsBottomShown() && btabs.GetCursor() == BCALC);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue