Hello people,

First off: I love the editor!!! Great work... :)

I have a question, and I searched through the forum, but could not find
anything, or perhaps it just uses a different terminology.

In short: Is it possible to add a user defined trigger for another action, such
as a macro for example?

Basically what I want to do is make adding XML style comments easyer for myself,
but this could easily be used for lots of other things as well I guess...

I can probably write a macro to add the comments for me bassed on the function
on the current line, but what I would like is to trigger that macro
automatically when entering a user specified string, in stead of having to
assign a shortcut.

In my case when I enter:
"///"
while the cursor is in front of a function line such as:
"int function test(int xxx, int yyy)"

I want to trigger a macro that will change that into
/// <summary>
/// 
/// </summary>
/// <param name="xxx"></param>
/// <param name="yyy"></param>
/// <returns></returns>

I hope there is functionality that will allow me to do this, since it could save
me heaps of time. Or if not possible perhaps if other people think this is
usefull, it could be added to the suggestions list.

Anyway hope someone can help me out or point in the right direction, if this is
alreaddy on the forum somewhere.

Thanks in advance,
Mantheren

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

Odpovedet emailem