Method: ATSPI::Accessible::Text::Editable#copy
- Defined in:
- lib/atspi/accessible/text/editable.rb
#copy(from: 0, to: length) ⇒ true, false
Copies its content in the given range into the clipboard. Will succeed only if it’s editable.
59 60 61 |
# File 'lib/atspi/accessible/text/editable.rb', line 59 def copy(from: 0, to: length) editable? and @native.copy_text(from.to_i, to.to_i) end |