⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 segment.cs

📁 Fireball.CodeEditor is an source code editor control derived from the best compona SyntaxBox Control
💻 CS
字号:
namespace Fireball.Syntax
{
	/// <summary>
	/// 
	/// </summary>
	public class Segment
	{
		/// <summary>
		/// The owner BlockType
		/// </summary>
		public BlockType BlockType;

		/// <summary>
		/// The parent segment
		/// </summary>
		public Segment Parent;

		/// <summary>
		/// The depth of this segment in the segment hirarchy
		/// </summary>
		public int Depth = 0;

		/// <summary>
		/// The row on which the segment starts
		/// </summary>
		public Row StartRow;

		/// <summary>
		/// The word that starts this segment
		/// </summary>
		public Word StartWord;

		/// <summary>
		/// The row that the segment ends on
		/// </summary>
		public Row EndRow;

		/// <summary>
		/// The word that ends this segment
		/// </summary>
		public Word EndWord;

		/// <summary>
		/// Gets or Sets if this segment is expanded
		/// </summary>
		public bool Expanded = true;

		/// <summary>
		/// Gets or Sets what scope triggered this segment
		/// </summary>
		public Scope Scope = null;


		/// <summary>
		/// 
		/// </summary>
		/// <param name="startrow"></param>
		public Segment(Row startrow)
		{
			StartRow = startrow;
		}

		/// <summary>
		/// 
		/// </summary>
		public Segment()
		{
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -