Q qsrtech Active Member Licensed User Longtime User Jun 2, 2015 #1 there's seem to be a bug when commenting/uncommenting blocks of code sometimes. for example, take this code Code: Copy 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: Code: Copy 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: Code: Copy 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
there's seem to be a bug when commenting/uncommenting blocks of code sometimes. for example, take this code Code: Copy 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: Code: Copy 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: Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Jun 2, 2015 #2 This is by design. It either comments or uncomments the block of code based on state of the first line. Upvote 0
This is by design. It either comments or uncomments the block of code based on state of the first line.