then your php "application" is broken.
each line is to be terminated with \n (unix) or \r (mac) or \r\n (windows).
and terminating a line properly has nothing to do with "unix file endings". i know of compilers that bitch if you have your last line unterminated...
your original post sounded like ...
Search found 8 matches
- Sun Nov 19, 2006 6:21 am
- Forum: General
- Topic: TextPad doesn't seem to honor Unix file endings only
- Replies: 6
- Views: 1127
- Sun Nov 12, 2006 8:03 pm
- Forum: General
- Topic: TextPad doesn't seem to honor Unix file endings only
- Replies: 6
- Views: 1127
- Sun Nov 12, 2006 5:21 pm
- Forum: General
- Topic: TextPad doesn't seem to honor Unix file endings only
- Replies: 6
- Views: 1127
- Wed Nov 08, 2006 8:24 pm
- Forum: General
- Topic: TextPad doesn't seem to honor Unix file endings only
- Replies: 6
- Views: 1127
TextPad doesn't seem to honor Unix file endings only
I have all my configurations set for Unix files. Yet, no matter what I try, TP always adds an extra line at the bottom of the file. What's the trick to making it work correctly?
- Thu Oct 12, 2006 5:43 am
- Forum: General
- Topic: Bug: Syntax highlighting gets confused with < operator
- Replies: 0
- Views: 216
Bug: Syntax highlighting gets confused with < operator
TextPad v4.7.3 32 bit
Place the following PHP code in TextPad and you would expect to see this:
echo " x < y ";
echo " Hello ";
echo " y > x ";
Instead you will see this:
<?php
echo " x < y ";
echo " Hello ";
echo " y > x ";
?>
TextPad appears to be mistaking the < (less than operator ...
Place the following PHP code in TextPad and you would expect to see this:
echo " x < y ";
echo " Hello ";
echo " y > x ";
Instead you will see this:
<?php
echo " x < y ";
echo " Hello ";
echo " y > x ";
?>
TextPad appears to be mistaking the < (less than operator ...
- Wed Jul 13, 2005 8:05 am
- Forum: General
- Topic: Browse Button Fails To Launch Web Browser
- Replies: 4
- Views: 575
- Tue Nov 18, 2003 5:49 pm
- Forum: General
- Topic: Default new document template
- Replies: 4
- Views: 612
- Tue Nov 18, 2003 5:07 pm
- Forum: General
- Topic: Default new document template
- Replies: 4
- Views: 612
By modifying the registry according to MS instructions, I have associated a template file in winnt\shellnew with the folder->New right mouse click. However, when I click "PHP Template" (that's what I call the new document type), Textpad just opens with a new textpad .php document. I know I can do ...