Merge branch 'master' into bleed
This commit is contained in:
commit
f1557d3765
@ -20,6 +20,7 @@ Cleanups:
|
|||||||
[] settingsData -> defaultSettings.py
|
[] settingsData -> defaultSettings.py
|
||||||
|
|
||||||
General:
|
General:
|
||||||
|
- make fenrir runable without settingsfile. fallback to defaults
|
||||||
- imporove attribute handling
|
- imporove attribute handling
|
||||||
[] improve attributes_curr_char (Easy for contribution)
|
[] improve attributes_curr_char (Easy for contribution)
|
||||||
[] add an attribute sound (Easy for contribution)
|
[] add an attribute sound (Easy for contribution)
|
||||||
@ -34,8 +35,6 @@ General:
|
|||||||
[] command to stop and place review cursor at this position
|
[] command to stop and place review cursor at this position
|
||||||
[] command to slow down speech on keypress
|
[] command to slow down speech on keypress
|
||||||
[] place say all at clipboard buffer
|
[] place say all at clipboard buffer
|
||||||
- make it runnable via pypy3
|
|
||||||
[] wrapper script for running Fenrir to check if pypy exists, use python3 as fallback.
|
|
||||||
- table review mode
|
- table review mode
|
||||||
[] toggle table mode/ select headline
|
[] toggle table mode/ select headline
|
||||||
[] next line
|
[] next line
|
||||||
@ -45,6 +44,8 @@ General:
|
|||||||
[] prev cell
|
[] prev cell
|
||||||
[] current cell
|
[] current cell
|
||||||
[] select field separator
|
[] select field separator
|
||||||
|
- make it runnable via pypy3 (low priority)
|
||||||
|
[] wrapper script for running Fenrir to check if pypy exists, use python3 as fallback.
|
||||||
|
|
||||||
Braille Support:
|
Braille Support:
|
||||||
[] brailleFocusMode:
|
[] brailleFocusMode:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# By Chrys, Storm Dragon, and contributers.
|
# By Chrys, Storm Dragon, and contributers.
|
||||||
|
|
||||||
from core import debug
|
from core import debug
|
||||||
import re
|
import re, string
|
||||||
|
|
||||||
class headLineManager():
|
class headLineManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -16,6 +16,12 @@ class headLineManager():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def replaceHeadLines(self, text):
|
def replaceHeadLines(self, text):
|
||||||
|
# fast len check for bigger typing echo
|
||||||
|
if len(text) < 5:
|
||||||
|
return text
|
||||||
|
# more strong check, to not match if not needed:
|
||||||
|
if len(text.strip(string.ascii_letters+string.digits+string.whitespace)) < 5:
|
||||||
|
return text
|
||||||
result = ''
|
result = ''
|
||||||
newText = ''
|
newText = ''
|
||||||
lastPos = 0
|
lastPos = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user