Bug 77753 - JJ: Find in composer doesn't allow to search regular expressions
Summary: JJ: Find in composer doesn't allow to search regular expressions
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: composer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 12:18 UTC by Stephan Binner
Modified: 2009-03-20 00:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Binner 2004-03-16 12:18:57 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

The find functionality in the KMail composer doesn't support regular expression search/regexpeditor while the message viewer does. That's inconsistent. :-)
Comment 1 Falco Hirschenberger 2004-06-19 14:12:59 UTC
I investigated this inconsistency and found out that the search functionality in the KMComposeWin comes from a KMEdit widget, which is derived from KEdit.

What can we do now?
	* Implement the search dialog myself. Overriding KEdit's.
	* Extend KEdit's search dialog to support RegEx searches.
	* Use another editor component (will probably break much code).

Does anybody have another idea?
Comment 2 David Faure 2004-06-19 23:15:08 UTC
My personal preference would be to write an extended KEdit in kdelibs/kutils, and base
the find/replace functionality on KFind/KReplace there. They provide most of the functionality
needed for find and replace, including support for regexps.
This would of course be for the next release *after* KDE-3.3.

On the other hand, I suppose other developers would prefer a way to just use
any text-editor component (like katepart) in the composer? IIRC this was planned,
I'm not sure what's the status on that.

Comment 3 Falco Hirschenberger 2004-06-22 11:28:08 UTC
Then I think this is a bit too heavy to classify it as JJ ;-)
Comment 4 Thomas McGuire 2007-07-11 20:28:48 UTC
See also bug 65253.
Comment 5 Thomas McGuire 2009-03-20 00:27:57 UTC
Fixed in KDE 4.