Author Topic: Beta 3: Update Doc Comment for... 'const' problem on multiple updates  (Read 951 times)

Jerm_jp

  • Community Member
  • Posts: 42
  • Hero Points: 0
Beta 3, example code to illustrate the problem:

Code: [Select]
bool CallFooBar(const int iFoo, int& iBar)
{
    return true ;
}

right click "Update Doc Comment for CallFooBar"
results in:
Code: [Select]
/**
 *
 *
 * @param iFoo
 * @param iBar
 *
 * @return bool
 */

Good, but I noticed that if I repeated this again by right clicking on the function and selected "Update Doc Comment for CallFooBar"
the result becomes:
Code: [Select]
/**
 *
 *
 * @param const
 * @param iBar
 *
 * @return bool
 */

The first argument name becomes 'const' when it should remain 'iFoo'
 - If I change it to 'const int&' or 'const int*' then the result is the same as the original expected result.
 - Other types used in conjunction with 'const' exhibit the same problem.

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 987
  • Hero Points: 77
Thanks for the sample.  This will be fixed in the next build.

- Ryan

Jerm_jp

  • Community Member
  • Posts: 42
  • Hero Points: 0
Thank you for the fix and update.