Help while you type

Brackets and quotes, typographic symbols, CJK punctuation and spacing, undo, spelling, and word counts.

Help while you type

As you type, Incipit can take care of a few small chores: closing a bracket, setting a proper dash, spacing Chinese next to English. This chapter describes each helper, what it does and what it leaves alone.

They all follow the same rules:

  • Each does one plain thing. None of them tries to work out what you meant from context. If a helper acts, it acts the same way every time.
  • Each shows you when it acted. A brief pulse marks the characters a helper changed, so a change never slips past unnoticed.
  • Each can be undone at once. Press ⌘ Z straight after, and you get back exactly what you typed.
  • Each has a switch. Every helper below can be turned off in Settings › Editor, and each settings card shows a small live example of what it does.

Brackets and quotes

Under Pairs in Settings:

  • Close brackets and quotes. Type ( and Incipit types the ) for you, with the cursor in between. The same goes for [, { and quotes. It doesn’t do this when a word comes straight after the cursor, since then you’re probably wrapping existing text.
  • Step over a pair’s closer. If the next character is already the closer you’re about to type, typing it moves past it instead of adding a second one. So you can type (word) the way you always have, and get one closing bracket, not two.
  • Pair straight quotes. Straight double quotes " pair the same way brackets do. After a word, a quote closes rather than opens.
  • Select a pair before deleting it. Press ⌫ into an empty pair, and the pair is selected first; press again and both sides go together. This saves leaving a stray ) behind.

If you’d rather every key did exactly what it says, choose Left to you in the walkthrough, or turn Close brackets and quotes off.

Typography

Under Typography in Settings:

  • Typographic symbols. Type -- for an em dash (—) and ... for an ellipsis (…), as you type.
  • Space punctuation. Puts a space after a comma, semicolon or colon as you type it, if you didn’t.
  • Quote punctuation. Curls apostrophes and quotes (’ “ ”), and moves a full stop or comma typed just after a closing quote to inside it, the way most English typesetting does.

None of these act inside code or formulas.

Chinese, Japanese and Korean

Under CJK in Settings:

  • Full-width punctuation. On a line written in Chinese, Japanese or Korean, punctuation is set full width: , and 。 rather than , and ..
  • CJK and Latin spacing. Where CJK text meets Latin letters or numbers, one space is kept between them. 我在用Incipit写作 reads as 我在用 Incipit 写作.

Incipit decides by the line you’re writing in, so a mostly English sheet with a line of Japanese gets the right punctuation on each.

Word counts also treat CJK fairly. Since Chinese and Japanese aren’t written with spaces between words, Incipit counts CJK characters separately, beside the word count for everything else.

Undo

Undo (⌘ Z) and Redo (⇧ ⌘ Z) step through your changes. Typing is undone a burst at a time: a run of typing without a pause comes back as one step, rather than a character at a time. How long a pause ends a burst is set by Typing burst under History in Settings.

A change made by a helper, such as a dash, curled quote or added space, is its own step. Undo straight after a helper acts, and only that change is taken back; the pulse plays backwards to show it.

Spelling and grammar (Mac)

On a Mac, Incipit uses the system’s own spelling checker, in the languages your Mac is set up for. Under Spelling and Grammar in Settings:

  • Check spelling while typing. Words the checker doesn’t know get a wavy underline. Right-click one for suggestions, or to Learn Spelling or Ignore Spelling.
  • Check grammar with spelling. Questionable grammar is marked too, in a calmer colour than a misspelling.
  • Correct spelling automatically. A misspelled word is replaced with the system’s correction when you type a space or punctuation. Click the underlined word to change it back.
  • Show inline predictions. Suggests the rest of a word in dimmed text as you type; press Tab to accept it. Predict next word also suggests the word after a space.

Code, formulas and tags are never checked. On Windows and Linux there is no spelling checker for now.

Find in a sheet

⌘ F opens Find for the sheet in front. Every match is marked as you type, with a count. ⌘ G goes to the next match and ⇧ ⌘ G to the previous one; Esc closes Find.

Find understands two switches, typed into its field: $case to match upper and lower case exactly, and $word to match whole words only.

Counting

The right end of the strip at the foot of a sheet shows how long it is: words, characters, and CJK characters when there are any. Select some text and the counts show the selection as a part of the whole, such as 120 of 2,431 words. Turn the counts off under Statistics in Settings if you’d rather not see them.

Code blocks

The Code setting colours keywords, strings, numbers and comments in a code block whose language you’ve named. See Formulas and code.