2016-02-05 15:21:58 +00:00
|
|
|
|
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;
|
2016-11-24 11:55:11 +00:00
|
|
|
|
public string ResourceLocation; // Used by ScriptResourceDocumentTab only
|
|
|
|
|
public ScriptType ScriptType; // Used by ScriptResourceDocumentTab only
|
|
|
|
|
public ScriptDocumentTabType TabType;
|
2016-02-05 15:21:58 +00:00
|
|
|
|
public bool IsActiveTab;
|
|
|
|
|
public long Hash;
|
|
|
|
|
}
|
2016-11-24 11:55:11 +00:00
|
|
|
|
|
2021-11-28 13:00:24 +00:00
|
|
|
|
public enum ScriptDocumentTabType
|
2016-11-24 11:55:11 +00:00
|
|
|
|
{
|
|
|
|
|
LUMP,
|
|
|
|
|
RESOURCE,
|
|
|
|
|
FILE,
|
|
|
|
|
}
|
2016-02-05 15:21:58 +00:00
|
|
|
|
}
|