mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-04 19:01:18 +00:00
Script Editor: added Quick Search panel.
Find and Replace window: added "Find Previous" button.
This commit is contained in:
parent
e6e74478db
commit
2f981476e0
15 changed files with 339 additions and 85 deletions
|
@ -58,11 +58,13 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
public delegate void OpenScriptBrowserDelegate();
|
||||
public delegate void OpenFindReplaceDelegate();
|
||||
public delegate void FindNextDelegate();
|
||||
public delegate void FindPreviousDelegate(); //mxd
|
||||
|
||||
public event ExplicitSaveTabDelegate OnExplicitSaveTab;
|
||||
public event OpenScriptBrowserDelegate OnOpenScriptBrowser;
|
||||
public event OpenFindReplaceDelegate OnOpenFindAndReplace;
|
||||
public event FindNextDelegate OnFindNext;
|
||||
public event FindPreviousDelegate OnFindPrevious; //mxd
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -784,10 +786,10 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
e.Handled = true;
|
||||
}
|
||||
|
||||
// F2 for Keyword Help
|
||||
// F2 for Find Previous (mxd)
|
||||
else if((e.KeyCode == Keys.F2) && (e.Modifiers == Keys.None))
|
||||
{
|
||||
LaunchKeywordHelp();
|
||||
if(OnFindPrevious != null) OnFindPrevious();
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue