trichview.support
Undoing a paragraph change .. |
Author |
Message |
Vladimir Ota |
Posted: 04/26/2002 12:30:35 I have encoutered a difficulty which is NOT caused by TRichView per se, but I decided to ask anyway - with your expertise, you might have a quick idea how to go about solving it. In my intended application the paragraph carries both the ParaStyle & TextStyle properties (as defined in TRichView). So if it happens that the app's user change paragraph style by error it takes two steps to return to the state before the error is introduced. This is somewhat awkward - but the real problem is that the paragraph's ParaStyle & TextStyle are mismatched after the first undo. Situation gets worse in case of multiple undos, because some kind of tracking vhen a single and when a double undo is needed, and I don't have the slightest idea how to go about it .. I realize this is not really an support question, but maybe, you have an idea which can help me ? Regards, Vladimir |
Powered by ABC Amber Outlook Express Converter