Summary: | Cannot use autoreplace from "=)" without using regexp option | ||
---|---|---|---|
Product: | [Applications] konversation | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | general | Assignee: | Konversation Developers <konversation-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hein |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
workaround to allow special chars in non-regexp replace
workaround to allow special chars in non-regexp replace changes autoreplace config format and fixes non-regex autoreplace new config format/non-regex autoreplace bugfix for last patch |
Description
Daniel Hahler
2007-12-10 03:26:46 UTC
Created attachment 32658 [details]
workaround to allow special chars in non-regexp replace
This patch is just an ugly workaround for QRegExp being weird, it fixes the bug though.
Created attachment 32662 [details]
workaround to allow special chars in non-regexp replace
Cleaner looking patch and supports all word boundrys (i think? o.O)
Also, it's more efficient than the old method even though it's more lines of code.
Created attachment 32671 [details] changes autoreplace config format and fixes non-regex autoreplace this patch does the prior stuff and it changes the config format so commas don't mess up the reading of values. This also applys to bug https://bugs.kde.org/show_bug.cgi?id=139447 Created attachment 32694 [details]
new config format/non-regex autoreplace
All the goodies of the previous with less bugs, more efficiency and better style.
Created attachment 32736 [details]
bugfix for last patch
Fixes a small bug where the old code would fill the list backwards, and my new code would fill the list frontwards, so the autoreplaces would always reverse order when you saved it and reopened.
Patch committed in SVN revision 955466. Thanks! SVN commit 955467 by hein: Add a button to intelligently remove linebreaks from multi-line pastes to the multi-line paste editor. BUG:153761 M +37 -1 multilineedit.cpp M +1 -0 multilineedit.h WebSVN link: http://websvn.kde.org/?view=rev&revision=955467 That was the wrong 'BUG:number' there, sorry :). The commit belongs to bug 115668. Thanks for clearing the loop in my brain.. ;) Please re-open this bug then. Oh, I can do this myself. There's no need to reopen this bug. The bug is fixed as of SVN revision 955466 as written above in comment #6, I just mistakenly CC'd it with a commit (r955467) that is related to a different bug (via the 'BUG:' keyword in the commit message) afterwards. |