Chapter 52
The window at a glance
This chapter names every control in Pilcrow's window, from left to right, on Mac and on iPad. The chapters that follow in this part describe each menu item, and Part XVII describes each panel and dialog.
The header bar#
The header runs across the top of the window. Its controls, in order:
| Control | Where | What it does |
|---|---|---|
| Navigator (sidebar icon) | Mac and iPad | Shows or hides the sidebar. Its tooltip reads "Show or hide navigator". Same as View ▸ Toggle Sidebar. |
| Document title | Mac and iPad | Shows the active document's name, with a dot that tells you whether it is saved. Click it to open the document switcher and the document actions (Chapter 59). |
| Menu button or menu strip | iPad only | The Mac's menus, inside the header, for an iPad with no keyboard or mouse (Chapter 58). |
| Document Mode (Edit, Preview, Split) | Mac and iPad | Switches between source, rendered page, and both side by side. "Split" is Side by Side. |
| Find (magnifying glass) | Mac and iPad | Opens the find bar (Chapter 62). |
| Export (share icon) | Mac and iPad | Opens the export panel (Chapter 64). |
| Settings (gear) | iPad only | Opens Settings in a sheet. On the Mac, Settings is in the Pilcrow menu (⌘,). |
| More (three dots) | Mac and iPad | Holds the actions that do not fit on the bar. See below. |
Find, Export and the mode control appear only while a document is open.
How the header adapts to width#
The header is built to stay usable in a narrow window, such as a Mac window tiled beside another app or an iPad in Split View. As the window gets narrower, controls move into the More menu in this order:
| Window width | What you see |
|---|---|
| 720 points or wider | Edit/Preview/Split control, Find, Export, and More. |
| 600 to 719 | Find moves into More. |
| 500 to 599 | Export moves into More as well. |
| Under 500 | The mode control becomes a single button whose icon shows the current mode (pencil, eye, or two panes). Click it to choose. |
On iPad the mode control becomes the compact button below 580 points. The title always shrinks first, between 140 and 520 points wide, so the buttons stay in place. With larger accessibility text sizes, the window widths above are divided by 1.3 first, so controls move into More while the window is still wider.
The More menu#
What More offers depends on the mode and the platform. Items that are shown only when the source is visible (Edit or Side by Side) are marked below.
| Item | When it appears | What it does |
|---|---|---|
| Find… | Only when the bar has no Find button | Opens the find bar. |
| Replace… | Source visible | Opens find with the replace field. |
| Go to Line… | Source visible | Jumps to a line, or line and column. |
| Carets in a Column… | iPad, source visible | Places carets down a column by number (Chapter 63). |
| Column Selection | iPad, source visible | A switch. While on, a one-finger drag selects a rectangle of text. |
| Share… | A document is open | Shares the document's file through the system share sheet. |
| Export… | Only when the bar has no Export button | Opens the export panel. |
| Focus | Always | A switch for Focus Mode (below). |
| Heading Folds, Rendered Blocks, Auto-Expand Sections, Hide Markers, Styled Source, Formatting Toolbar | Source visible | The same display switches as in the View menu (Chapter 55). Hide Markers is greyed unless Styled Source is on. |
| Open File…, Open Folder… | iPad | Open a file or a folder when the sidebar is closed. |
| Print… | iPad | Prints the rendered document. |
| Settings…, Help | iPad | Open Settings or the in-app Help. |
The working area#
Under the header is the editor, the preview, or both. Below the editor, when switched on, are the formatting toolbar and the status bar (Chapter 61). A backdrop picture or video can sit behind the editor and the sidebar (Chapter 69).
In Side by Side, the source sits beside the preview and scrolls with it. The pane divider can be dragged, and the position is remembered. When the window is narrower than 520 points the two panes stack one above the other instead. When opening the sidebar would leave less than 640 points for the document, the sidebar covers the document rather than squeezing it.
The sidebar (navigator)#
The sidebar can show Files, Outline, Search, Project and Assistant (Chapter 60). Drag its edge to resize it, between 180 and 420 points wide. In a window narrower than 500 points it fills the whole width, and a Done button closes it.
Focus Mode#
Focus Mode hides everything but the text. Turn it on from View ▸ Focus Mode, from More ▸ Focus, or from the command palette. While it is on, an Exit Focus button appears so you can leave without a keyboard. Focus Mode always wraps long lines and has its own text column, separate from the one in Settings. It has no default shortcut; assign one in Settings ▸ Keyboard.
When there is no document#
With nothing open, the window offers New Document and Open File… under the heading "Start a document". On iPad, Open Folder… is in More.
When Pilcrow starts and finds unsaved work from an earlier session, it shows a Recover Documents list instead. See Chapter 17 for how recovery works. The list offers Recover and Delete for each item, and Recover All and Delete All for the whole list. A document that was never saved cannot be brought back once deleted, so Delete All asks first. A Dismiss button on the single-document banner declines recovery for that item.
While a large file opens, the window shows "Opening name…" with a progress indication.