What I did:
Placed a small text file (UTF-8, no BOM) - into the template-folder.
What happens:
I generate a new file from this "template" - from within Akelpad
But the first line is missing. Is this on purpose?
Anything I am doing wrong?
Template loses first line
- Author
- Message
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
Akuro
Yes, it is. First string will contain "caret placeholder". When you create new document from template you may want set caret into specific position of template. For this purpose exists "caret placeholder" - the sequence of characters. During creation of new file plugin will remove all entries of "caret placeholder" from template text and place caret into position of first entry of it in template text. All built-in templates are use this feature.
Yes, it is. First string will contain "caret placeholder". When you create new document from template you may want set caret into specific position of template. For this purpose exists "caret placeholder" - the sequence of characters. During creation of new file plugin will remove all entries of "caret placeholder" from template text and place caret into position of first entry of it in template text. All built-in templates are use this feature.
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
-
Offline
- Posts: 47
- Joined: Fri Mar 27, 2015 7:46 am
FeyFre
Thanks a ton for the explanation.
The option is enabled in Settings -> Registry -> Recent files ->
But I cannot get it to work to remember/ store the wanted caret-position. Prbably because it is not an htm-file, but a plain text file (snippet file, but really nothing but plain text). Oh well,,,,
Thanks a ton for the explanation.
The option is enabled in Settings -> Registry -> Recent files ->
But I cannot get it to work to remember/ store the wanted caret-position. Prbably because it is not an htm-file, but a plain text file (snippet file, but really nothing but plain text). Oh well,,,,