Ticket #18 (new enhancement) — at Version 8

Opened 15 years ago

Last modified 10 years ago

savannah: extend instead of removing selection

Reported by: ossi Owned by:
Priority: minor Milestone: Future Releases
Component: mcedit Version: master
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by ossi) (diff)

Original: http://savannah.gnu.org/bugs/?13711

Submitted by:Oswald Buddenhagen <ossi>Submitted on:Sun 10 Jul 2005 12:08:41 PM UTC
Category:EditorSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:All

Original submission:

starting a selection after having moved clears the previous 
selection. i think the previous selection should be extended if the 
cursor is exactly at the beginning/end of the old selection.
of course this is arguable. maybe a (hidden) option should be 
added. 

Change History

comment:1 Changed 15 years ago by styx

  • Milestone set to 4.7

comment:2 follow-up: ↓ 3 Changed 15 years ago by angel_il

  • Milestone changed from 4.7 to future releases

are you reeealy want this feature? IMHO it's not intuitive, i don't know no one editor with such selection.

comment:3 in reply to: ↑ 2 Changed 14 years ago by ossi

  • Cc ossi@… added
  • severity set to no branch

Replying to angel_il:

are you reeealy want this feature?

no, not reeeeeally. but it would be useful. ;)

IMHO it's not intuitive,

why?

i don't know no one editor with such selection.

that's because you probably know no other editor which would do persistent selections by default, or even at all. :)
kate does it that way (enable persistent selections: settings -> configure kate -> editor component -> editing -> cursor & selection -> text selection mode).

comment:4 Changed 14 years ago by zaytsev

  • Cc zaytsev added
  • Version set to master

1) FAR resets the selection if persistent blocks are on.

2) This feature is interesting in a sense that it's again workflow dependent, e.g. those who extend more than reset will benefit and those who reset more will lose.

Probably it's fine to have it if its optional and off by default.

comment:5 Changed 14 years ago by ossi

what would be the workflow which requires starting a new selection exactly where the previous one ends?

the one for extending is simple: you find that one end of the selection is wrong, so you adjust it - without re-doing it entirely from scratch. reasons are typically some kind of mistake, like hitting shift at the wrong time during fast navigation, doing an edit which was (not) meant to extend the selections but did (not), etc.

comment:6 Changed 14 years ago by zaytsev

Do you want it only be restartable only from the end of the existing selection or at any point inside the selection? I might have misinterpreted your original request.

In any case, they way I usually reset the selection, when I am in the middle of the line is to have the cursor positioned at the end (by pressing End / C-End) and then press F3 twice. This will definitively break it. Is there a better way of resetting the selection ATM?

comment:7 Changed 14 years ago by ossi

i thought the initial submission was pretty clear on that. ;)

about resetting, yes, that's always a bit of a hassle. this feature would indeed require you to take care that you aren't right where you shouldn't be.
maybe one could make a "reset hack": pressing f3 twice in quick succession would always reset instead of entering selection mode.

comment:8 Changed 10 years ago by ossi

  • Cc ossi@… removed
  • Description modified (diff)
  • Branch state set to no branch
  • Reporter changed from slavazanko to ossi
Note: See TracTickets for help on using tickets.