undoblock.cs

来自「Fireball.CodeEditor is an source code ed」· CS 代码 · 共 40 行

CS
40
字号
namespace Fireball.Syntax
{
	//what kind of undoaction is it?
	/// <summary>
	/// 
	/// </summary>
	public enum UndoAction
	{
		/// <summary>
		/// 
		/// </summary>
		InsertRange = 1,
		/// <summary>
		/// 
		/// </summary>
		DeleteRange = 2,
	}

	//object that holds undo information
	/// <summary>
	/// 
	/// </summary>
	public sealed class UndoBlock
	{
		/// <summary>
		/// 
		/// </summary>
		public string Text = "";

		/// <summary>
		/// 
		/// </summary>
		public TextPoint Position = new TextPoint(0, 0);

		/// <summary>
		/// 
		/// </summary>
		public UndoAction Action = 0;
	}
}

⌨️ 快捷键说明

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