| 128 | } |
| 129 | |
| 130 | void RichTextUserInput::input_finger_touch_down(const Vector2f& pos) { |
| 131 | RichText::TextBox::Cursor oldCursor = *cursor; |
| 132 | cursor->pos = cursor->selectionBeginPos = cursor->selectionEndPos = textBox->get_text_pos_closest_to_point(pos); |
| 133 | if(oldCursor != *cursor) |
| 134 | android_force_update_cursor(); |
| 135 | } |
| 136 | |
| 137 | void RichTextUserInput::input_finger_held_motion(const Vector2f& pos) { |
| 138 | RichText::TextBox::Cursor oldCursor = *cursor; |
no test coverage detected