Hi,
I'm relatively new to phpED, so I might've overlooked something, but I've seen the following issue:
I tried to create a new "new file" template because I want all my PHP files to start with a comment block (copyright notice, author, the standard yadda, yadda, yadda)
So I saved "myPHP File.php" with the following content:
<?
/*
Author: ME
Project: MyProject
File: FILENAME
Purpose: DESCRIPTION_OF_FUNCTION_PURPOSE
Reliance: WHAT_THIS_RELIES_ON
Version: 0.1
Copyright: ME
*/
?>
|
But the result is, that when I create a new file (ctrl+n) and select "myPHP File.php" the following content is displayed:
<?
/*
Author: ME
Project: MyProject
File: FILENAME
Purpose: DESCRIPTION_OF_FUNCTION_PURPOSE
Reliance: WHAT_THIS_RELIES_ON
Reliance: WHAT_THIS_RELIES_ON
Version: 0.1
Version: 0.1
Copyright: ME
Copyright: ME
*/
?>
|
Some testing by me suggests that for every empty line in the template, the last line is repeated.
Though I don't see this in the standard templates.
Note: this behaviour can be circumvented by entering a single space on every empty line.
Anyhow, it's no big bug, but relatively stumping nonetheless.
Cheers for the great IDE!