bring debugger window into focus on source refresh (breakpoint)
This commit is contained in:
parent
41e1d93767
commit
096ce24c67
@ -341,6 +341,10 @@ function meta.__index:setActive()
|
||||
self.active = true
|
||||
end
|
||||
|
||||
function meta.__index:raise()
|
||||
self.frame:Raise()
|
||||
end
|
||||
|
||||
function meta.__index:onIdleUpdate_( event )
|
||||
local currentPageIdx = self.sourceBook:GetSelection()
|
||||
for _, page in pairs( self.sourcePages ) do
|
||||
|
@ -224,6 +224,7 @@ function meta.__index:refreshSourcePageFocus_( remoteSource, line )
|
||||
local clientData = assert( self.clients[clientId] )
|
||||
local sourceType = string.sub( remoteSource, 1, 1 )
|
||||
if sourceType == "@" then
|
||||
self.window:raise()
|
||||
print( "Setting focus to "..remoteSource.."("..line..")" )
|
||||
remoteSource = grldc.utilities.normalizePath( string.sub( remoteSource, 2 ) )
|
||||
local source, remotePath, remoteFile = self:getLocalSource_( clientId, remoteSource )
|
||||
|
Loading…
Reference in New Issue
Block a user