RichTextBox is often mistaken for an editor. It is technically possible, you will need a lot of code. The first order is to choose a font with a fixed pitch, such as Courier.
, , . , , SelectionBackColor. MouseDown MouseMove, Control.Modifiers, , ALT. GetCharIndexFromPosition, , . , /, SelectionStart, SelectionLength SelectionBackColor .
, . P/Invoke SendMessage(), WM_SETREDRAW , .
- . RTB, WndProc() WM_COPY, WM_CUT, WM_PASTE. - , , .
, ScintillaNET. , , .