本文介绍了RichTextBox:切换HideSelection或WordWrap清除撤消吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用WinXP和Visual Studio 2008 ...
当我更改RichTextBox
中的HideSelection
或WordWrap
属性时,撤消缓冲区被清除(CanUndo
变为False
).我不确定这是正常现象还是我自己系统中的错误,因为当我打开或关闭WordWrap时,MS Notepad和Fookes NoteTab也会表现出这种现象.
要么我一直都没有注意,要么XP已经开发了一个bug.
Using WinXP and Visual Studio 2008...
When I change the HideSelection
or WordWrap
properties in a RichTextBox
, the Undo buffer is cleared (CanUndo
becomes False
). I was unsure if this was normal behavior or a bug in my own system, since MS Notepad and Fookes NoteTab also exhibit this behavior when I toggle WordWrap on or off.
Either I''ve not been paying attention all this time, or XP has developed a bug.
推荐答案
这篇关于RichTextBox:切换HideSelection或WordWrap清除撤消吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!