[java-atk-wrapper] Text: disable using AccessibleExtendedText functions
- From: Samuel Thibault <sthibaul src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Text: disable using AccessibleExtendedText functions
- Date: Sun, 28 Jul 2019 11:03:30 +0000 (UTC)
commit 32a19fcaa98b5f0286c439ad1403d55db4e1773d
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Sun Jul 28 13:03:11 2019 +0200
Text: disable using AccessibleExtendedText functions
They do not actually properly respect start/end boundaries
wrapper/org/GNOME/Accessibility/AtkText.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/wrapper/org/GNOME/Accessibility/AtkText.java b/wrapper/org/GNOME/Accessibility/AtkText.java
index 784d3be..82c07c2 100644
--- a/wrapper/org/GNOME/Accessibility/AtkText.java
+++ b/wrapper/org/GNOME/Accessibility/AtkText.java
@@ -112,7 +112,8 @@ public class AtkText {
return null;
return AtkUtil.invokeInSwing ( () -> {
- if (acc_text instanceof AccessibleExtendedText) {
+ if (false && acc_text instanceof AccessibleExtendedText) {
+ // FIXME: this is not using start/end boundaries
AccessibleExtendedText acc_ext_text = (AccessibleExtendedText)acc_text;
int part = getPartTypeFromBoundary(boundary_type);
if (part == -1)
@@ -133,7 +134,8 @@ public class AtkText {
return null;
return AtkUtil.invokeInSwing ( () -> {
- if (acc_text instanceof AccessibleExtendedText) {
+ if (false && acc_text instanceof AccessibleExtendedText) {
+ // FIXME: this is not using start/end boundaries
AccessibleExtendedText acc_ext_text = (AccessibleExtendedText)acc_text;
int part = getPartTypeFromBoundary(boundary_type);
if (part == -1)
@@ -157,7 +159,8 @@ public class AtkText {
return null;
return AtkUtil.invokeInSwing ( () -> {
- if (acc_text instanceof AccessibleExtendedText) {
+ if (false && acc_text instanceof AccessibleExtendedText) {
+ // FIXME: this is not using start/end boundaries
AccessibleExtendedText acc_ext_text = (AccessibleExtendedText)acc_text;
int part = getPartTypeFromBoundary(boundary_type);
if (part == -1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]