12 Matching Annotations
- Jan 2024
-
mattbrictson.com mattbrictson.com
-
But what if you want to reuse one layout within another?
-
- Apr 2021
-
linusakesson.net linusakesson.net
-
Opening "xterm" in "iSH" is like starting a new virtual terminal from a virtual terminal you are already in ("iSH").
-
- Mar 2021
-
trailblazer.to trailblazer.to
-
When nesting an activity with multiple outcomes, you can wire each terminus to a different route.
-
Semantics are mostly relevant for nesting
-
Nesting an activity into another is a bit like calling a library method from another method
-
the explicit modelling has one massive advantage: all possible outcomes of the nested activity are visible and have to be connected in the outer diagram
-
- Feb 2021
-
github.com github.com
-
array :translations do hash do string :locale string :name end end array inputs can only have one input nested underneath them. This is because every element of the array must be the same type. And the inputs nested inside arrays cannot have names because they would never be used.
-
- Jan 2021
-
github.com github.com
-
allow <slot> to be part of a slot
-
- Dec 2020
-
archive.vn archive.vn
-
Folding This is the one function whose name is confusing because many products use the term for what we called “collapsing” above. For this article, collapsing is the process of making whole headers and paragraphs invisible, tucking them up under a “parent.” Folding is a different kind of tucking under; it works on paragraphs and blocks to reduce them to a single line, hiding the rest. A simple case of folding might involve a long paragraph that is reduced to just the first line—plus some indication that it is folded; this shows that a paragraph is there and something about its content without showing the whole thing. Folding is most common in single-pane outline displays, and a common use is to fold everything so that every header and paragraph is reduced to a single line. This can show the overall structure of a huge document, including paragraph leaves in a single view. You can use folding and collapsing independently. At one time, folding was one of the basics of text editors, but it has faded somewhat. Now only about half of the full-featured editors employ folding. One of the most interesting of these is jEdit. It has a very strong implementation of folding, so strong in fact it subsumes outlining. Though intended as a full editor, it can easily be used as an outliner front end to TeX-based systems. jEdit is shown in the example screenshot in both modes. The view on the right shows an outline folded like MORE and NoteBook do it, where the folds correspond to the outline structure. But see on the left we have shifted to “explicit folding” mode where blocks are marked with triple brackets. Then these entire blocks can be folded independent of the outline. Alas, folding is one area where the Mac is weak, but NoteBook has an implementation that is handy. It is like MORE’s was, and is bound to the outline structure, meaning you can only fold headers, not arbitrary blocks. But it has a nice touch: just entering a folded header temporarily expands it.
Folding is the affordance of being able to limit the space a block of a text (e.g. a paragraph) takes up to one line.
This is different from collapsing, which hides nested subordinate elements under a parent element.
Tags
Annotators
URL
-
- Nov 2020
-
www.nateliason.com www.nateliason.com
-
Evernote’s is based on three levels: Stacks, Notebooks, and notes. Each note lives in one notebook, which lives in one stack. Notion, Workflowy, and a few others allow infinite nesting. A note lives in a note lives in a note and so on.
Two top-down approaches to note taking.
In evernote your notes live in Stacks, notebooks or notes.
In Notion and Workflowy you've got blocks than can be infinitely nested.
Tags
Annotators
URL
-
- May 2020
-
www.typescriptlang.org www.typescriptlang.org
-
This file that really does nothing but manage other project files is often called a “solution” in some environments.
-
-
developer.mozilla.org developer.mozilla.org
-
In ES2015 with nested template literals: const classes = `header ${ isLargeScreen() ? '' : `icon-${item.isCollapsed ? 'expander' : 'collapser'}` }`;
-