Content deleted Content added
Citation bot (talk | contribs) Misc citation tidying. | You can use this bot yourself. Report bugs here. | Suggested by Abductive | Category:Computing stubs | via #UCB_Category 145/617 |
Undid revision 1298019312 by 139.130.97.10 (talk) |
||
(12 intermediate revisions by 11 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''.
[[Context menu]]s will usually include actions related to the objects included in the current selection
== Types ==
Line 15 ⟶ 16:
=== Range selection ===
A
Ideally, the two list items are navigated to with a draggable [[scroll bar]]
=== 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 29 ⟶ 33:
=== Column selection ===
[[File:Ace_Code_Editor_-_Media_Wiki_Extension_CodeEditor_-_Vertical_Selection_1.png|thumb|Column selection in a [[source-code editor]]]]
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 | access-date=7 May 2014 | author=Heather Arthur and Robert Nyman}}</ref> and the ''multi edit''<ref>[http://blogs.gnome.org/jessevdk/2009/11/15/new-gedit-plugin-multi-edit/ New gedit plugin: multi edit], and a [https://people.gnome.org/~jessevdk/multiedit.ogv demo video].</ref> plugin for [[gedit]] are examples of the simultaneous editing technique that work on discontinuous regions through direct manipulation. The Lapis editor can also create an automatic multiple selection based on an example item.
== See also ==
* [[Focus (computing)]]
== Notes ==
|