SlickEdit Community
Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2018 v23 Beta Discussion => Topic started by: rowbearto on September 26, 2018, 01:17:52 PM
-
I recently encountered some code that looked like the below:
if (cond1)
{
for (SomeType::const_iterator itExample = SomeType::begin(); blah blah; blah blah)
{
}
}
if (cond2)
{
for (SomeType::const_iterator itExample = SomeType::begin(); blah blah; blah blah)
{
}
}
if (cond3)
{
for (SomeType::const_iterator itExample = SomeType::begin(); blah blah; blah blah)
{
// Perform go to definition on the "itExample" below, and it should only bring me to the
// for loop that is immediately above this comment. However I am presented with a dialog
// that presents the itExample from all 3 for loops.
itExample->abc;
}
}
See the comment in the last for loop to understand what the issue is
-
Thanks for bringing this to my attention. This will be fixed in the next beta.