 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.
|
 simon
Key Master
|
Insert Clip is now Insert Template. I think it’s bound to Ctrl-Alt-Space by default now.
|
 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?
|
 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
{
}
|