B4J Question b4j comment/uncomment issue

qsrtech

Active Member
Licensed User
Longtime User
there's seem to be a bug when commenting/uncommenting blocks of code sometimes.

for example, take this code
B4X:
Sub AppStart (Form1 As Form, Args() As String)
    'MainForm = Form1
    'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
    MainForm.Show
End Sub

now highlight and try to comment the 3 lines within the sub and this is what you get:
B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
    MainForm.Show
End Sub

instead of what you should really get:
B4X:
Sub AppStart (Form1 As Form, Args() As String)
    ''MainForm = Form1
    ''MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
    'MainForm.Show
End Sub

P.S. I'd look into b4a too since they are probably the same code base
 
Top