Expand description
The window around a document: opening one, saving it, saying what went wrong, and the menu and keys that are the same in all three applications.
The shell owns every read from and write to the disk. A view is handed bytes and hands bytes back, so the one place that knows a path is here, and so is the one place that asks before throwing changes away.
Structs§
- Product
- What an application tells the shell about itself.
- Shell
- The window: chrome, keys, errors, and one view inside it.
Enums§
- Notice
- A message a view hands the window to show at its foot.
Traits§
- View
- What the shell needs from the view that draws a particular format.
Functions§
- replace_
file - Put bytes where a file is, so that the file is either what it was or what was written and never half of each.
- run
- Open a window for a product, with the paths given on the command line.