Plugin: Column Insert v1.01

Browse, download and discuss plugins for Blumentals code editors
Post Reply
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Plugin: Column Insert v1.01

Post by pmk65 »

WeBuilder Plugin: Column Insert v1.01

Insert text in columns, with optional markers for sequential numbering.

Image

- If you place the cursor at a text position and activate the plugin, it will insert text on ALL lines in the document.
- if you make a selection and activate the plugin, it will insert text on SELECTED lines only. (Start the selection at the position you want text inserted. Doesn't matter if you use "Block Select Mode" or not.)
- If in "Block Select Mode" you can replace the selected text in addition to inserting text.

Special markers to insert incremental list of numbers:
%d - number inserted in decimal format
%h - number inserted in hexadecimal format (lower case)
%H - number inserted in hexadecimal format (upper case)
%b - number inserted in binary format
%r - number inserted in roman numeral format

As default the number will start at 1, but you can change that by adding a (decimal) number before the marker letter. Like:
%6d - numbers inserted in decimal format, starting at 6.
%16h - numbers inserted in hexadecimal format, starting at 16 (hex 0f).

Note: Only the first marker found will be processed.

Example of usage:


Installation:
1) Download plugin .ZIP file.
2) Open WeBuilder and select "Plugins -> Manage Plugins" from the menu.
3) Click "Install" and select the .ZIP file you downloaded in step 1.

History:
1.01 - Fixed error when inserting without selection.

Feedback appreciated. ;)
(I only use WeBuilder, so I haven't tested if it works in HTMLPad, Rapid CSS or Rapid PHP.)
Attachments
Column Insert.zip
(6.01 KiB) Downloaded 997 times
Last edited by pmk65 on Fri May 06, 2016 11:38 am, edited 1 time in total.
There are 10 types of people in the world: Those who understand binary and those who don't.
pety
Posts: 187
Joined: Fri Mar 02, 2012 7:17 pm

Re: Plugin: Column Insert v1.0

Post by pety »

Great plugin
Post Reply