public static void EndSelection(HexEditorData data) { data.ExtendSelectionTo(data.Caret.Offset); // data.Caret.AutoScrollToCaret = true; data.Caret.PreserveSelection = false; }
public void DataCaretPositionChanged(object sender, CaretLocationEventArgs e) { data.ExtendSelectionTo(data.Caret.Offset); }
public static void EndLineSelection(HexEditorData data) { data.ExtendSelectionTo(data.Caret.Line * data.BytesInRow + data.BytesInRow); data.Caret.PreserveSelection = false; }