<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Reindent_selection</id>
		<title>Reindent selection - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Reindent_selection"/>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;action=history"/>
		<updated>2026-06-04T01:38:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=1198&amp;oldid=prev</id>
		<title>Idmadmin at 13:02, 21 September 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=1198&amp;oldid=prev"/>
				<updated>2023-09-21T13:02:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:02, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Format tab]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Format tab]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat existing text according to the settings in [[Settings:Editor:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Word wrap&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tab settings&lt;/del&gt;|Settings &amp;amp;raquo; Editor &amp;amp;raquo; Word wrap/tab settings]] and the automatic [[Wordfiles#Indent_.2F_unindent_strings|indent / unindent strings]] settings for syntax highlighting. The file must be syntax highlighted with a wordfile containing indent / unindent strings in order for reindent selection to have any effect.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat existing text according to the settings in [[Settings:Editor:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Word_wrap_&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;_tab_settings&lt;/ins&gt;|Settings &amp;amp;raquo; Editor &amp;amp;raquo; Word wrap/tab settings]] and the automatic [[Wordfiles#Indent_.2F_unindent_strings|indent / unindent strings]] settings for syntax highlighting. The file must be syntax highlighted with a wordfile containing indent / unindent strings in order for reindent selection to have any effect.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When reindenting, UltraEdit will reindent the selection line by line, starting by &amp;quot;resetting&amp;quot; the indentation of the first line in the selection to column 1 and then applying reindentation to other lines from that point forward until the end of the selection, based upon the indent / unindent strings in the wordfile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When reindenting, UltraEdit will reindent the selection line by line, starting by &amp;quot;resetting&amp;quot; the indentation of the first line in the selection to column 1 and then applying reindentation to other lines from that point forward until the end of the selection, based upon the indent / unindent strings in the wordfile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=440&amp;oldid=prev</id>
		<title>Idmadmin at 19:19, 25 August 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=440&amp;oldid=prev"/>
				<updated>2017-08-25T19:19:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:19, 25 August 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Format tab]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Format tab]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat existing text according to the [[Editor:Word wrap/tab settings|Editor &amp;amp;raquo; Word wrap/tab settings]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;section of Settings &lt;/del&gt;and the automatic [[Wordfiles#Indent_.2F_unindent_strings|indent / unindent strings]] settings for syntax highlighting. The file must be syntax highlighted with a wordfile containing indent / unindent strings in order for reindent selection to have any effect.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat existing text according to the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;settings in &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Settings:&lt;/ins&gt;Editor:Word wrap/tab settings|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Settings &amp;amp;raquo; &lt;/ins&gt;Editor &amp;amp;raquo; Word wrap/tab settings]] and the automatic [[Wordfiles#Indent_.2F_unindent_strings|indent / unindent strings]] settings for syntax highlighting. The file must be syntax highlighted with a wordfile containing indent / unindent strings in order for reindent selection to have any effect.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When reindenting, UltraEdit will reindent the selection line by line, starting by &amp;quot;resetting&amp;quot; the indentation of the first line in the selection to column 1 and then applying reindentation to other lines from that point forward until the end of the selection, based upon the indent / unindent strings in the wordfile.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When reindenting, UltraEdit will reindent the selection line by line, starting by &amp;quot;resetting&amp;quot; the indentation of the first line in the selection to column 1 and then applying reindentation to other lines from that point forward until the end of the selection, based upon the indent / unindent strings in the wordfile.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=358&amp;oldid=prev</id>
		<title>Idmadmin: Created page with &quot;Category:Format tab &#039;&#039;&#039;Reindent selection&#039;&#039;&#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat ex...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Reindent_selection&amp;diff=358&amp;oldid=prev"/>
				<updated>2017-08-24T12:56:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/Category:Format_tab&quot; title=&quot;Category:Format tab&quot;&gt;Category:Format tab&lt;/a&gt; &amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat ex...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Format tab]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Reindent selection&amp;#039;&amp;#039;&amp;#039; allows you to reformat the selected text within the active file. This is typically used when typing source code to reformat existing text according to the [[Editor:Word wrap/tab settings|Editor &amp;amp;raquo; Word wrap/tab settings]] section of Settings and the automatic [[Wordfiles#Indent_.2F_unindent_strings|indent / unindent strings]] settings for syntax highlighting. The file must be syntax highlighted with a wordfile containing indent / unindent strings in order for reindent selection to have any effect.&lt;br /&gt;
&lt;br /&gt;
When reindenting, UltraEdit will reindent the selection line by line, starting by &amp;quot;resetting&amp;quot; the indentation of the first line in the selection to column 1 and then applying reindentation to other lines from that point forward until the end of the selection, based upon the indent / unindent strings in the wordfile.&lt;br /&gt;
&lt;br /&gt;
UltraEdit will try and determine if the statement causing a change in the indentation is part of a comment or string and ignores it in this case.  However, if the file contains preprocessor conditional statements (#ifdef, #ifndef, etc.) UltraEdit does not attempt to determine which text is valid and which is not.  This may cause lines to be adjusted incorrectly.&lt;br /&gt;
&lt;br /&gt;
To avoid problems with conditional statements it is recommended that all conditional sections include the same number of open and close conditional statements.  For examplel, if an &amp;lt;code&amp;gt;if (test) {&amp;lt;/code&amp;gt; statement is in the conditional text, make sure the closing brace &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; is also in the conditional text.&lt;br /&gt;
&lt;br /&gt;
In some cases it may be desirable not to indent lines such as compiler directives or comments.  UltraEdit provides for this capability by allowing strings to be ignored to be defined in the active [[Wordfiles#Indent_.2F_unindent_strings|wordfile]].&lt;/div&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	</feed>