1
Is it possible to print from Notepad++ without word wrap? If so, please explain how.
(Background: When I print blocks of code, I need word wrap turned off because the indentation of the code is more important to me than having all of the line. Word wrap obsures the indentation and therefore the structure of the code.)
I have assigned this as the answer but don't have the reputation on this forum to vote you up. It is not really the answer I was looking for but does offer a [well written and well explained] solution. Rather, I was hoping for a checkbox in a menu or a config file setting because then I wouldn't have to find the line character limit by trial an error for each printer I use. I had not considered the regex approach, so thanks. I can alternatively do a 2D copy from my development environment. – Chris Bargh – 2014-05-23T04:43:08.437
As to code style, I would point out that I didn't mention "extremely long lines". The definition of long varies from person to person; some advocate a line length limit of 80 characters but that seems to hark back to text-based 80x25 monocromatic screen days. Line lengths in the industry have increased significantly with the advent of large monitors, colour syntax highlighting and, more importantly, object-oriented languages. OO introduced much much longer variable naming ie. variables within objects within objects... But, again, it's pretty personal. – Chris Bargh – 2014-05-23T04:51:57.940