TextClips usage

Discussion Forums discussion TextClips usage

This topic contains 0 voices and has 3 replies.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
December 14, 2009 at 3:30 pm #739

NS32016
Member

Although I have been using PN for sometime now, I just noticed the help text for TextClips and have been unsuccessful in using it.

I looked at the video from this link:

http://pnotepad.org/docs/text_clips

Despite watching it a few times I could not make out how the user got the TextClips window to appear using his Alt-C shortcut.

In the video his Alt-C shortcut is mapped to Edit->Insert Clip, yet on my newly installed PN (v2.0.10.1010-dizzy) I see no such menu option.

So, am I going about this the wrong way and someone could enlighten me or is this feature somehow broken?

Thanks.

December 14, 2009 at 4:11 pm #16908

simon
Key Master

Insert Clip is now Insert Template. I think it’s bound to Ctrl-Alt-Space by default now.

December 14, 2009 at 5:01 pm #16909

NS32016
Member

When I look at the options menu for Code Templates I do not see any entries for any of the available schemes, should there be?

Edit->Insert Template is showing up as the shortcut in the Keyboard entry of the options menu, but when I try it in a file that has its style set as PHP I get nothing happening, should I type something first before doing Ctrl-Alt-Space?

December 17, 2009 at 11:52 am #16910

simon
Key Master

Currently only Python, C# and XML ship with templates in the box. I’m looking for good templates to include by default for the other languages (hint hint) :)

The reason you’re not seeing anything when you hit Ctrl-Alt-Space is there are no templates. Try adding a simple one like this to PHP and things should start working:

Shortcut: ife

Hint: If/Else

Text:

if (|)
{

}
else
{

}

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.