Content deleted Content added
GreenC bot (talk | contribs) Rescued 1 archive link. Wayback Medic 2.5 per WP:URLREQ#af.mil |
Rephrased weasle words. Tags: Visual edit Mobile edit Mobile web edit |
||
Line 28:
* [[Vi (text editor)|vi]] – has one mode for inserting text, and a separate mode for entering commands. There is also an "[[Ex (text editor)|ex]]" mode for issuing more complex commands (e.g. search and replace). Under normal circumstances, the editor automatically returns to the previous mode after a command has been issued; however, it is possible to permanently move into this mode using ''Shift-Q''.
** Derivatives, such as [[Vim (text editor)|Vim]] and [[Neovim]]
* [[Emacs]] – has the concept of "prefix keys", which trigger a modal state by pressing the control key plus a letter key. Emacs then waits for additional keypresses that complete a [[keybinding]]. This differs from ''vi'' in that the mode always ends as soon as the command is called (when the sequence of key presses that activates it is completed). Emacs also has
* [[Cisco IOS]] – certain commands are executed in a "command mode".
* Tools chosen from a [[Palette (computing)|palette]] in [[Photo manipulation|photo-editing]] and drawing applications are examples of a modal interface. Some advanced image editors have a feature where the same tools can be accessed nonmodally by a keypress, and remain active as long as the key is held down. Releasing the key returns the interface to the modal tool activated by the palette.
Line 49:
* A frequent example is the sudden appearance of a [[modal window|modal]] [[Alert dialog box|error dialog]] in an application while the user is typing, which is a form of [[focus stealing]]; the user expects the typed text to be introduced into a text field, but the unexpected dialog may discard all the input, or may interpret some keystrokes (like "Y" for "yes" and "N" for "no") in a way that the user did not intend, often triggering a destructive action that cannot be [[undo|reverted]]. Programmers can mitigate this by implementing a short delay between the modal dialog displaying and it beginning to accept keyboard input.
* The [[Unix]] [[text editor]] [[Vi (text editor)|vi]] can be notoriously difficult for beginners precisely because it uses modes, and because earlier versions configured mode indication to be turned off by default.
* In
=== In transportation accidents ===
|