Fix crash when calling SCI_REPLACETARGETRE without having done a search first.
Fix crash when calling SCI_REPLACETARGETRE without having done a search first.

rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror,rhaberkorn/scintilla-mirror