Krishna Murthy Krishna.Murthy@guptaworldwide.com writes:
- Change log Entry:
EDIT_MakeFit should return TRUE when the honor_limit is set and paste buffer exceeds the limit. Also EDIT_EM_ReplaceSel should compute size which could fit in the edit control by truncating the extra characters to behave similar to MS Windows paste operation.
You are bypassing the reallocation of the buffer when the limit is exceeded, but still adding the data to the buffer. I don't think this will work right.