]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/ConvertSpacesToTabs
This commit was generated by cvs2svn to compensate for changes in r2,
[SourceForge/phpwiki.git] / pgsrc / ConvertSpacesToTabs
1 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...
2
3  [ ] I can't type tabs.  Please ConvertSpacesToTabs for me when I save.
4
5 A span of spaces must be at least '''three''' spaces long to be recognized 
6 as a tab.  Use multiples of '''eight''' spaces to make multiple tabs. 
7 Each span of eight spaces will convert to one tab.  If the  
8 last span comes up a little short, that's ok, as long as  
9 there are at least three spaces in the last (only) span.
10
11 '''Check your work.'''  This sort of heuristic can lead to  
12 unexpected results. 
13 -----
14 [Maintenance note:  This page is seen when the user clicks on the 
15 "ConvertSpacesToTabs" link on any edit screen.  It describes what happens  
16 when you ask the system to do this, why you would want it to, and ways to 
17 avoid the spaces-instead-of-tabs problem.]
18
19