Skip to content

Commit 222052b

Browse files
committed
better docs for save-as vs prune during save with options, resolves #8247
1 parent fe59f77 commit 222052b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/guide/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ This option is the only one bound to a hotkey by default, and it is intended to
190190

191191
"Save As" Will prompt to save the analysis database or just the file contents.
192192

193-
- If you choose to save an analysis database, you will be prompted for a file name, and a new database containing only a single new snapshot will be created.
193+
- If you choose to save an analysis database, you will be prompted for a file name. The new `.bndb` is written from scratch containing only the current state, so earlier entries in the [History](#history) browser and the ability to undo prior changes are not carried over. This makes "Save As" a quick way to produce a clean, smaller database, and it is typically faster than trimming an existing one via ["Save Analysis Database With Options"](#5-save-analysis-database-with-options).
194194
- If you choose to save the file contents only, you will be prompted for a file name to which to save the current contents of the binary view, including any modifications.
195195

196196
### 3. Save All
@@ -207,6 +207,9 @@ This menu allows for saving a `.bndb` without additional undo information, or by
207207

208208
![save with options](../img/save-with-options.png "Save With Options"){ width="600" }
209209

210+
!!! note "Tip"
211+
If you just want a smaller database with prior history removed, ["Save As"](#2-save-as) is usually faster, since it writes a fresh database rather than cleaning up the existing one in place.
212+
210213
## New Files
211214

212215
When you create a new file, you're given the [hex view](index.md#hex-view) of an empty file. From here you can manually type in hexadecimal or ASCII values, or paste in data in a variety of ways. To type in hex, make sure the left-side is focused, to type in ASCII, just focus the right-side using the mouse or the "tab" key. The only way to enter a tab character into the ASCII section is to enter "09" in the hex side.

0 commit comments

Comments
 (0)