Difference between revisions of "Compare Strings"

From TED Notepad
 
Line 2: Line 2:
 
====Compare.. (Alt+Ctrl+M)====
 
====Compare.. (Alt+Ctrl+M)====
  
Shows the {{dialog|Compare}} dialog, where two {{defined|strings}} can be inserted and compared. If two compared strings are not equal, beside a displayed message, the difference is marked by a selection within both strings.
+
Shows the {{dialog|Compare Strings}} dialog, where two {{defined|strings}} can be inserted and compared. If two compared strings are not equal, beside a displayed message, the difference is marked by a selection within both strings.
  
Optionally, {{defined|character case}} can be ignored upon comparison thru {{field|Compare|Ignore case}}, all {{defined|white-spaces}} can be ignored thru {{field|Compare|Ignore spaces}}, and newline characters can be ignored thru {{field|Compare|Ignore newlines}}.
+
Optionally, {{defined|character case}} can be ignored upon comparison thru {{field|Compare Strings|Ignore case}}, all {{defined|white-spaces}} can be ignored thru {{field|Compare Strings|Ignore spaces}}, and newline characters can be ignored thru {{field|Compare Strings|Ignore newlines}}.
  
Note: Current selection (within the document) can be loaded as one of the comparison strings. Use the {{button|Compare|Load Selection 1}} or {{button|Compare|Load Selection 2}} to load selected document text as the first or second comparison string.
+
Note: Current selection (within the document) can be loaded as one of the comparison strings. Use the {{button|Compare Strings|Load Selection 1}} or {{button|Compare Strings|Load Selection 2}} to load selected document text as the first or second comparison string.
  
 
{{tip}} In {{dialog|Settings}} dialog, on the [[Tools page]], there is {{field|Settings:Tools|Save strings from the dialog}} setting, which enables saving both comparison strings into the configuration. However, be aware that this may eventually result in bigger configuration file, if you put loads of text into the dialog. Also note than only about first 8 KiB are stored into the config to prevent long application initialization times.
 
{{tip}} In {{dialog|Settings}} dialog, on the [[Tools page]], there is {{field|Settings:Tools|Save strings from the dialog}} setting, which enables saving both comparison strings into the configuration. However, be aware that this may eventually result in bigger configuration file, if you put loads of text into the dialog. Also note than only about first 8 KiB are stored into the config to prevent long application initialization times.

Revision as of 22:34, 26 April 2011

This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:feature:Compare Strings

Compare.. (Alt+Ctrl+M)

Shows the Compare Strings dialog, where two strings can be inserted and compared. If two compared strings are not equal, beside a displayed message, the difference is marked by a selection within both strings.

Optionally, character case can be ignored upon comparison thru Ignore case, all white-spaces can be ignored thru Ignore spaces, and newline characters can be ignored thru Ignore newlines.

Note: Current selection (within the document) can be loaded as one of the comparison strings. Use the Load Selection 1 or Load Selection 2 to load selected document text as the first or second comparison string.

Tip: In Settings dialog, on the Tools page, there is Save strings from the dialog setting, which enables saving both comparison strings into the configuration. However, be aware that this may eventually result in bigger configuration file, if you put loads of text into the dialog. Also note than only about first 8 KiB are stored into the config to prevent long application initialization times.