Categories


Popular topics

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Format tab]]
 
[[Category:Format tab]]
Use this command to convert all '''leading''' spaces within a selection or file to tabs.  This uses the settings in the [[Editor:Word wrap/tab settings|Editor » Word wrap/tab settings]] section of Settings to determine how the tab character/tab stop should be interpreted.   
+
Use this command to convert all '''leading''' spaces within a selection or file to tabs.  This uses the settings in [[Settings:Editor:Word wrap/tab settings|Settings » Editor » Word wrap/tab settings]] to determine how the tab character/tab stop should be interpreted.   
  
 
"Leading spaces" refers to space characters at the beginning of a line. Any spaces after the first non-space character in a line will not be converted.  
 
"Leading spaces" refers to space characters at the beginning of a line. Any spaces after the first non-space character in a line will not be converted.  
Line 12: Line 12:
 
* [[Convert tabs to spaces]]
 
* [[Convert tabs to spaces]]
 
* [[Convert spaces to tabs (all)]]
 
* [[Convert spaces to tabs (all)]]
* [[Editor:Word wrap/tab settings]]
+
* [[Editor:Word wrap/tab settings|Editor » Word wrap/tab settings]]
 
</div>
 
</div>

Latest revision as of 19:20, 25 August 2017

Use this command to convert all leading spaces within a selection or file to tabs. This uses the settings in Settings » Editor » Word wrap/tab settings to determine how the tab character/tab stop should be interpreted.

"Leading spaces" refers to space characters at the beginning of a line. Any spaces after the first non-space character in a line will not be converted.

The conversion is performed such that the formatting will remain the same. This will mean that where there are insufficient spaces to replace with a tab character and retain the same formatting the spaces will be left in place.

If a portion of the file is selected/highlighted only the selected portion is converted, otherwise the complete file is converted.

MediaWiki spam blocked by CleanTalk.