Column mode edit text

foreword

Sometimes the text content and format are similar, especially for programmers, who only need to make the same modification to some columns in each line of content. At this time, column mode editing will be very convenient. This article mainly introduces column mode editing documents.

Front

I didn't actually use the column mode a long time ago, and I didn't know it (what an ignorant girl~). I used the UltraEdit editor a year or two ago, and I was very pleasantly surprised by the column mode, which was so convenient. At present, notepad++ is used more, and you can find your favorite text boundary device here / here , and often use VS to edit directly, mainly because VS has function folding. The text editor I hope is that the source files in a project folder can be completely displayed in the editor directory, keywords are highlighted, functions or loops can be folded, etc. If you have a text editor that you think is useful , welcome to leave a message~

How to operate

The operation method is actually very simple, just use " ALT + mouse click ";

For the following text programs to modify some columns, such as changing the char in each line to int, it is much more convenient. . .

        printf("buffer[0]: --- %x\n", (unsigned char)buffer[i][0]);
        printf("buffer[1]: --- %x\n", (unsigned char)buffer[i][1]);
        printf("buffer[2]: --- %x\n", (unsigned char)buffer[i][2]);
        printf("buffer[3]: --- %x\n", (unsigned char)buffer[i][3]);
        printf("buffer[4]: --- %x\n", (unsigned char)buffer[i][4]);
        printf("buffer[5]: --- %x\n", (unsigned char)buffer[i][5]);
        printf("buffer[6]: --- %x\n", (unsigned char)buffer[i][6]);
        printf("buffer[7]: --- %x\n", (unsigned char)buffer[i][7]);

over

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324594164&siteId=291194637