Wiki
Card Editor / Documents / Workspaces / Workspaces
Workspaces
All work done in Card Editor is handled through a Workspace. It contains references to all other documents within it. The filepaths to the documents are relative to the folder containing the Workspace, which is known as the Root Folder. Only one Workspace may be open at a time. If the user closes a Workspace when there are unsaved changes, Card Editor will ask the user if they wish to save first, to ignore unsaved changes, or to cancel whatever operation is closing the Workspace.
Creating Workspaces
From the File menu, you can create, open, save, and close Workspaces. It also maintains a history of the 10 most recent Workspaces that have been created or opened, for easy access. The history is stored in user data.
Workspace View
In the Workspace View, we have:
- Add, Remove, and Delete Document buttons
- Document List
- Open Documents View
These only become active when there is an open Workspace.
Add Document button
The Add Document button allows users to add new Documents to the Workspace. When clicked, it opens a sub-menu that allows the user to select what type of Document to add.
Card Editor will then prompt the user for a filepath where the new Document should be stored.
Remove Document button
This button only becomes active when a Document is selected in the Document List. Clicking it will remove the Document from the Workspace, though the Document file will still exist in its current location.
Delete Document button
This button only becomes active when a Document is selected in the Document List. Clicking it will both remove the Document from the Workspace and delete the file from the file system.
Document List
The Document List lists all Documents in the Workspace. Documents are grouped by type, and the group headers are collapsible. Headers are only visible if there is at least one document of that type in the Workspace
The List displays Documents by their filename, prefixed by an asterix(*) if it has unsaved changes.
Saving the Workspace will save all of its Documents.
Open Documents View
This area displays the open Documents in a tabbed view. Each tab displays the Document's filename, prefixed by an asterix(*) if it has unsaved changes.
The list of open Documents is stored in user data with the history of recent Workspaces, not in the Workspace data itself.
Updated