add settings for barrier
This commit is contained in:
parent
9746471dc8
commit
2eebb12dca
@ -40,6 +40,10 @@ Imporove attribute handling
|
|||||||
- [X] Soundicon on barrier detection
|
- [X] Soundicon on barrier detection
|
||||||
- [] Barrier detection in hilight tracking
|
- [] Barrier detection in hilight tracking
|
||||||
- [] valid barriers by window edges
|
- [] valid barriers by window edges
|
||||||
|
- [] make barrirs configurable
|
||||||
|
- [] enter barrier mode detection
|
||||||
|
- [] leave barrier mode detection
|
||||||
|
- [] soundicon barrier start/end
|
||||||
|
|
||||||
Improved Say all
|
Improved Say all
|
||||||
[] speech callbacks
|
[] speech callbacks
|
||||||
|
@ -186,7 +186,11 @@ shell=
|
|||||||
[focus]
|
[focus]
|
||||||
cursor=True
|
cursor=True
|
||||||
highlight=False
|
highlight=False
|
||||||
barrier=True
|
|
||||||
|
[barrier]
|
||||||
|
enabled=True
|
||||||
|
leftBarriers=│,└,┌,─
|
||||||
|
rightBarriers=│,┘,┐,─
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
lineBreak=True
|
lineBreak=True
|
||||||
|
@ -196,7 +196,11 @@ shell=
|
|||||||
cursor=True
|
cursor=True
|
||||||
#follow highlighted text changes
|
#follow highlighted text changes
|
||||||
highlight=False
|
highlight=False
|
||||||
barrier=True
|
|
||||||
|
[barrier]
|
||||||
|
enabled=True
|
||||||
|
leftBarriers=│,└,┌,─
|
||||||
|
rightBarriers=│,┘,┐,─
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
lineBreak=True
|
lineBreak=True
|
||||||
|
@ -197,7 +197,11 @@ shell=
|
|||||||
cursor=True
|
cursor=True
|
||||||
#follow highlighted text changes
|
#follow highlighted text changes
|
||||||
highlight=False
|
highlight=False
|
||||||
barrier=True
|
|
||||||
|
[barrier]
|
||||||
|
enabled=True
|
||||||
|
leftBarriers=│,└,┌,─
|
||||||
|
rightBarriers=│,┘,┐,─
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
lineBreak=True
|
lineBreak=True
|
||||||
|
@ -142,7 +142,11 @@ shell=
|
|||||||
cursor=True
|
cursor=True
|
||||||
#follow highlighted text changes
|
#follow highlighted text changes
|
||||||
highlight=False
|
highlight=False
|
||||||
barrier=True
|
|
||||||
|
[barrier]
|
||||||
|
enabled=True
|
||||||
|
leftBarriers=│,└,┌,─
|
||||||
|
rightBarriers=│,┘,┐,─
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
lineBreak=True
|
lineBreak=True
|
||||||
|
@ -196,7 +196,11 @@ shell=
|
|||||||
cursor=True
|
cursor=True
|
||||||
#follow highlighted text changes
|
#follow highlighted text changes
|
||||||
highlight=False
|
highlight=False
|
||||||
barrier=True
|
|
||||||
|
[barrier]
|
||||||
|
enabled=True
|
||||||
|
leftBarriers=│,└,┌,─
|
||||||
|
rightBarriers=│,┘,┐,─
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
lineBreak=True
|
lineBreak=True
|
||||||
|
@ -47,7 +47,7 @@ class command():
|
|||||||
doInterrupt = False
|
doInterrupt = False
|
||||||
# barrier
|
# barrier
|
||||||
sayLine = currLine
|
sayLine = currLine
|
||||||
if self.env['runtime']['settingsManager'].getSettingAsBool('focus', 'barrier'):
|
if self.env['runtime']['settingsManager'].getSettingAsBool('barrier','enabled'):
|
||||||
sayLine = self.env['runtime']['barrierManager'].handleLineBarrier(sayLine, self.env['screen']['newCursor']['x'])
|
sayLine = self.env['runtime']['barrierManager'].handleLineBarrier(sayLine, self.env['screen']['newCursor']['x'])
|
||||||
# output
|
# output
|
||||||
self.env['runtime']['outputManager'].presentText(sayLine, interrupt=doInterrupt, flush=False)
|
self.env['runtime']['outputManager'].presentText(sayLine, interrupt=doInterrupt, flush=False)
|
||||||
|
@ -80,7 +80,12 @@ settingsData = {
|
|||||||
'focus':{
|
'focus':{
|
||||||
'cursor': True,
|
'cursor': True,
|
||||||
'highlight': False,
|
'highlight': False,
|
||||||
'barrier': True,
|
|
||||||
|
},
|
||||||
|
'barrier':{
|
||||||
|
'enabled': True,
|
||||||
|
'leftBarriers': '│,└,┌,─',
|
||||||
|
'rightBarriers': '│,┘,┐,─',
|
||||||
},
|
},
|
||||||
'review':{
|
'review':{
|
||||||
'lineBreak': True,
|
'lineBreak': True,
|
||||||
|
Loading…
Reference in New Issue
Block a user