public Caret(HexEditor editor) { _editor = editor; _isCaretActive = false; _startIndex = 0; _endIndex = 0; _isCaretHidden = true; _location = new Point(0, 0); }
public HexViewHandler(HexEditor editor) { _editor = editor; //Set String format for the hex values _stringFormat = new StringFormat(StringFormat.GenericTypographic); _stringFormat.Alignment = StringAlignment.Center; _stringFormat.LineAlignment = StringAlignment.Center; }
public EditView(HexEditor editor) { _editor = editor; _hexView = new HexViewHandler(editor); _stringView = new StringViewHandler(editor); }