How do you create multi-carets in textbox c #

I find many professional text editors such as Sublime Text and Synwrite that have the function of a Multi-Caret editor. The text carriage will actually be inserted into different lines inside the editor, so you can edit multiple lines for the same type of code. Therefore, copying is no longer necessary.

Here is a GIF image of Cuda Text editor with the Multi Caret feature.

So can anyone help achieve this in C #?

+5
source share
1 answer

Just hold Alt and select the lines you want with just a mouse move. Here's how you can achieve multiple edits in Visual Studio C #.

0
source

Source: https://habr.com/ru/post/1271156/


All Articles