Android Text Selection Terminology

走远了吗. 提交于 2019-12-01 11:36:24

We just call them cursor controllers, or handles.

Lokesh

to be precise ..

In android terminology it is "SelectionModifierCursorController"

CJBS

It would appear based on the name of the images used to display these handles that they're called Text Select Handles, of which there's a

  • Left Text Select Handle;
  • Right Text Select Handle; and a
  • Middle Text Select Handle (which is just the Left and Right images side-by-side)

The underlying code that manages these is in the three classes that derive from HandleView in android.widget.Editor:

  • InsertionHandleView
  • SelectionStartHandleView
  • SelectionEndHandleView

This is a shot in the dark--but maybe they're called carets in Webkit?

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