mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 22:50:23 +00:00
Switches focus to the IDE when an error is trapped.
This commit is contained in:
parent
1d638a8399
commit
a157eb5f30
|
@ -130,6 +130,9 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
||||||
GOSUB SendCallStack
|
GOSUB SendCallStack
|
||||||
vw_cmd$ = "error:" + MKL$(vw_lastLine)
|
vw_cmd$ = "error:" + MKL$(vw_lastLine)
|
||||||
GOSUB SendCommand
|
GOSUB SendCommand
|
||||||
|
$IF WIN THEN
|
||||||
|
vw_i = vwSetForegroundWindow&(vw_ideHwnd)
|
||||||
|
$END IF
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
ELSEIF vwatch_linenumber = -2 THEN
|
ELSEIF vwatch_linenumber = -2 THEN
|
||||||
'report a new sub/function has been "entered"
|
'report a new sub/function has been "entered"
|
||||||
|
|
Loading…
Reference in a new issue