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

@ -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)