In fact there is problem either with cursor position after last char of each paragraph. Changes related to char style seems be applied for PARSEP special char and on undo/redo strange things happen. I dont think making undo checking for such exceptions will be solving this problem in good manner. cezaryece