新的黑莓文本选择模式
在最新版本的 OS6 中,文本选择发生了变化。我正在使用 ActiveRichTextField 在 6.0 之前的 BlackBerry OS 以及 6.0 的旧版本(例如 6.0.0.246)中,焦点将在每个字符之间移动,并带有显示当前位置的反向块。上下文菜单有“选择”选项,并使用当前焦点位置作为选择开始,任何焦点移动都会标记选择的另一端。
在 6.0.0.526 中,焦点不再在所选字符上绘制反向块,并且文本字段上的左右移动不起作用。此外,上下文菜单已更改为“选择文本”。选择此菜单项后,其行为类似于旧操作系统的行为 - 聚焦的角色会获得反向块并且左右移动有效。要开始选择,上下文菜单现在提供“开始选择”,此时一切似乎都按预期运行。
看来现在需要一个额外的步骤来进行任何文本操作。有没有办法使“选择文本”成为我的文本字段的默认模式,以匹配旧的行为?
In recent versions of OS6, text selection has changed. I am using an ActiveRichTextField and in BlackBerry OS pre-6.0 as well as older versions of 6.0, such as 6.0.0.246, the focus would move though each character with the inverse block showing current position. The context menu has "Select" as an option, and uses the current focus position as the selection start, and any focus movement would mark the other end of the selection.
With 6.0.0.526, the focus no longer draws an inverse block on the selected character, and left-right movement on the text field does not work. Also, the context menu has changed to say "Select Text". Once this menu item is selected, the behavior is similar to the older OS behavior - the focused character gets an inverse block and left-right movement works. To start selecting, the context menu now offers "Start Selection" and everything seems to behave as expected at that point.
It seems there is now an extra step to do any text manipulation. Is there a way to make "Select Text" the default mode for my text field, to match the older behavior?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论