[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Rectangular Selection and Line Breaks in Programmer's Notepad

Published on
11,443 Points
Last Modified:
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into.

One of these problems is selecting and deleting columns of text, as opposed to the normal way of selection. One, rather tedious way of getting around this is pasting your text into Excel or a similar spreadsheet tool, and converting the text to columns. To select a rectangular area of text in Programmer's Notepad, simply hold down the "Alt" button and drag. Now you can easily get rid of rogue spaces and characters.

Often web developers and other programmers who have to port code between platforms run into the problem of line endings. The difficulty with this problem is that we are trying to correct a character that is invisible.  With Programmer's Notepad, there is a small button in the bottom left hand corner that will display symbols at the end of each line, telling you whether you're using carriage return, line feed or both.  What's more, when you save your code file, there is an option in the save dialog to change the type of line break used, so you need never worry about multi-platform development again.  The same options are available for encoding, file formats

There are many more features of Programmer's Notepad that I haven't mentioned. You should note that it will automatically detect the language you're using, and colour-code accordingly, whether you're writing Fortran, BASH, C++ or NSIS2 Installer Script. So whatever language you're comfortable with, download it for free from pnotepad.org, and do yourself a favour by putting it on your "Send To" menu.  Even if you're not opening a code file, Programmer's Notepad opens anything much faster than MS Notepad.

Here's the link to the website for the software download:   http://www.pnotepad.org
1 Comment
LVL 50

Expert Comment

Just a note:  
Most programmer-oriented text editors (not just the one reviewed here) offer columnar/rectangular selection handling.  For instance, Microsoft's Visual Studio lets you use Alt+Shift drag to select a rectangular section of the text, and it also provides a keyboard-only method (Press Alt+Shift, then use the arrow keys to expand the selection.)  

Featured Post

OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Join & Write a Comment

The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month