Deprecated: Function ereg_replace() is deprecated in /home/roy123/public_html/phpwiki/lib/stdlib.php on line 558

Deprecated: Function ereg_replace() is deprecated in /home/roy123/public_html/phpwiki/lib/stdlib.php on line 558

Deprecated: Function ereg_replace() is deprecated in /home/roy123/public_html/phpwiki/lib/stdlib.php on line 558

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/roy123/public_html/phpwiki/lib/stdlib.php on line 583
Convert Spaces To Tabs

[phpwiki] Convert Spaces To Tabs

You don't need to use tabs anymore in PhpWiki. Consider this page obsolete. See TextFormattingRules for how to use PhpWiki markup.


VariousBrowsers? have trouble with the tab character used in the TextFormattingRules. If you can't type a tab, or, if you are fixing up a page written by someone who didn't type tabs, then you should have us convert spans of spaces to tabs for you. You request space to tab conversion with the checkbox that appears near the bottom of EditText and EditCopy? pages. It looks something like this...

 [o] I can't type tabs.  Please ConvertSpacesToTabs for me when I save.

A span of spaces must be at least three spaces long to be recognized as a tab. Use multiples of eight spaces to make multiple tabs. Each span of eight spaces will convert to one tab. If the last span comes up a little short, that's ok, as long as there are at least three spaces in the last (only) span.

Check your work. This sort of heuristic can lead to unexpected results.


[Maintenance note: This page is seen when the user clicks on the "ConvertSpacesToTabs" link on any edit screen. It describes what happens when you ask the system to do this, why you would want it to, and ways to avoid the spaces-instead-of-tabs problem.]


EditText of this page (last edited February 2, 2001) [info] [diff])
FindPage by browsing or searching
5 best incoming links: RecentChanges (6)
5 best outgoing links: PhpWiki (12), EditText (8), TextFormattingRules (7)EditCopy (3)VariousBrowsers (1)
5 most popular nearby: RecentChanges (177310), TextFormattingRules (711), PhpWiki (559), EditText (550), EditCopy (472)