Skip to content

Fix arguments in Text.addSelection()

Joanmarie Diggs requested to merge joanmarie/pyatspi2:master into master

Atspi.Text.add_selection() takes three arguments: the accessible object, the start offset, and the end offset. Pyatspi's addSelection() was taking only the object and a single index and passing that along to add_selection(), resulting in a TypeError.

Merge request reports