In messages show the actual text user entered in Find and Replace dialogs
commit6f9d845181361f9efe765f8f9bc93ba9dbf5bfcd
authorColomban Wendling <ban@herbesfolles.org>
Fri, 3 Jun 2011 13:40:42 +0000 (3 13:40 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Fri, 3 Jun 2011 13:40:42 +0000 (3 13:40 +0000)
tree7ccb92bdeb0bfd1422a7cda5aa18dc1f9fbed31e
parent1e76b590c451a36a681215e00fa51783d63066af
In messages show the actual text user entered in Find and Replace dialogs

Previously we could put into a message a string where escape sequences
were already translated.

In the code, now we pass the original text together with the one
that is actually searched for.  New `original_text' field was added to
GeanySearchData.  A bug was fixed in document.c:show_replace_summary(): it
did not escape the "No matches found for ..." string.

Patch by Eugene Arshinov, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5832 ea778897-0a13-0410-b9d1-a72fbfd435f5
ChangeLog
src/callbacks.c
src/document.c
src/document.h
src/editor.c
src/search.c
src/search.h