Re: [orca-list] IBus and Orca
- From: "B. Henry" <burt1iband gmail com>
- To: "Nalin.x.Linux" <nalin x linux gmail com>, orca-list gnome org
- Subject: Re: [orca-list] IBus and Orca
- Date: Wed, 26 Nov 2014 12:24:42 -0600
Congratulations on the project.
I don't have any braille devices, so for the moment typing braille style would not benefit me, but this
sounds very useful.
Regards,
--
B.H.
On Wed, Nov 26, 2014 at 06:15:43PM +0530, Nalin.x.Linux wrote:
Dear list,
We have developed a input system name IBus-Sharada-Braille which
use six key combination of braille. Everything is fine except that
orca is not announcing the insertion and deletion of string having
length greater than one. I found that it can be enabled by editing
onTextInsert,onTextDeletion functions in orca/script/default.py. my
sample patch is attached at the end of this mail. This will also
announce the cutting and pasting of text so i think we have to limit
it with certain length. please let me know if there any other
obligation.
Read more about IBus-Sharada-Braille
: [1]http://ibus-sharada-braille.blogspot.in/
expecting your response Nalin.x.Linux
diff --git a/scripts/default.py b/scripts/default.py
index e0b17d3..daab534 100644
--- a/scripts/default.py
+++ b/scripts/default.py
@@ -2553,6 +2553,8 @@ class Script(script.Script):
# experiences.]]]
self.updateBraille(event.source)
+ msg = event.any_data + " Deleted";
+ self.speakMessage(msg)
# The any_data member of the event object has the deleted text
in
# it - If the last key pressed was a backspace or delete key,
@@ -2629,6 +2631,11 @@ class Script(script.Script):
self.updateBraille(event.source)
+ if(len(event.any_data) > 1):
+ msg = event.any_data;
+ self.speakMessage(msg)
+
+
# If the last input event was a keyboard event, check to see
if
# the text for this event matches what the user typed. If it
does,
# then don't speak it.
expecting your response Nalin.x.Linux
--
Free Software Free Society
References
1. http://ibus-sharada-braille.blogspot.in/
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]