Hi there,

I've been working on the source of the QuickText plugin project, and allowed myself to slightly modify it.

We're actually using QuickText to rapidly write classes in our exotic language, and so far it works flawlessly.
The only issue we were facing was that we could not get the class name to be replicated at various specific places, I thus made a few changes
into the source to achieve this goal.

In addition to the "$" symbol, we add 2 new ones:
- the "#" to define a reference hotspot
- the "?" to define a hotspot that will receive the value entered in the "#" reference.

Practically, if the quicktext for our class looks like this:

class=\#class $\n public dcl $\n MesMethodes...\n\#endclass $

(NOTE: #class & #endclass are language specific, pay no attention to them, their meaning is escaped anyway)

Our goal is that when we enter the class name after #class, it also appears after #endclass, so that:

#class

.. whatever content here ..

#enclass

becomes:

#class MyClass

.. whatever content here ..

#enclass MyClass

Thus if the original rule is changed to:

class=\#class #\n public dcl $\n MesMethodes...\n\#endclass ?

The "MyClass" type at the beginning will be placed everytime a ? is encountered.

So here's the modified DLL (with source) ... http://rapidshare.com/files/88094839/QuickText_Modif.rar.html

Simply put the .dll into the plugin directory to use it.
Please note that in the latest version of NP++ (4.7.5), QuickText comes embedded, so you will have to modify the shortcut list to be able to use it:
- Modify the current quicktag shortcut (CTRL+ENTER)  to whatever
- The new dll's shortcut (still CTRL+ENTER) will be used instead.

A note to quicktext's author: I addes comments when the original source code has been modify, in the event of a more official update of yours.

Don't hesitate to ask if you need further explanations :)

PS: I'm hardly beginning with plugin development, so go easy with criticism ;)

Have a nice day !

Lik