Selection (user interface)

In computing and user interface engineering, a selection is a list of items on which 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 keyboard, with a precision pointing device (mouse or touchpad and cursor, 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 menus will usually include actions related to the objects included in the current selection – the selection provides the "context" for the menu.

Types

edit

Uses

edit

Range selection

edit

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 managers 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, it can be used by clicking on the first item to be selected, then holding the 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, 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

edit

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.[1]

Simultaneous editing

edit

Simultaneous editing is a technique in End-user development research to edit all items in a multiple selection. It allows the user to manipulate all the selected items at once through direct manipulation. The technique also appears in data wrangling tools, allowing the user to make the same changes to several records of the same kind in a table.

The term simultaneous editing is also used to describe collaborative editing in collaborative real-time editors.

Column selection

edit
 
Column selection in a source-code editor

A column selection is a text selection feature found in text editors 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 dragging. Some applications also enable text to be typed in multiple lines at once using this method as a limited form of simultaneous editing.[2]

The feature is known by different names in different applications:

Free-form simultaneous editing

edit

The Lapis text editor,[9][10] Mozilla's Firefox developer tools,[11] and the multi edit[12] 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

edit

Notes

edit

References

edit
  1. ^ Nield, David (14 October 2022). "The best ways to select text on your phone and computer". Popular Science. Retrieved 30 September 2024.
  2. ^ a b Notepad Column Mode Editing
  3. ^ Writer/Selection Mode – LibreOffice Help
  4. ^ The Kate Handbook Archived 2014-05-12 at the Wayback Machine
  5. ^ FAQ – EditPlus Wiki
  6. ^ 10.4: Use non-linear text selection in TextEdit
  7. ^ Selecting Text – jEdit
  8. ^ Selecting Text – MSDN
  9. ^ LAPIS: Smart Editing with Text Structure
  10. ^ Lightweight Structured Text Processing
  11. ^ Heather Arthur and Robert Nyman (May 7, 2014). "Editable box model, multiple selection, Sublime Text keys much more – Firefox Developer Tools Episode 31". Mozilla. Retrieved 7 May 2014.
  12. ^ New gedit plugin: multi edit, and a demo video.