public TextView(Control parent, TextDocument textDocument) : base(parent) { Dock = Pos.Fill; TextLayer = new TextLayer(this, textDocument); CarretLayer = new CarretLayer(this); }