Repository navigation
file revert
< Previous: Save As | Next: Import Image >
Throw away every change since the last save and reload the file from disk.
Menu: File > Revert to Saved | In depth: Saving & opening
The design goes back to exactly what is on disk. Everything done since the last Save is gone.
It asks first, because there is nothing to take back afterward: Revert to the last saved version? Unsaved changes will be lost.
- Nothing has been saved yet. There is no file to go back to, and the command says so rather than pretending: This design hasn't been saved yet, nothing to revert to.
- Nothing has changed since the last save. The design already matches the file, so the command returns quietly.
Reverting is a desktop command. The browser build has no file on disk behind the design, so it is not offered there, the same way Open and Append are not.
On the desktop it is in both places: the File menu inside the window, and File in the menu bar.
This is the part worth knowing before you use it. Reverting reloads the document, and reloading clears the undo history in both windows. The steps you reverted past are not sitting on the undo stack waiting; they are gone.
So Revert to Saved is the wrong tool for stepping back a little way. Undo is for that. Revert is for the other case: the file on disk is right, what is on screen has gone somewhere you do not want, and going back one step at a time is not worth it.
The design keeps its path and its name. Reverting is not Open: you are not switching documents, you are reloading the one you have, so nothing changes in Open Recent and the title bar does not move.
< Previous: Save As | Next: Import Image >
- Saving & opening: what a .locus file holds and how saving works.
- Undo and Redo: the right tool for stepping back a few actions.
- Save: the command Revert to Saved measures everything against.
Found a bug or have feedback? Open an issue | Docs home | Videos | Credits
Getting Started
- Welcome
- How Locus came to be
- Videos
- Community & support
- Installing & launching
- Licensing & activation
- Beta License Agreement
- Core concepts
- Interface tour
- Your first pattern
Modeling - Drawing
- Canvas basics
- Points
- Typing coordinates
- Lines, rays & segments
- Circles & arcs
- Ellipses
- Compass & straightedge
- Rectangles & squares
- Constraining with Shift
Modeling - Editing
- Selecting objects
- Transform tools
- Align & distribute
- Duplicate, detach & ownership
- Regions & booleans
- Cleanup
- Weld & seams
- Style palettes & Re-ink
Annotation
Layers
Modeling Menus
- File
- Edit
- View
-
Draw
- Select
- Point
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Through 3 Points
- Arc: Center, Start, End
- Straightedge
- Compass
- Compass: Radius
- Ellipse: Center + Axes
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center, Vertex
- Regular Polygon: Center, Edge Midpoint
- Dimension: Linear
- Dimension: Angle
- Dimension: Radial
- Label
- Construct
- Combine
- Transform
- Select
- Nodes
The Nodes Window
- Basics of visual programming
- How the node graph works
- Sockets & wires
- Adding & connecting nodes
- Sliders & number inputs
- Keeping the node graph tidy
- View menu (Nodes)
- Lists & collections
- Constants & unit conversions
Node Library
- Overview
- Input
-
Primitives
- Point
- Point: Polar
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Apollonius
- Circle Tangent to...
- Circle: 3 Points
- Arc
- Ellipse
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center
- Rectangular Grid
- Oblique Grid
- Triangular Grid
- Construct
- Transform
- Image & Fields
- Combine
-
Data
- Measure
- Numbers
- Lists
- Select
- Clean up
- Display
Clusters
Bridging Modeling & Nodes
Patterns & Symmetry
Image-Driven Fields
Saving, Exporting & Files
Preferences & Language
CLI
- CLI server
- locus-cli
- CLI commands
- Tangent circles
- Tick and strike
- Making regions
- Boolean commands
- Reading the node graph
Reference