Enable syntax highlighting for watches and locals
This commit is contained in:
parent
94b8f0a81d
commit
ed6beff03b
4 changed files with 30 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue