Hi folks,

I don't know how to do this in PSPad:

If I want to code a cobol source, my compiler which I use needs a number in the
first six columns like this:
000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. RSQ.
000003 ENVIRONMENT DIVISION.
000004 INPUT-OUTPUT SECTION.
000005 FILE-CONTROL.
000006 SELECT A ASSIGN TO DISK FILE-NAME
000007 ORGANIZATION LINE SEQUENTIAL.000008 DATA DIVISION.
[...]

It would be nice if PSPad could create the new line number (000008) by itself
(adjustable in step 1, step 10 or whatever) and so you could code the next line
from column 8 on non regarding the line number. If you insert a line, then every
line should increment one step. It also would be cool if the numbers are
protected from editing. eg.:

000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. RSQ.
000003 _my new text_
*000004* ENVIRONMENT DIVISION.
*000005* INPUT-OUTPUT SECTION.
*000006* FILE-CONTROL.
*000007* SELECT A ASSIGN TO DISK FILE-NAME
*000008* ORGANIZATION LINE SEQUENTIAL.
*000009* DATA DIVISION.
[...]

Is there anyone who had also this problem and has already a solution for this?
For now I have to use a very old SPF/PC Editor (it's a little bit like this one:
http://spflite.co.nr/) but I want to use one editor for all of my code.

Can anyone help?
Greetz Richie

-- 
<http://forum.pspad.com/read.php?2,55605,55605>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem