Fold/Unfold Current line Bug??
Posted: Wed Jan 23, 2008 9:53 pm
Using Zeus for Windows version 3.96m, given the following snippet in C (with line #s):
1. if (rank > 2)
2. {
3. ErrorReport ();
4. foo ();
5. }
6.
7. //Comment
With the cursor on line 7 (highlighted), when I fold the if statement, it shows
1. if (rank > 2)
2. { ... }
6.
7. // Comment
with line 7 still highlighted.
When I unfold the if statement, the lines are displayed as in the first example, but now line 4 is highlighted.
Is this expected behavior or a bug?
1. if (rank > 2)
2. {
3. ErrorReport ();
4. foo ();
5. }
6.
7. //Comment
With the cursor on line 7 (highlighted), when I fold the if statement, it shows
1. if (rank > 2)
2. { ... }
6.
7. // Comment
with line 7 still highlighted.
When I unfold the if statement, the lines are displayed as in the first example, but now line 4 is highlighted.
Is this expected behavior or a bug?