I've uploaded "fillcols", a Javascript extension for filling a rectangular selection of text with either fill characters or number sequences. The user is prompted to enter the fill text. In overwrite mode (fillcols_ovr, Ctrl+Shift+F) the selection is replaced, in insert mode (fillcols_ins, Ctrl+Alt+F)) the fill text is inserted before the selection. An error message is given if there is no rectangular selection of text.
The syntax <x>++[<y>] can be used to create number sequences. For example, entering "1++" in the fill characters will insert 1, 2 etc. Entering "10++-1" will insert 10, 9, 8, etc. In overwrite mode, a text insert is repeated if it is shorter than the selection width. For example, if 5 columns have been selected and "ab" is entered, then the fill text will be "ababa". A number sequence will be padded to the selection width but will be truncated if too long. For example, if 2 columns have been selected and "1++50" is entered, the fill text will be " 1", "51", "01" (the value of "101" is truncated). In insert mode, the fill text is insterted before the selection. Numeric sequences have the width of the largest number, smaller numbers are padded with zeros. For example, if "1++50" is entered in insert mode, the fill text will be " 1"," 51", "101". Best regards, John Hendrickx -- <http://forum.pspad.com/read.php?2,35782,47987> PSPad freeware editor http://www.pspad.com
