mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
@ work in progress
This commit is contained in:
parent
6d6349d01b
commit
ef06837a04
4 changed files with 60 additions and 2 deletions
|
@ -674,6 +674,7 @@
|
|||
<Compile Include="Windows\ErrorsForm.Designer.cs">
|
||||
<DependentUpon>ErrorsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\FindReplaceOptions.cs" />
|
||||
<Compile Include="Windows\ScriptFindReplaceForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -58,9 +58,9 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
protected ScriptEditorPanel panel;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region ================== Properties
|
||||
|
||||
|
||||
public virtual bool ExplicitSave { get { return true; } }
|
||||
public virtual bool IsSaveAsRequired { get { return true; } }
|
||||
public virtual bool IsClosable { get { return true; } }
|
||||
|
@ -211,6 +211,12 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
editor.Paste();
|
||||
}
|
||||
|
||||
// Find next result
|
||||
public bool FindNext(FindReplaceOptions options)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Events
|
||||
|
|
|
@ -53,6 +53,8 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
|
||||
#region ================== Properties
|
||||
|
||||
public ScriptDocumentTab ActiveTab { get { return (tabs.SelectedTab as ScriptDocumentTab); } }
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Constructor
|
||||
|
|
49
Source/Windows/FindReplaceOptions.cs
Normal file
49
Source/Windows/FindReplaceOptions.cs
Normal file
|
@ -0,0 +1,49 @@
|
|||
|
||||
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
||||
* This program is released under GNU General Public License
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Namespaces
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Drawing;
|
||||
using System.ComponentModel;
|
||||
using CodeImp.DoomBuilder.Map;
|
||||
using SlimDX.Direct3D9;
|
||||
using SlimDX;
|
||||
using CodeImp.DoomBuilder.Geometry;
|
||||
using System.Drawing.Imaging;
|
||||
using CodeImp.DoomBuilder.Data;
|
||||
using CodeImp.DoomBuilder.Editing;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace CodeImp.DoomBuilder.Windows
|
||||
{
|
||||
internal struct FindReplaceOptions
|
||||
{
|
||||
public string FindText;
|
||||
public bool CaseSensitive;
|
||||
public bool WholeWord;
|
||||
public string ReplaceWith;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue