
'Command+a' to Incrementally selects levels of text
Reported by Christopher Stevenson | January 5th, 2011 @ 11:49 AM
I'm not sure where I've used this before but pressing 'command+a' would first select the word, then the line, then the paragraph then the whole document.
Textmate currently uses different shortcuts for each level of text (word, line, scope, document) which is too fussy to use and it's easy to just bash away at 'command-a' until you have the whole document selected.
(Apologies for the poor spelling in the title, I accidentally pressed 'enter' before I was done and cannot figure out how to edit the title).
Comments and changes to this ticket
-
Erik Johansson January 5th, 2011 @ 04:13 PM
- Assigned user set to rsms
Shouldn't cmd + a just select the whole document? Feels like that is the standard behavior.
-
rsms January 6th, 2011 @ 05:51 PM
- Tag set to feature, text, ux
This is a nice idea.
Mathematica has a neat related feature where the selection is increased for each key press (defaults to
C-.
) with respect to the documents syntax.However, we will not change the default behavior of Cmd+A since that is a truly standardized way of selecting all which is a feature used very frequently by many people.
In the case of a document without any underlying syntactical information, we could resort to doing as suggested and treat text in as a simple structure. For example:
Document | +-- Paragraph | +-- Line | +-- Word | +-- Character
There's an ongoing project to implement "semantic information". Work in progress is documented in this article: https://github.com/rsms/kod/wiki/Text-parser-2
-
rsms January 6th, 2011 @ 05:51 PM
- State changed from new to open
-
surin May 28th, 2022 @ 07:30 AM
pg เกมสล็อต สนุกเหมือนกับ line tv, slots games of pg slot camps, there are hundreds of games on our website at pg-slot.game and guarantee that all games are fun Line TV during this period and if you want to change, we recommend our website
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.