[plt-scheme] Usability: delete whole line in DrScheme
I've been asked for this one for years and ... well, its finally time to do it.
Anyways, I've added something in to SVN to make control-a and the home
key respect the prompt in the interactions window.
It isn't quite right, tho, since the level I added it doesn't have
access to the proper selection extension information, but it should
work well for what you describe below.
Robby
On Mon, Oct 20, 2008 at 2:29 AM, Marek Kubica <marek at xivilization.net> wrote:
> Hi,
>
> I hope it's okay when I post some more usability things to the list. My
> last suggestion was implemented very fast and it has improved the
> usability for me quite a lot.
>
> In this mail I'll talk about deleting the whole line in the DrScheme
> interactions window/REPL. The problem occurs, when trying to delete a
> lne from an arbitary position to the beginning of the line. Most of the
> time I use Shift-Home to select from the current position to the
> beginning of the line and delete using backspace. As it turns out, this
> doesn't work in DrScheme, because there is the > prompt which gets
> selected but cannot be deleted. So you have to unselect it and the
> following space to delete the line.
>
> My proposal would be either to make it deletable if at least one
> character of the selection is code (if nothing is selected, it should
> stay as is and if someone selects the prompt and the space, it
> shouldn't be deletable either) and then immediatele re-insert it (or
> never delete it really) or make Home go only to the position after the
> space, so the prompt won't get selected.
>
> regards,
> Marek
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>