Content deleted Content added
m Removing link(s): Wikipedia:Articles for deletion/EditPlus (2nd nomination) closed as delete (XFDcloser) |
Undid revision 1298019312 by 139.130.97.10 (talk) |
||
(15 intermediate revisions by 13 users not shown) | |||
Line 1:
{{Short description|A list of items on which user operations will take place.}}
In [[computing]] and [[user interface design|user interface engineering]], a '''selection''' is a list of items on which [[Command (computing)|user operations]] will take place. The user typically adds items to the list manually, although the [[computer]] may create a selection automatically. Selections are enacted through combinations of key presses on a [[Computer keyboard|keyboard]], with a precision [[pointing device]] ([[Mouse (computing)|mouse]] or [[touchpad]] and [[Cursor (computers)|cursor]], [[Stylus (computing)|stylus]]), or by hand on a [[touchscreen]] device. The simultaneous selection of a group of items (either a subset of elements in a list, or discontinuous regions in a text) is called a ''multiple selection''.▼
In [[computing]] and [[user interface design|user interface engineering]], a '''selection''' is a list of items on which [[Command (computing)|user operations]] will take place. The user typically adds items to the list manually, although the [[computer]] may create a selection automatically.
▲
[[Context menu]]s will usually include actions related to the objects included in the current selection - the selection provides the "context" for the menu.▼
▲[[Context menu]]s will usually include actions related to the objects included in the current selection
== Types ==
{{Expand section|date=November 2020}}
[[File:Ace_Code_Editor_-_Media_Wiki_Extension_CodeEditor_-_Vertical_Selection_1.png|thumb|Text selection in a [[source-code editor]]]]▼
=== Uses ===
* [[Electronic text|Text]] selection is associated with the [[cut, copy and paste]] operations and done with a [[Cursor (computers)#Text cursor|cursor]], [[caret navigation]] or [[Touchscreen|touch]].
* [[Image editing]] applications can feature specialized graphical tools for the selection and modification of areas and shapes or to interact with colours, such as the [[magic wand selection]] tool, the [[lasso tool|lasso]] selection tool, the [[marquee selection]] ([[bounding box]]), or the [[color picker]]. The border of a selected area in an image is often animated with the [[marching ants]] effect to help the user to distinguish the selection border from the image background.
Line 10 ⟶ 14:
* [[Folder (computing)|File]]s and other interface components can be selected and used with the advent of [[GUI]]s.
* [[3D_user_interaction#Selection_and_Manipulation|Selection and manipulation in 3D virtual environments]]
=== Range selection ===
A selection method to facilitate the selection of large amounts of text or items in a long list such as files and folders in [[file manager]]s is ''range selection'', sparing the user from clicking or tapping each item individually.
On desktop file managers such as the [[Windows Explorer]] and [[Nemo (file manager)|Nemo file manager]], it can be used by clicking on the first item to be selected, then holding the <kbd>⇧</kbd> [[shift key]] while clicking on the last item to be selected. In mobile file managers, it is implemented since early versions of [[ES File Explorer#Popularization and functionality|ES File Explorer]], where only two listed items (file or directory) need to be highlighted and a button pressed to select all items in-between.
Ideally, the two list items are navigated to with a draggable [[scroll bar]], since it can move through long lists faster.
=== Selection with dragging ===
The user taps or clicks on the first item, drags upward or downward, and waits for the list to scroll to the last desired item, at which the user releases the pointer or finger. The same applies to text.<ref>{{cite web |last1=Nield |first1=David |title=The best ways to select text on your phone and computer |url=https://www.popsci.com/diy/how-to-select-all-text/ |website=Popular Science |access-date=30 September 2024 |date=14 October 2022}}</ref>
== Simultaneous editing ==
Line 18 ⟶ 32:
=== Column selection ===
▲[[File:Ace_Code_Editor_-_Media_Wiki_Extension_CodeEditor_-_Vertical_Selection_1.png|thumb|
A '''column selection''' is a [[text selection]] feature found in [[text editor]]s which allows the user to select characters in a grid-like fashion, selecting characters in several lines at the same columns. This is usually initiated by pressing the alt key (instead of the shift key, which creates a continuous selection) to select text when [[drag-and-drop|dragging]]. Some applications also enable text to be typed in multiple lines at once using this method as a limited form of [[simultaneous editing]].<ref name="npp">[http://notepad-plus-plus.org/features/column-mode-editing.html Notepad++ Column Mode Editing]</ref>
The feature is known by different names in different applications:
* '''block selection'''
* '''column selection'''
* '''non-linear text selection'''
* '''rectangular selection'''
* '''column block selection'''
* '''column mode editing'''
=== Free-form simultaneous editing ===
The [[Lapis (text editor)|Lapis text editor]],<ref>[https://www.cs.cmu.edu/~rcm/papers/chi02/chi02.html LAPIS: Smart Editing with Text Structure]</ref><ref>[http://www.usenix.org/event/usenix99/full_papers/miller/miller_html/usenix99.html Lightweight Structured Text Processing]</ref> Mozilla's [[Firefox developer tools]],<ref>{{cite web | url=https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/ | title=Editable box model, multiple selection, Sublime Text keys + much more – Firefox Developer Tools Episode 31 | publisher=Mozilla | date=May 7, 2014 |
== See also ==
* [[Focus (computing)]]
== Notes ==
{{notelist}}
==References==
<references/>
[[Category:User interface techniques]]
{{computing-stub}}
|