﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3723	Odd problem with _GUICtrlRichEdit_ReplaceText	qwert	BrewManNH	"After months of observing an odd problem when clearing the text in a RichEdit control, I isolated the statements involved:
_GUICtrlRichEdit_SetSel($hEdit, 0, -1, True) 
_GUICtrlRichEdit_ReplaceText($hEdit, """")

The odd part is that every now and then (a third of the time?) the text of the button I use to invoke those statements replaces the contents of the windows clipboard. In other words, if ""Clear Text"" is the text on the GUI button, then ""Clear Text"" shows up on the windows clipboard. Strange.

I replaced those statements in the particular script I am working on with: _GUICtrlRichEdit_SetText($hEdit, """") ... which works.

I realize this is an obscure problem, but the next time someone works on the _GUICtrlRichEdit features, they might want to look at it. For now, I'm fine."	Bug	closed		Standard UDFs	3.3.14.5	None	Rejected	RichEdit ReplaceText	
