UltimateZoneBuilder/Source/Core/Config/ScriptDocumentSettings.cs
MaxED 894279b4ba 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.
2016-11-24 11:55:11 +00:00

24 lines
624 B
C#

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;
}
internal enum ScriptDocumentTabType
{
LUMP,
RESOURCE,
FILE,
}
}