The editor/parser complains about strings that span multiple lines, as shown in attached screen shot. Code such as:
$a = "hello
is perfectly valid PHP. While that's an ugly example, multi-line strings are very common when building large SQL queries.
Something I don't quite get is the way that the editor handles spaces after line ends - it appears I can click anywhere in empty space and start typing. I'm sure that has its uses in word processing, but I'm not keen on it for code, especially given that it also makes keyboard navigation more difficult - if I'm at the end of a line and press right-arrow, I expect to go to the first char of the next line, not heading off into empty space.
If I show white space chars, it shows tabs and spaces nicely, but it doesn't show line breaks.
Is there any way of having line wrap, preferably with dynamic indenting? I know neither Eclipse nor NetBeans can do this, which I find completely bizarre. For a perfect example, look at BBEdit's line wrap behaviour.
Attachment(s):Screen shot 2009-11-06 at 14.53.44.png