Bug 94027 - "Overwrite selections" option described in the docs, but missing
Summary: "Overwrite selections" option described in the docs, but missing
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-27 14:45 UTC by Elmar Krieger
Modified: 2005-03-24 12:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Krieger 2004-11-27 14:45:35 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    RedHat RPMs
OS:                Linux

The fact that selections get overwritten if you press a key becomes very deadly as soon as two views of the same document are open. (You search in the first view, Alt+Tab to the second view, type something and lose a bit of source code without noting. After a week, my code was a mess ;-(.

Activating the option "Persistent selections" is only a workaround. The kwrite manual explicitly mentions this option:

-------------------------------
Overwrite Selections

Any keyed character input or paste operation will replace the selected text. 
-------------------------------

Deactivating this option would solve the problem, but the option does not seem to exist in Kwrite/Kate! Would be great if it could be (re)implemented..

Thanks a lot,
Elmar
Comment 1 Anders Lund 2004-11-27 15:22:55 UTC
IMO, the real problem is that the selection is a child of the document rather than the view. This is a misdesign, and allways were.
Comment 2 Christoph Cullmann 2004-11-27 15:49:53 UTC
On Saturday 27 November 2004 15:22, Anders Lund wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=94027
>
>
>
>
> ------- Additional Comments From anders alweb dk  2004-11-27 15:22 -------
> IMO, the real problem is that the selection is a child of the document
> rather than the view. This is a misdesign, and allways were.
very true, this should be handled on per view stage, for kde 4.0 the selection 
interface therefor should move over to the view (same for block selection 
interface)

cu
Christoph

Comment 3 Hamish Rodda 2004-11-28 06:48:58 UTC
On Sun, 28 Nov 2004 01:49 am, Christoph Cullmann wrote:
> very true, this should be handled on per view stage, for kde 4.0 the
> selection interface therefor should move over to the view (same for block
> selection interface)

I have code for this in one of the branches... I'm hoping for some time to 
merge a few of the features soonish (having troubles with my build 
environment at the moment)

Cheers,
Hamish.
Comment 4 Christoph Cullmann 2005-03-24 12:08:25 UTC
selection is now per view
will be in KDE 3.5, solves this issues