@@ -135,6 +135,10 @@ Edit
135135 Copy Copies the currently selected line(s) to the
136136 clipboard
137137 Paste Displays all text currently on the clipboard
138+ Copy Filters Copies the selected filter or filters to the
139+ clipboard
140+ Paste Filters Adds any filters in the clipboard to the end
141+ of the filter list
138142 Select All Selects all lines
139143 Find... Finds the next match of a string or regular
140144 expression
@@ -162,8 +166,15 @@ View
162166 Zoom Out Decreases the font size
163167 Reset Zoom Resets the font size to the default size
164168 Filter List Location Set the docking location for the filter list
169+ Encoding
170+ System Default Use the OS's default character encoding
171+ Windows-1252, UTF-8, GB18030 Commonly used encodings
172+ More encodings... Dialog to select an encoding supported by the
173+ current system
165174
166175Filters
176+ Previous Match Find a match for the current filter, searching up
177+ Next Match Find a match for the current filter, searching down
167178 Add New Filter... Adds a new filter of any type
168179 Edit Selected Filter... Edits the selected filter
169180 Remove Selected Filter Removes the selected filter
@@ -270,11 +281,12 @@ in your default browser.)
270281--------------------------------------
271282
272283TextAnalysisTool.NET.exe [InputFile] [/Filters:FilterFile] [/Config:ConfigFile]
273- [/Line:LineNumber]
284+ [/Line:LineNumber] [/Clipboard]
274285 InputFile - Name of the file to open and display
275286 FilterFile - Name of a .tat file containing a saved filter configuration
276287 ConfigFile - Name of an .xml file containing configuration options
277288 LineNumber - The line to display when the file is opened
289+ Clipboard - Load text from the clipboard
278290
279291Examples:
280292TextAnalysisTool.NET.exe \Logs\MyLog.log /Filters:"\Saved Filters\MyFilters.tat"
@@ -287,6 +299,8 @@ TextAnalysisTool.NET will append the filters from all supplied filter files.
287299Configuration options loaded from the command line become active when
288300TextAnalysisTool.NET starts and are saved to the registry when it is closed.
289301
302+ If both InputFile and Clipboard are specified, the first one is used.
303+
290304
291305---------------------------------
292306-- Section: Configuration File --
@@ -302,6 +316,30 @@ configuration options from the file if you don't want to override the current
302316application value for that option.
303317
304318
319+ ------------------------
320+ -- Section: Encodings --
321+ ------------------------
322+
323+ All text files are written with a certain character encoding [1]. This encoding
324+ determines how characters are translated to bytes when written to the file and
325+ how a reader should interpret those bytes. If a file is read with the wrong
326+ encoding the characters can look garbled or random. Using the correct encoding
327+ is critical for properly analysis. TextAnalysisTool.NET determines which encoding
328+ to use in the following order, from highest priority to lowest:
329+
330+ 1) Byte order marks in a UTF file [2]
331+ 2) The current view's encoding chosen in the View / Encodings... menu
332+ 3) The "Default Encoding" setting in the Edit / Preferences... menu
333+ 4) The default character encoding of the current system
334+
335+ Note that 2 will immediately impact the current view and not future files.
336+ 3 will only impact files opened after it is changed, not the current view.
337+ All text copied to the clipboard is UTF-8.
338+
339+ [1] https://en.wikipedia.org/wiki/Character_encoding
340+ [2] https://en.wikipedia.org/wiki/Byte_order_mark
341+
342+
305343--------------------------
306344-- Section: Bug Reports --
307345--------------------------
0 commit comments