snippets

Milian Wolff mail at milianw.de
Thu Jan 19 14:19:52 GMT 2012


On Thursday 19 January 2012 10:28:55 Georges Lours wrote:
> Hello,
> 
> I use the software "kate" but the problem is the same with kdevelop. I want
> to insert html tags in a document. I can't find tools
> to do that. For instance, After select it, I want to replace the expression
> "this is bold" by "<strong >this is bold</strong >". Does that exist?
> I've found the tool "snippets" in the external modules. But I can't use it.
> I've create a snippet called "strong" with this content:
> 
> [code]<strong>${fn`getSelect`}</strong>[/code]

Like I said in reply to your comment on my blog, use %{selection}:

http://milianw.de/blog/snippets-in-kdevelop-kate#comment-1265

cheers
-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the KDevelop mailing list