Skip to content

Commit eab4321

Browse files
Update explanation
1 parent b3789d5 commit eab4321

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

CompressedFileViewer/Windows/SettingsDialog.xaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
<ListView Grid.ColumnSpan="3" Margin="10,90,10,103" Name="lstAlg" SelectionMode="Single">
3030
<ListView.ToolTip>
3131
<TextBlock>
32-
Changes the order of the compression algorithmns.
33-
<LineBreak/>
34-
Only effects 'Toogle Compression'. To disable a compression remove the file association, too.<LineBreak/>
35-
To select an algorithm,click on the empty space on the right side of its name or you will toogle the checkbox.
32+
You must restart Npp to update the menu commands. <LineBreak/>
33+
Disabled algorithms will no be used.<LineBreak />
34+
Enabled algorithms will be used for files with matching extension or for explicitly selected files (by using the menu). <LineBreak />
35+
If 'Try decompress all' is checked, files which extension does not match a enabled algorithm will still be decompressed if possiblem but only active algorithms are tried. <LineBreak/>
36+
Using the toolbar icon or 'Toogle Compressedion' will switch through all active algorithms including the compression based on the extension even if not active.
3637
</TextBlock>
3738
</ListView.ToolTip>
3839
<ListView.ItemContainerStyle>

Readme.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,17 @@ Make sure .Net 8 is installed.
3030
This plugin has two basic settings.
3131
1. `Try to decompress all files`: If set, the plugin will try to decompress all files regardless of the extension. All decompressed files will be tracked and - if saved - automatically compressed. (If the path is still the same)
3232
Only active algorithms will be used.
33-
2. `Compression algorithms`: The ordered list of the compression algorithms. This does not affect file detection or 'decompress all'. It only affects the behaviour of the icon or 'Toggle Compression'. When clicking on the icon based on the suffix, the appropriate compression will be chosen. Afterwards, you can iterate through all algorithms in the list by clicking again.
33+
2. `Compression algorithms`: The ordered list of the compression algorithms. This does not affect file detection or `Try decompress all`. It only affects the behaviour of the icon or `Toggle Compression`. When clicking on the icon based on the suffix, the appropriate compression will be chosen. Afterwards, you can iterate through all algorithms in the list by clicking again.
3434
* Is enabled: If unchecked, the algorithm will be disabled. No files will be compressed or uncompressed using this algorithm. To update the toolbar you need to restart npp.
3535
* Is active: If an algorithm is not active, it will not be used with the setting `Try decompress all files`. Additionally, using the toolbar icon will only switch to this algorithm if it has the correct suffix. Files with the correct suffix will still automatically be (de)compressed when opened/saved.
36-
36+
37+
That means:
38+
You must restart Npp to update the menu commands.
39+
Disabled algorithms will not be used.
40+
Enabled algorithms will be used for files with matching extensions or for explicitly selected files (by using the menu).
41+
If `Try decompress all` is checked, a file with an extension that does not match an enabled algorithm will still be decompressed if possible, but only active algorithms are tried.
42+
Using the toolbar icon or `Toggle Compression` will switch through all active algorithms including the compression based on the extension even if not active.
43+
3744
Selecting an algorithm and clicking on 'Settings' allows you to manage the algorithm-specific settings.
3845
1. 'Suffixes': The list of suffixes that should automatically be decompressed. If a file is saved with such a suffix, it will also be compressed.
3946
2. Other algorithm-specific settings

0 commit comments

Comments
 (0)