The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on October 19, 2010, 02:07:25 AM

Title: New plugin for QE. (Block Insertion with options)
Post by: hutch-- on October 19, 2010, 02:07:25 AM
I had to write this function for another tool recently and it was relatively easy to translate it to a QE plugin. It is a block selection tool that gives you the option of putting text and both the beginning and end of each line of selected text or both. It has the options to trim leading and trailing spaces and it will optionally write to or ignore blank lines of selected text.

To install it, plonk the DLL in your PLUGIN directory and set it up on the QE menu from "Edit - Settings - Edit Menus".

Operation is easy, click the new menu option you have just set up and it will display a messag box telling you what it does. Select a block of text from the left side side bar and click the option and it will display a dialog box with test entry and options. The DLL writes its own INI file to the root dir of QE and it remembers its settings so the next time you call it it will have the same settings as the last time you used it.
Title: Re: New plugin for QE. (Block Insertion with options)
Post by: Antariy on October 20, 2010, 11:14:24 PM
Hutch, creation of plugins (tgextra.dll) for TopGun is allowed?



Alex
Title: Re: New plugin for QE. (Block Insertion with options)
Post by: hutch-- on October 21, 2010, 02:00:33 AM
 :bg

Alex,

Of course, thats why I published the interface.

LATER: Alex, note that with both TopGun and QE that they use a riched 2-3 control and any text selected out of the control is only delimited by and ASCII 13, not a normal 13,10 pair. When you put text back into the edit control you can dump it back in as CRLF (13,10) format with no problems.
Title: Re: New plugin for QE. (Block Insertion with options)
Post by: Antariy on October 21, 2010, 11:08:23 PM
Quote from: hutch-- on October 21, 2010, 02:00:33 AM
Of course, thats why I published the interface.

OK, thanks!



Alex