New line at the end of template

Milan

Member²
After inserting template-generated code into an editor, new line is always added, even though my template is only one line, without new line at the end. Can the new line be avoided?
 
Thanks.

Here are few ideas for new features regarding the templates:
- Assign templates to keys.
- Code completion to understand templates (either to complete code based on the template text, or a keyword)
 
The new line bug was fixed (when Enter key is the trigger), but when AutoReplace+Template is triggered from Space key, an extra Space is added.

And one request: add a call to Template List on AutoReplace definition window.

It would be nice if these features/fixes shows up on next patch release =)
 
Originally posted by JEK:
And one request: add a call to Template List on AutoReplace definition window.
When you right click [on AutoReplace definition window] you have a popup which includes an "Insert Template" submenu. Is this what you wish?
 
The new line bug was fixed (when Enter key is the trigger), but when AutoReplace+Template is triggered from Space key, an extra Space is added.
If you don't want that space, assign a function key to AutoReplace and use that key.
 
Originally posted by Gustavo:
Originally posted by JEK:
And one request: add a call to Template List on AutoReplace definition window.
When you right click [on AutoReplace definition window] you have a popup which includes an "Insert Template" submenu. Is this what you wish?
No, it's to call Templates window like clicking on menu Tools / Template List, so we can create/modify templates while editing AutoReplace definitions.
 
Back
Top