New BlackBerry text selection mode

允我心安 提交于 2019-12-07 18:21:49

问题


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?

来源:https://stackoverflow.com/questions/5784775/new-blackberry-text-selection-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!