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

📄 undoblock.cs

📁 Fireball.CodeEditor is an source code editor control derived from the best compona SyntaxBox Control
💻 CS
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -