RAD Studio 2009 持久选择问题:错误还是功能?

发布于 2024-09-07 13:21:39 字数 173 浏览 1 评论 0原文

有时,在 RAD Studio 2009 (Delphi) 中编码时,代码编辑器的行为会突然发生变化。发生此类事件后,字符输入时不再清除选择。这种情况通常发生在一段非常密集的编码之后(每秒很多字符!),所以我可能会意外地按下键盘(快捷键)组合。

是这样吗?如何“解决”这个问题? (我希望在输入字符后删除我的选择!)

Sometimes, when coding in RAD Studio 2009 (Delphi), suddently the behaviour of the code editor changes. After such an event, a selection is no longer cleared on character input. This often happens after a session of very intense coding (many characters per second!), so I might accidently hit a keyboard (shortcut) combination.

Is this the case? How to "fix" the issue? (I want my selections to be ereased upon character input!)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

梦屿孤独相伴 2024-09-14 13:21:39

这是一个错误,您不必退出并重新启动即可修复它。只需按“插入”两次(这会在“插入”和“覆盖”之间更改文本输入模式,然后再返回),您的文本选择将恢复正常工作。众所周知,这很难确定,但从我自己的经验来看,这似乎与混合 SyncEdit 和 Undo 有关。如果有人能够找到任何方法来一致地重现此内容,请将其发送给 QC。

This is a bug, and you don't have to quit and restart to fix it. Just hit Insert twice (which changes the text entry mode between Insert and Overwrite and then back) and your text selection will be back to working normally. It's notoriously difficult to pin down, though from my own experience it seems to have something to do with mixing SyncEdit and Undo. If anyone's able to find any way to reproduce this consistently, please send it to QC.

云之铃。 2024-09-14 13:21:39

发生这种情况时,您应该能够打开然后再次关闭“持久块”选项。转到“工具|选项|编辑器选项”。打开“持久块”,然后在对话框中单击“确定”。然后返回并撤消该操作,编辑器应该自行重置。

顺便说一句,这绝对是一个错误。如果您能够可靠地重现它,则提交到 QualityCentral 的测试用例将是最有用的。

When this happens, you should be able to toggle the "Persistent blocks" option on and then off again. Go to "Tools | Options | Editor Options". Turn on "Persistent blocks", and click OK in the dialog. Then go back and undo that operation, and the editor should reset itself.

BTW, this is definitely a bug. If you are able to reliably reproduce it, a test case submitted to QualityCentral would be most useful.

丢了幸福的猪 2024-09-14 13:21:39

退出并重新启动 IDE 可能是您唯一的解决方案。

Quit and restart the IDE is probably your only solution.

宣告ˉ结束 2024-09-14 13:21:39

我也发现一些 IDE/编辑器不稳定。这可能是一个错误。重新启动 IDE 即可解决该问题。

我2010年还没找到。

I have found some IDE/Editor instabilities too. It's probably a bug. Restarting the IDE solves the issue.

And I haven't found it in 2010 yet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文