From 2bc687427db2b41f3d5f7d93e0621b0406469b0b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 20 May 2001 13:57:37 +0000 Subject: Removed uncounted version of ReplaceTarget to allow replace strings to contain nulls. --- src/Editor.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index cf490c603..d10a8cee0 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3676,14 +3676,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return targetEnd; case SCI_REPLACETARGET: - PLATFORM_ASSERT(lParam); - return ReplaceTarget(wParam, reinterpret_cast(lParam)); - - case SCI_REPLACETARGETCOUNTED: PLATFORM_ASSERT(lParam); return ReplaceTarget(false, reinterpret_cast(lParam), wParam); - case SCI_REPLACETARGETRECOUNTED: + case SCI_REPLACETARGETRE: PLATFORM_ASSERT(lParam); return ReplaceTarget(true, reinterpret_cast(lParam), wParam); -- cgit v1.2.3