mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-03 10:21:36 +00:00
Added, Script Editor: added "Script Navigator" tab. It shows and allows to open text resources loaded by the editor.
WARNING: because of the large amount of added/modified code, bugs are possible, so backup your resources, save often and report bugs.
This commit is contained in:
parent
36ff694e79
commit
894279b4ba
72 changed files with 4890 additions and 660 deletions
32
Source/Core/Windows/ScriptGoToLineForm.cs
Normal file
32
Source/Core/Windows/ScriptGoToLineForm.cs
Normal file
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CodeImp.DoomBuilder.Windows
|
||||
{
|
||||
public partial class ScriptGoToLineForm : DelayedForm
|
||||
{
|
||||
public int LineNumber { get { return linenumber.GetResult(-1); } set { linenumber.Text = value.ToString(); } }
|
||||
|
||||
public ScriptGoToLineForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void accept_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ScriptGoToLineForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
linenumber.Focus();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue