Guide for empty line

May 24, 2011 at 1:27 PM

For the following code, i'm getting a guide line after the "MessageBox" line on the empty line.  I wasn't expecting one there, is that indent exptected?

                tcp.Connect(_destIp.Text, port);
            catch (Exception ex)
                MessageBox.Show("Unable to connect to [" + _destIp.Text + ":" + port.ToString() + "] ("+ex.Message+")");


I am get the expected guide lines between the braces. 


May 25, 2011 at 10:47 AM

Depending on your settings, yes. Because the line above is indented, a guide is shown.

The other settings let you choose whether it is based on the line above or the line below, and whether to only extend guides that are already displayed or to start new lines as well (as it has here).

These options can be changed by going to Tools, Options, and selecting "Indent Guides" from the list at the left.