New plugin for QE. (Block Insertion with options)

Started by hutch--, October 19, 2010, 02:07:25 AM

Previous topic - Next topic

hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Antariy

Hutch, creation of plugins (tgextra.dll) for TopGun is allowed?



Alex

hutch--

#2
 :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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Antariy