📄 editviewcontrol.cs
字号:
//ORIGINAL LGPL SOURCE CODE FINDED ON COMPONA LGPL SOURCE CODE
#region using ...
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Fireball.Syntax;
using Fireball.Windows.Forms;
using Fireball.Windows.Forms.CodeEditor.Painter;
using Fireball.Windows.Forms.CodeEditor.TextDraw;
using ScrollEventArgs = Fireball.Windows.Forms.IntelliMouse.ScrollEventArgs;
using ScrollEventHandler = Fireball.Windows.Forms.IntelliMouse.ScrollEventHandler;
using Fireball.Win32;
using System.IO;
using Fireball.Globalization;
using Fireball.Timers;
#endregion
namespace Fireball.Windows.Forms.CodeEditor
{
[ToolboxItem(false)]
public sealed class EditViewControl : SplitViewChildWidget
{
#region General Declarations
private int MouseX = 0;
private int MouseY = 0;
private MouseButtons MouseButton = 0;
/// <summary>
/// The Point in the text where the Autolist was activated.
/// </summary>
public TextPoint AutoListStartPos = null;
private Selection _Selection;
private Caret _Caret;
private double _IntelliScrollPos = 0;
/// <summary>
/// The Point in the text where the InfoTip was activated.
/// </summary>
public TextPoint InfoTipStartPos = null;
private bool _AutoListVisible = false;
private bool _InfoTipVisible = false;
private bool _OverWrite = false;
private bool _KeyDownHandled = false;
public ViewPoint View = new ViewPoint();
public IPainter Painter;
private TextDrawType _TextDrawStyle = 0;
private string[] TextBorderStyles = new string[]
{
"****** * ******* * ******",
"+---+| | |+-+-+| | |+---+",
"+---+
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -