Refactor: Put the code window stuff in its own file

This commit is contained in:
Ben Jackson 2018-05-21 00:17:26 +01:00
commit fa84bf7ffc
3 changed files with 85 additions and 46 deletions

View file

@ -121,5 +121,5 @@ class DebugAdapterConnection( object ):
message[ 'message' ] ) )
elif message[ 'type' ] == 'event':
method = 'OnEvent_' + message[ 'event' ]
if method in dir( self._handler ) and getattr( self._handler, method ):
if method in dir( self._handler ):
getattr( self._handler, method )( message )