[Gambas-user] Code for the IDE
Jussi Lahtinen
jussi.lahtinen at gmail.com
Tue Feb 23 04:24:13 CET 2021
Hi,
I made a quick hack to get back the old feature, that the debug outputs can
be used to jump to the code.
I added this to
gambas/comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class :
Public Sub GotoDebug() As String
Dim sText As String
sText = $hScreen.GetSelectedText()
If sText = "" Then
sText = Me.Text
Endif
Return sText
End
And modified /gambas/app/src/gambas3/.src/Debug/FOutput.class and
FOutput.form
accordingly to jump to the code.
Not as slick as the old way, but surely better, than nothing. And in my
books good enough.
IE. Double click the address of the debug output and press Ctrl + g.
The modified files are attached. Any change to get them to the official IDE?
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210223/e7b5af98/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thefiles.tar.gz
Type: application/gzip
Size: 11229 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210223/e7b5af98/attachment.gz>
More information about the User
mailing list