Exemple #1
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;
        }
Exemple #2
0
 public Caret(HexEditor editor)
 {
     _editor        = editor;
     _isCaretActive = false;
     _startIndex    = 0;
     _endIndex      = 0;
     _isCaretHidden = true;
     _location      = new Point(0, 0);
 }
Exemple #3
0
 public EditView(HexEditor editor)
 {
     _editor     = editor;
     _hexView    = new HexViewHandler(editor);
     _stringView = new StringViewHandler(editor);
 }