From 58d209cde9cab9e5c8236b6722921b239667f779 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 23 Dec 2016 00:18:17 +0100 Subject: [PATCH] some more tweaks --- config/settings/settings.conf | 2 +- src/fenrir/commands/onInput/62000-spell_check.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings/settings.conf b/config/settings/settings.conf index 94d86658..019fff66 100644 --- a/config/settings/settings.conf +++ b/config/settings/settings.conf @@ -90,7 +90,7 @@ charEcho=False # echo deleted chars charDeleteEcho=True # echo word after pressing space -wordEcho=True +wordEcho=False # interrupt speech on any keypress interruptOnKeyPress=False # you can filter the keys on that the speech should interrupt (empty = all keys, otherwhise the given keys) diff --git a/src/fenrir/commands/onInput/62000-spell_check.py b/src/fenrir/commands/onInput/62000-spell_check.py index b333ef91..f2e0ea9f 100644 --- a/src/fenrir/commands/onInput/62000-spell_check.py +++ b/src/fenrir/commands/onInput/62000-spell_check.py @@ -65,7 +65,7 @@ class command(): newContent = self.env['screenData']['newContentText'].split('\n')[self.env['screenData']['newCursor']['y']] x, y, currWord, endOfScreen, lineBreak = word_utils.getCurrentWord(self.env['screenData']['newCursor']['x'], 0, newContent) # was this a typed word? - if self.env['screenData']['newDelta'] != '': + if self.env['runtime']['screenManager'].isDelta(): if not(newContent[self.env['screenData']['oldCursor']['x']] in string.whitespace + '!"#$%&()*+,-./:;<=>?@[\\]^_{|}~' and x != self.env['screenData']['oldCursor']['x']): return else: