texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Patches: copy/paste and selection handling.


From: Norbert Nemec
Subject: Re: [Texmacs-dev] Patches: copy/paste and selection handling.
Date: Sat, 07 Feb 2009 22:36:46 +0000
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

In fact, this was exactly the point that started me off in changing the selection handling as well. The core idea behind my changes is that the selection should *always* be at the position of the cursor. In the patched version, there is no way to move the cursor without either unselecting or changing the size of the selection. Also, when you select using the mouse, the cursor is always placed at the last position where the mouse is released.

B.t.w.: It still is possible to scroll away using the mouse so that both cursor and selection are off screen. This is standard behavior and is fairly safe as you typically would not press delete without seeing the cursor anyway.


Daniel Bump wrote:
On this thread, the single thing that seems to me to be most important to change is that highlighted
text is persistent. You can select (red highlight)
some text and scroll away until the marked
text is not even on the screen. Then if you hit
backspace, it is deleted off-stage. So it is
possible to accidentally delete something.
Selection can also happen unintentially just
moving the mouse around, especially with a
trackpad that sometimes can generate spurious
mouseclicks. This would be less annoying if
it were easier to unselect, but in fact my
usual way of removing an undesirable selection
is to hit the space bar (then delete the space).
And since selected text can be accidentally
deleted, it is important to do this.

The second patch makes selections generally non-persistent (i.e. text is unselected as soon as cursor is moved). This is the standard set by Windows and adopted by freedesktop.org (i.e. KDE, Gnome, etc.). If anybody has a good reason for supporting persistent selections, please bring it forward.

I haven't tried the patches but if I understand
correctly this would address the above-mentioned
problem, which I think is serious.

Daniel Bump



_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev






reply via email to

[Prev in Thread] Current Thread [Next in Thread]