just calculate if hilight is on

This commit is contained in:
chrys 2016-11-04 22:28:18 +01:00
parent e06bd16423
commit 144d5828d2

View File

@ -151,6 +151,6 @@ class driver():
# track highlighted
if self.env['screenData']['oldContentAttrib'] != self.env['screenData']['newContentAttrib']:
if not self.env['runtime']['settingsManager'].getSettingAsBool('focus', 'highlight'):
self.env['screenData']['newAttribDelta'], currCursor = screen_utils.trackHighlights(self.env['screenData']['oldContentAttrib'], self.env['screenData']['newContentAttrib'], self.env['screenData']['newContentText'], self.env['screenData']['columns'])
print('drin',self.env['screenData']['newAttribDelta'])