Enable syntax highlighting for watches and locals

This commit is contained in:
Ben Jackson 2019-12-15 10:12:19 +00:00
commit ed6beff03b
4 changed files with 30 additions and 0 deletions

View file

@ -434,3 +434,9 @@ def GetBufferFilepath( buf ):
return ''
return os.path.normpath( buf.name )
def ToUnicode( b ):
if isinstance( b, bytes ):
return b.decode( 'utf-8' )
return b