using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; #if NO_SCINTILLA namespace ScintillaNET { public enum Lexer { Container = 0, Null = 1, Python = 2, Cpp = 3, Html = 4, Xml = 5, Perl = 6, Sql = 7, Vb = 8, Properties = 9, Batch = 12, Lua = 15, Pascal = 18, Ada = 20, Lisp = 21, Ruby = 22, VbScript = 28, Asm = 34, Fortran = 36, Css = 38, Verilog = 56, BlitzBasic = 66, PureBasic = 67, PhpScript = 69, Smalltalk = 72, FreeBasic = 75, R = 86, PowerShell = 88, Markdown = 98, Json = 120 } public enum WhitespaceMode { Invisible, VisibleAlways, VisibleAfterIndent, VisibleOnlyIndent } public enum WrapMode { None, Word, Char, Whitespace } public enum Command { Null } public enum FoldAction { Contract } [Flags] public enum FoldFlags { LineAfterContracted } public class Line { public Line() { Text = ""; } public int Position { get; private set; } public int EndPosition { get; private set; } public string Text { get; private set; } public int WrapCount { get; private set; } public int Indentation { get; set; } public int FoldLevel { get; set; } public bool Expanded { get; set; } public void FoldLine(FoldAction action) { } public void Goto() { } public void MarkerAdd(int marker) { } } public class LineCollection // : IEnumerable { public LineCollection() { lines.Add(new Line()); } public int Count { get { return lines.Count; } } public Line this[int index] { get { return lines[index]; } } internal List lines = new List(); } public enum StyleCase { Mixed } public class Style { public const int Default = 0; public const int LineNumber = 1; public const int CallTip = 2; public const int IndentGuide = 3; public const int BraceLight = 4; public const int BraceBad = 5; public const int FoldDisplayText = 6; public Color BackColor { get; set; } public Color ForeColor { get; set; } public string Font { get; set; } public int Size { get; set; } public bool Bold { get; set; } public bool Italic { get; set; } public bool Underline { get; set; } public StyleCase Case { get; set; } } public class StyleCollection // : IEnumerable