Exemplo n.º 1
0
        public override void AddRedraw(HexEditor editor)
        {
            Margin margin = editor.Margins.FirstOrDefault(m => m.GetType() == MarginType);

            if (margin != null)
            {
                editor.RepaintMarginArea(margin,
                                         margin.XOffset,
                                         (int)(Line * editor.LineHeight - editor.HexEditorData.VAdjustment.Value),
                                         margin.Width,
                                         editor.LineHeight);
            }
        }