mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
5eb438e3ba
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
49 lines
1.2 KiB
C#
Executable file
49 lines
1.2 KiB
C#
Executable file
|
|
#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
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Windows
|
|
{
|
|
public enum FindReplaceSearchMode //mxd
|
|
{
|
|
CURRENT_FILE,
|
|
OPENED_TABS_ALL_SCRIPT_TYPES
|
|
}
|
|
|
|
public struct FindReplaceOptions
|
|
{
|
|
public string FindText;
|
|
public bool CaseSensitive;
|
|
public bool WholeWord;
|
|
public string ReplaceWith;
|
|
public FindReplaceSearchMode SearchMode; //mxd
|
|
public bool WrapAroundDisabled;
|
|
|
|
//mxd. Copy constructor
|
|
public FindReplaceOptions(FindReplaceOptions other)
|
|
{
|
|
FindText = other.FindText;
|
|
CaseSensitive = other.CaseSensitive;
|
|
WholeWord = other.WholeWord;
|
|
ReplaceWith = other.ReplaceWith;
|
|
SearchMode = other.SearchMode;
|
|
WrapAroundDisabled = other.WrapAroundDisabled;
|
|
}
|
|
}
|
|
}
|