1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-01 10:59:23 +00:00

Documentation: Add section on Ellipses to Text.md

This commit is contained in:
thankyouverycool 2023-05-22 13:07:06 -04:00 committed by Andreas Kling
parent a03fb66216
commit 024360e604

View File

@ -52,3 +52,26 @@ of proper names, weekdays, etc.
- Radio button labels
- Status bar text
- Text box labels
## Ellipses
The ellipsis, represented by a series of three periods (...), has two special
functions in the interface:
- Eliding text
- Foreshadowing additional user input
The first occurs programmatically, but the second requires care when setting
text manually.
Control text which implies an action whose effect is incomplete pending further
user input should end in an ellipsis. Opening a new window does not in itself
justify the use of an ellipsis; the dialog must be an intermediate step toward
completing the action.
Ellipses should be used sparingly elsewhere to avoid confusion with elision.
#### Examples:
- Save As...
- Browse...
- Insert Emoji...