Bug 434123

Summary: Recall replacements corresponding to patterns
Product: [Applications] kate Reporter: Christopher Yeleighton <giecrilj>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: help:/katepart/kate-part-find-replace.html#replacing-text
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christopher Yeleighton 2021-03-07 21:27:48 UTC
SUMMARY
Kate remembers patterns and replacements but recalling them is cumbersome because you have to match the pattern with the replacement.

STEPS TO REPRODUCE
1. Tell Kate to replace A with C!
2. Tell Kate to replace B with D!
3. Choose remembered pattern A from the pattern history!

OBSERVED RESULT
The replacement is D.

EXPECTED RESULT
Let the replacement be C!

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.11.2-1-default
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Let the match mode be recalled too!