mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ide: TheIDE: Selecting items of navigator bar for layout files as text (rm #213)
git-svn-id: svn://ultimatepp.org/upp/trunk@4338 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
69d636502e
commit
b3c4658136
1 changed files with 9 additions and 2 deletions
|
|
@ -1193,8 +1193,15 @@ void Ide::JumpToDefinition(const Array<CppItem>& n, int q)
|
|||
AddHistory();
|
||||
EditFile(path);
|
||||
LayDesigner *l = dynamic_cast<LayDesigner *>(~designer);
|
||||
if(l && pos.name.StartsWith("With"))
|
||||
l->FindLayout(pos.name.Mid(4));
|
||||
if(l) {
|
||||
if(pos.name.StartsWith("With"))
|
||||
l->FindLayout(pos.name.Mid(4));
|
||||
}
|
||||
else {
|
||||
editor.SetCursor(editor.GetPos(pos.line - 1));
|
||||
editor.TopCursor(4);
|
||||
editor.SetFocus();
|
||||
}
|
||||
AddHistory();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue