[orca/570658] Move _generateCurrentLine text to generator.py for speech/braille sharing



commit ad036e8ac8fa93893bb3b2ddf199120c247b08cf
Author: Willie Walker <william walker sun com>
Date:   Tue Jun 30 13:51:23 2009 -0400

    Move _generateCurrentLine text to generator.py for speech/braille sharing

 src/orca/speech_generator.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index 4b347d8..3ff75f2 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -828,15 +828,6 @@ class SpeechGenerator(generator.Generator):
 
         return [newLine]
 
-    def _generateCurrentLineText(self, obj, **args ):
-        """Returns an array of strings (and possibly voice and audio
-        specifications) that represents the current line of text, if
-        this is a text object.  [[[WDW - consider returning an empty
-        array if this is not a text object.]]]
-        """
-        [text, caretOffset, startOffset] = self._script.getTextLineAtCaret(obj)
-        return [text]
-
     def _generateAnyTextSelection(self, obj, **args):
         """Returns an array of strings (and possibly voice and audio
         specifications) that says if any of the text for the entire



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]