[orca-list] IBus and Orca
- From: "Nalin.x.Linux" <nalin x linux gmail com>
- To: orca-list gnome org
- Subject: [orca-list] IBus and Orca
- Date: Wed, 26 Nov 2014 18:15:43 +0530
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 editingonTextInsert,onTextDeletion functions in orca/script/default.py. mysample patch is attached at the end of this mail. This will alsoannounce the cutting and pasting of text so i think we have to limitit with certain length. please let me know if there any otherobligation.
Read more about IBus-Sharada-Braille : http://ibus-sharada-braille.blogspot.in/
expecting your response Nalin.x.Linux
diff --git a/scripts/default.py b/scripts/default.pyindex 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]