How are text editors generally implemented?

One technique that’s common (especially in older editors) is called a split buffer. Basically, you “break” the text into everything before the cursor and everything after the cursor. Everything before goes at the beginning of the buffer. Everything after goes at the end of the buffer. When the user types in text, it goes into … Read more

Is there vim plugin for notepad++? [closed]

You can try ViSimulator for Notepad++, which may meet your requests in somewhat. it is a plug-in for notepad++, which make it possible to edit as vi/vim in notepad++. ViSimulator simulates/emulates most frequently-used vi/vim commands to provide more powerful editing capability for notepad++. As the description from the site, some commands it supports: 0: move … Read more

Move line Up/Down shortcut in Visual Studio 2012

For those who arrived on this question using Visual Studio 2013 or above, the feature is built right into the program. Just use AltUp and AltDown to move the line with your cursor—or the selected lines—up and down. If you wish to rebind it in Tools > Options > Environment > Keyboard, the keys are … Read more