11-15-2013, 02:56 PM
The first version either does single replacement without highlight, or multiple highlight. If it's the purpose of the combo function, it is probably correct.
Version 2... difficult to understand. It seems also single replacement. Shouldn't be multiple? Then, when you have a, call EditControlSelectReplace for each a[0 i], then set a[0 i]=calculate_new_range, then highlight. But maybe calculating new range is difficult. Maybe then just call RichEditHighlight for the replacement string.
Version 2... difficult to understand. It seems also single replacement. Shouldn't be multiple? Then, when you have a, call EditControlSelectReplace for each a[0 i], then set a[0 i]=calculate_new_range, then highlight. But maybe calculating new range is difficult. Maybe then just call RichEditHighlight for the replacement string.
