Skip to content

Commit c348bc7

Browse files
committed
Update for 2023-03-24 release.
1 parent 7455ebd commit c348bc7

File tree

3 files changed

+78
-11
lines changed

3 files changed

+78
-11
lines changed

ReadMe.txt

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@
77
-- Requirements --
88
------------------
99

10-
Microsoft .NET Framework 4.0 (or later versions)
11-
12-
Note: TextAnalysisTool.NET is compiled for .NET 4.0. Later .NET Framework
13-
versions are supported through a .config that needs to be configured for
14-
the corresponding version. For more information, please refer to the
15-
following MSDN article: "How to: Configure an App to Support .NET Framework 4
16-
or 4.5"
17-
https://msdn.microsoft.com/en-us/library/jj152935.aspx
10+
Microsoft .NET Framework 4.8 (or later versions)
1811

1912

2013
-------------------------------
@@ -79,11 +72,44 @@ all circumstances, but is ultimately bound by the resources available to it.
7972
-- History --
8073
-------------
8174

75+
2023-03-24 by Vince Curley and Anton Polinger
76+
----------
77+
* Added support for character encodings beyond the system default and UTF-8.
78+
* Added ability to jump to previous or next line that matches the currently
79+
selected filter. Right click on a filter, choose Previous or Next from the
80+
filter menu, or use Shift+F8 (previous)/F8 (next).
81+
* Added a right click context menu to toggle markers (also works with the
82+
context menu key and Shift+F10).
83+
* Improve readability when the filter text color is similar to the selected
84+
line background color. When a line is selected use the Highlight and
85+
Highlight Text colors specified in the Preferences dialog rather than colors
86+
defined by filters.
87+
* Added /clipboard command line argument to load initial text from the
88+
clipboard.
89+
* Fixed a bug that prevented custom tab size from being saved across sessions.
90+
* Minor optimization: Setting Tab Size in Preferences to 1 will reduce file
91+
load time ~10%.
92+
* Fix horizontal scrollbar issue on Windows 11.
93+
* Added the "Remember Filter Column Widths" setting to control whether or not
94+
the order and widths of the columns in the filters view are preserved across
95+
sessions. The default is the legacy behavior; this can be changed in the
96+
Preferences dialog.
97+
* An Exclude filter will now remember the colors set when it was an Include
98+
filter.
99+
* Added the ability to copy and paste of filters between TextAnalysisTool.NET
100+
windows.
101+
* Added settings to control how the file name is displayed in the title bar.
102+
* Use window background and text colors specified in Preferences for the line
103+
and filter panes. Not full dark-mode, but most of the window can be
104+
controlled.
105+
* Target .NET Framework 4.8 (because version 4.0 is no longer supported).
106+
82107
2020-12-17 by Vince Curley
83108
----------
84109
* Fixed a bug that would truncate lines prematurely.
85110
* Fixed a bug that would cause a crash when reloading a changed file.
86-
* Fixed the scrollbar so dragging the thumb will correctly update the view of the file.
111+
* Fixed the scrollbar so dragging the thumb will correctly update the view of
112+
the file.
87113

88114
2018-11-20 by Vince Curley and Jenny Leung
89115
----------
@@ -137,7 +163,8 @@ all circumstances, but is ultimately bound by the resources available to it.
137163
* Prompt to save the filter list before overwriting it when filters are
138164
loaded from a file and before exiting the app. Prompting only happens if
139165
there is a backing filter file (that is, if filters were loaded from a
140-
file or saved to a file) so we don't prompt to save ad-hoc, temporary filters.
166+
file or saved to a file) so we don't prompt to save ad-hoc, temporary
167+
filters.
141168
* Include the filter file name (if any) and a "filters changed" indicator
142169
in the main window title bar.
143170
* Fixed a bug that would cause a crash when displaying lines with several
@@ -406,3 +433,4 @@ Contributors
406433
* Uriel Cohen - https://github.com/cohen-uriel
407434
* Aleksey Kabanov
408435
* Vince Curley
436+
* Jenny Leung

TextAnalysisTool.NET.txt

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

166175
Filters
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

272283
TextAnalysisTool.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

279291
Examples:
280292
TextAnalysisTool.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.
287299
Configuration options loaded from the command line become active when
288300
TextAnalysisTool.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
302316
application 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
--------------------------

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ <h3>
3636
Includes:
3737
</h3>
3838
<ul class="notes">
39+
<li>Version <code>2023-03-24</code> for .NET 4.8+ (32- and 64-bit)</li>
3940
<li>Version <code>2020-12-17</code> for .NET 4+ (32- and 64-bit)</li>
4041
<li>Version <code>2013-05-07</code> for .NET 2+ (32- and 64-bit)</li>
4142
<li>Version <code>2006-12-04</code> for .NET 1.1+ (32-bit only)</li>

0 commit comments

Comments
 (0)