But that is exactly my point. When one editor inserts "4 spaces" for tabs, and another editor inserts "2 spaces" for tabs...all you see is puke.
you will see something like:
Code:
// Check if the database is available.
if (!$dbm->isConnected()) {
<s><s>print 'Unable to access the database at this time.<p>Sorry for the inconvenience.';
<s><s>exit;
}
else print 'Connected!';
if ( !isset($_SESSION['dp_account']) )
<s><s><s><s>$_SESSION['dp_account'] = new Account();
Those two if statements are indented differently because two editors choose to handle tabs differently. If both would insert tabs:
Code:
// Check if the database is available.
if (!$dbm->isConnected()) {
<t>print 'Unable to access the database at this time.<p>Sorry for the inconvenience.';
<t>exit;
}
else print 'Connected!';
if ( !isset($_SESSION['dp_account']) )
<t>$_SESSION['dp_account'] = new Account();
Everything is neat! Everything is indented the same!
Now obviously each editor can choose individually, or let the user choose, how much white space there actually is per "tab character"...but my point is that the actual characters inserted into the file should be tabs in order to prevent all the confusion.