Selection (user interface)

Last updated

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.

Contents

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

Uses

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

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

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

Column selection in a source-code editor Ace Code Editor - Media Wiki Extension CodeEditor - Vertical Selection 1.png
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

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

Notes

    Related Research Articles

    <span class="mw-page-title-main">Konqueror</span> Web browser and file manager

    Konqueror is a free and open-source web browser and file manager that provides web access and file-viewer functionality for file systems. It forms a core part of the KDE Software Compilation. Developed by volunteers, Konqueror can run on most Unix-like operating systems. The KDE community licenses and distributes Konqueror under GNU GPL-2.0-or-later.

    <span class="mw-page-title-main">Plug-in (computing)</span> Software component that adds a specific feature to an existing software application

    In computing, a plug-in is a software component that adds a specific feature to an existing computer program. When a program supports plug-ins, it enables customization.

    <span class="mw-page-title-main">ChatZilla</span> IRC client

    ChatZilla is an IRC client that is part of SeaMonkey. It was previously an extension for Mozilla-based browsers such as Firefox, introduced in 2000. It is cross-platform open source software which has been noted for its consistent appearance across platforms, CSS appearance customization and scripting.

    Cut, copy, and paste are essential commands of modern human–computer interaction and user interface design. They offer an interprocess communication technique for transferring data through a computer's user interface. The cut command removes the selected data from its original position, and the copy command creates a duplicate; in both cases the selected data is kept in temporary storage called the clipboard. Clipboard data is later inserted wherever a paste command is issued. The data remains available to any application supporting the feature, thus allowing easy data transfer between applications.

    gedit Linux text editor

    gedit is a text editor designed for the GNOME desktop environment. It was GNOME's default text editor and part of the GNOME Core Applications until GNOME version 42 in March 2022, which changed the default text editor to GNOME Text Editor. Designed as a general-purpose text editor, gedit emphasizes simplicity and ease of use, with a clean and simple GUI, according to the philosophy of the GNOME project. It includes tools for editing source code and structured text such as markup languages.

    This article provides basic comparisons for notable text editors. More feature details for text editors are available from the Category of text editor features and from the individual products' articles. This article may not be up-to-date or necessarily all-inclusive.

    <span class="mw-page-title-main">Menu bar</span> Graphical control element

    A menu bar is a graphical control element which contains drop-down menus.

    <span class="mw-page-title-main">TED Notepad</span> Text editor for Microsoft Windows

    TED Notepad is freeware portable text editor software for Microsoft Windows, developed by Juraj Šimlovič since 2001, originally as a school project. It looks similar to Windows Notepad, but provides additional features, including experimental line completion and selection jumping.

    In computing, a keyboard shortcut is a sequence or combination of keystrokes on a computer keyboard which invokes commands in software.

    <span class="mw-page-title-main">Features of the Opera web browser</span> List of software application features

    This article details features of the Opera web browser.

    Vimperator is a discontinued Firefox extension forked from the original Firefox extension version of Conkeror and designed to provide a more efficient user interface for keyboard-fluent users. The design is heavily inspired by the Vim text editor, and the authors try to maintain consistency with it wherever possible.

    In HTML, a file-select control is a component of a web form with which a user can select a local file. When the form is submitted, the file is uploaded to the web server. There, when the file arrives, some action usually takes place, such as saving the file on the web server. However, the particular action that takes place is determined by the server-side script to which the form is submitted.

    Lapis is an experimental web browser and text editor allowing simultaneous editing of text in multiple selections. Lapis is able to infer the list of selected elements automatically from positive and negative examples given by the user, during a process known as selection guessing, based on concept learning.

    <span class="mw-page-title-main">Simultaneous editing</span>

    In human–computer interaction, simultaneous editing is an end-user development technique allowing a user to make multiple simultaneous edits of text in a multiple selection at once through direct manipulation.

    <span class="mw-page-title-main">Sublime Text</span> Text editor

    Sublime Text is a shareware text and source code editor available for Windows, macOS, and Linux. It natively supports many programming languages and markup languages. Users can customize it with themes and expand its functionality with plugins, typically community-built and maintained under free-software licenses. To facilitate plugins, Sublime Text features a Python API. The editor utilizes minimal interface and contains features for programmers including configurable syntax highlighting, code folding, search-and-replace supporting regular-expressions, terminal output window, and more. It is proprietary software, but a free evaluation version is available.

    Firefox was created by Dave Hyatt and Blake Ross as an experimental branch of the Mozilla browser, first released as Firefox 1.0 on November 9, 2004. Starting with version 5.0, a rapid release cycle was put into effect, resulting in a new major version release every six weeks. This was gradually accelerated further in late 2019, so that new major releases occur on four-week cycles starting in 2020.

    <span class="mw-page-title-main">Pluma (text editor)</span> Default text editor for the MATE desktop environment

    Pluma is a fork of gedit 2 and the default text editor of the MATE desktop environment used in Linux distributions. It extends the basic functionality with other features and plugins.

    ContentTools is an open-source WYSIWYG editor for HTML content written in JavaScript/CoffeeScript by Anthony Blackshaw of Getme Limited.

    References

    1. Nield, David (14 October 2022). "The best ways to select text on your phone and computer". Popular Science. Retrieved 30 September 2024.
    2. 1 2 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.