[pyatspi2] Fix CHAR and LINE_END text boundary types
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix CHAR and LINE_END text boundary types
- Date: Thu, 2 Dec 2010 09:21:00 +0000 (UTC)
commit 0e20faac058d7d36167333800b230aa41eec1800
Author: Mike Gorse <mgorse novell com>
Date: Thu Dec 2 04:23:08 2010 -0500
Fix CHAR and LINE_END text boundary types
pyatspi/Accessibility.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index 9ee4683..43663d6 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -267,13 +267,13 @@ Atspi.Text.setSelection = Atspi.Text.set_selection
Atspi.Text.caretOffset = property(fget=Atspi.Text.get_caret_offset, fset=Atspi.Text.set_caret_offset)
Atspi.Text.characterCount = property(fget=Atspi.Text.get_character_count)
-TEXT_BOUNDARY_CHAR = Atspi.TextBoundaryType.WORD_START
+TEXT_BOUNDARY_CHAR = Atspi.TextBoundaryType.CHAR
TEXT_BOUNDARY_WORD_START = Atspi.TextBoundaryType.WORD_START
TEXT_BOUNDARY_WORD_END = Atspi.TextBoundaryType.WORD_END
TEXT_BOUNDARY_SENTENCE_START = Atspi.TextBoundaryType.SENTENCE_START
TEXT_BOUNDARY_SENTENCE_END = Atspi.TextBoundaryType.SENTENCE_END
TEXT_BOUNDARY_LINE_START = Atspi.TextBoundaryType.LINE_START
-TEXT_BOUNDARY_LINE_END = Atspi.TextBoundaryType.SENTENCE_END
+TEXT_BOUNDARY_LINE_END = Atspi.TextBoundaryType.LINE_END
TEXT_CLIP_NONE = Atspi.TextClipType.NONE
TEXT_CLIP_MIN = Atspi.TextClipType.MIN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]