Selection (user interface)


Contributors to Wikimedia projects

Article Images

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.

This section needs expansion. You can help by adding to it. (November 2020)

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 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.