UltimateZoneBuilder/Source/Core/Config/ScriptDocumentSettings.cs

25 lines
622 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace CodeImp.DoomBuilder.Config
{
internal struct ScriptDocumentSettings
{
public Dictionary<int, HashSet<int>> FoldLevels; // <fold level, line numbers>
public int CaretPosition;
public int FirstVisibleLine;
public string Filename;
public string ResourceLocation; // Used by ScriptResourceDocumentTab only
public ScriptType ScriptType; // Used by ScriptResourceDocumentTab only
public ScriptDocumentTabType TabType;
public bool IsActiveTab;
public long Hash;
}
public enum ScriptDocumentTabType
{
LUMP,
RESOURCE,
FILE,
}
}