On Tue, 2007-05-01 at 12:28 -0700, Mattias Thorslund wrote:
> Robert Cummings wrote:
>
> Now, I would wish for my editor to also indent multi-line strings in the
> same fashion. Essentially, the lines of $sql_ugly in my example above
> should be displayed in alignment with the indentation:
> 
> if($something){
>    if($something_else){
>       $myID = intval($_GET['rowID']);
>       $sql =
> ++++++"SELECT
> ++++++   field1,
> ++++++   field2
> ++++++FROM
> ++++++   mytable
> ++++++WHERE
> ++++++   rowID = $myID";
>     }
> }

Aaaah, I see... still looks terrible >:)

> I doubt Microsoft develops an editor that I could use on my Linux system
> for this...

Probably not.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to