DunneNote · Working in DunneNote
Reflow and text layout
How text flows around canvases, and where lines are and are not allowed to break.
Text flows around canvases#
When a canvas sits on top of a Rich Text canvas, the text flows around it rather than disappearing underneath. Move the canvas and the text reflows.
For a picture, you choose the behaviour in the toolbar: Wrap flows the text around the picture, and Leave blank leaves the space empty.
Each notebook also has a Page layout setting, Reflow or Fixed-width, in the This notebook section of Settings ▸ Appearance.
Where lines break#
DunneNote chooses line breaks so the meaning survives the break.
Numbers never split. A number is kept whole, with its currency sign, sign,
thousands separators, decimal point and percent sign. $12.50, -3.14159,
1,250,000 and 45% never break across two lines.
Other break points are ranked. Where a long run has no space, DunneNote prefers to break, in order:
- at a space,
- at a path separator (
/or\), - at punctuation common in code and addresses (
_ - : . ? & # =), - at a change from lower to upper case in
camelCasewords.
A run with more than one decimal point, such as the version number 1.2.3, is
not treated as a number and can break at its dots.
If nothing fits, it overflows. A unit that is too wide and has no acceptable break point, such as a long hash, is kept intact and allowed to run past the edge. It is never broken or hyphenated in a place that would change how it reads. An overflow is obvious, whereas a silently broken number is not.
Limits#
- The rules assume
.is the decimal point and,groups thousands. Numbers written the other way round, as in much of Europe, may break differently. - Text flows around a canvas's rectangle, not around the shape of what's in it.
Something unclear or out of date? Open a support ticket.