<

Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Rectangular Selection and Line Breaks in Programmer's Notepad

Published on
11,009 Points
5,009 Views
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
0
Comment
Author:dhoare12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 49

Expert Comment

by:DanRollins
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.)  
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Join & Write a Comment

This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month