Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit 90562e6

Browse files
Update README.md
1 parent 291aa75 commit 90562e6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# NppGZipFileViewer
22
A Notepad++ plugin to open and save files in the gzip format.
33
It's written in C# with Visual Studio.
4+
Don't change the encoding of a zipped file. Change the file to uncompressed, then change the encoding and toggle compression on again.
45

56
## How to use
67

@@ -19,14 +20,13 @@ It depends on your npp version:
1920
### Settings
2021
This plugin has two settings.
2122
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)
22-
2. 'Open all ANSI files as UTF-8': If set the plugin changes the selected encoding to utf8 if it the file encoding is detected as ansi. If not set files containing non latin characters (e.g. asian) might be decoded as ANSI files.
23-
3. 'GZip-suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed.
23+
2. 'GZip-suffixes': The list of suffixes that schould automatically be decompressed. If a file is saved with such suffix it will also be compressed.
2424

2525
### Commands
2626
In the menubar there are 6 Commands:
27-
1. Toogle Compression: If clicked it will mark a compressed (tracked) file as uncompressed (excluded) and a uncompressed file as compressed (tracked). Makes the buffer dirty. It's the same command as the icon in the tool bar. It is marked if the current file is selected as compressed. If you store the file it will automatically store the file compressed.
28-
2. Make Compressed: Compresses the current file text in the editor. This will always exclude the file from automatically compress on save. You can toogle it on by using command 1.
29-
3. Make Uncompressed: Uncompresses the current file in the editor. This will alays exclude the file from automatically compress on save. You can toogle it on by using command 1.
27+
1. Toggle Compression: If clicked it will mark a compressed (tracked) file as uncompressed (excluded) and a uncompressed file as compressed (tracked). Makes the buffer dirty. It's the same command as the icon in the tool bar. It is marked if the current file is selected as compressed. If you store the file it will automatically store the file compressed.
28+
2. Make Compressed: Compresses the current file text in the editor. This will always exclude the file from automatically compress on save. You can toggle it on by using command 1.
29+
3. Make Uncompressed: Uncompresses the current file in the editor. This will alays exclude the file from automatically compress on save. You can toggle it on by using command 1.
3030
4. Settings: Opens the settings dialog.
3131
5. About: Opens the about dialog.
3232
6. Credits: Opens the credits dialog.
@@ -42,9 +42,9 @@ Save (same path):
4242
3. Any ignored file will be compressed if the suffix matches a gz-suffix. (Won't happen since this files would be tracked)
4343

4444
Save (diffrent path):
45-
Npp will tell the plugin the old path when notifing "FileBeforeSaved". If based on the suffix the compression toogles it might be saved two times.
46-
1. from gz to non-gz: This file won't be compressed. If you want it to be compressed: after the save, toogle the compression and save the file again.
47-
2. from non-gz to gz: This file will always be compressed. If you don't want to compress it: after the save, toogle the compression and save the file again.
45+
Npp will tell the plugin the old path when notifing "FileBeforeSaved". If based on the suffix the compression toggles it might be saved two times.
46+
1. from gz to non-gz: This file won't be compressed. If you want it to be compressed: after the save, toggle the compression and save the file again.
47+
2. from non-gz to gz: This file will always be compressed. If you don't want to compress it: after the save, toggle the compression and save the file again.
4848
3. same suffix type:<br/>
4949
1. If tracked, save compressed.
5050
2. If excluded, save uncompressed.

0 commit comments

Comments
 (0)