

When you do this all the lines WITH CODE get a tab at the front but the blank lines DO NOT get the tab. When are people ever going to make multi-line selections like this and WANT to delete the blank lines, messing up the formatting and whitespace they put in place?Īlso, this behavior is not consistent with the behavior of selecting multiple lines (including blank lines) and pressing TAB. But it does not seem to be intuitive at all. I know from a technical standpoint that this behavior is technically correct. Pressing DELETE will remove those blank lines, because obviously there is no characters on those lines to delete. This is because part of my selection included blank lines. I would expect all the lines of code to simply move to the left 4 spaces and then I'd be done. My first instinct is to place my cursor at the start of the first line, then hold ALT + CTRL and then move the cursor down until I'm at the last line, then just press press DELETE 4 times. I want to reformat the code to get rid of the whitespace in the front, so its like this: Note the blank lines as well as the whitespace in front of all the code. 103–110, IUI 2002, Proceedings of the 2002 International Conference on Intelligent User Interfaces, January 13–16, 2002, San Francisco, California, USA.It is very often the case where I have code like this: Myers: Multiple selections in smart text editing.

" Other systems have been proposed to support fast copy-paste of multiple selections or text entities like phone numbers"
Sublime text edit multiple lines windows#
Copy-and-Paste between Overlapping Windows by Olivier Chapuis, Nicolas Roussel.^ "Emacs Rocks! Episode 13: multiple-cursors"."Editable box model, multiple selection, Sublime Text keys + much more – Firefox Developer Tools Episode 31". ^ Heather Arthur and Robert Nyman (May 7, 2014).^ "Multiple selections (multi-cursor)".^ "Sublime Text - A sophisticated text editor for code, markup and prose".^ "LAPIS - Editing Text with Lightweight Structure".^ "LAPIS: Smart Editing with Text Structure".Column Edit Mode in Vi and Vi derivatives such as Vim.

Multiple selections in Firefox developer tools.Multiple selections in Visual Studio Code.

Tools for data wrangling (mass reformatting) also sometimes include commands for simultaneous editing of all data in a column or category.Įditors supporting simultaneous editing The Lapis experimental web browser and text editor is also able to infer selections based on concept learning from positive and negative examples given by the user during a process known as selection guessing. Multiple selections and cursors are typically created by using a keyboard shortcut to select repeated instances of the same text or text fragments surrounded by the same delimiters, by using a search feature to select all instances of a search term, by selecting the same column in multiple lines, or by selecting text or cursor positions with a mouse. 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. A screencast demonstration of simultaneous editing using the multiple selection feature of Sublime Text v3.
