fix read screen after current cursor

This commit is contained in:
chrys 2016-10-02 14:22:20 +02:00
parent 41fe26d7a3
commit c56bde1c61
2 changed files with 9 additions and 8 deletions

View File

@ -60,7 +60,7 @@ voice=
language=english-us
# Read new text as it happens?
autoReadIncomming=True
autoReadIncoming=True
[braille]
#braille is not implemented yet
@ -72,7 +72,7 @@ driver=linux
encoding=cp850
screenUpdateDelay=0.4
suspendingScreen=
autodetectSuspendingScreen=False
autodetectSuspendingScreen=True
[keyboard]
driver=evdev
@ -82,24 +82,24 @@ device=AUTO
grabDevices=True
ignoreShortcuts=False
# the current shortcut layout located in /etc/fenrir/keyboard
keyboardLayout=test
keyboardLayout=desktop
# echo chars while typing.
charEcho=True
charEcho=False
# echo deleted chars
charDeleteEcho=True
# echo word after pressing space
wordEcho=True
wordEcho=False
# interrupt speech on any keypress
interruptOnKeyPress=False
# timeout for double tap in sec
doubleTapDelay=0.2
[general]
debugLevel=2
debugLevel=3
punctuationLevel=Some
numberOfClipboards=10
# define the current fenrir key
fenrirKeys=KEY_KP0
fenrirKeys=KEY_KP0,KEY_META
timeFormat=%H:%M:%P
dateFormat=%A, %B %d, %Y
autoSpellCheck=True

View File

@ -56,4 +56,5 @@ def getTextAfterMark(mark, inText):
return ''
if mark == None:
return ''
return getTextBetweenMarks(mark, {'x':len(inText[0]),'y':len(inText)}, inText)
inText = inText.split('\n')
return getTextBetweenMarks(mark, {'x':len(inText[0])-1,'y':len(inText)-1}, inText)