Author Topic: How do I stop this (doxygen comments)  (Read 3717 times)

seuser4909

  • Community Member
  • Posts: 7
  • Hero Points: 0
How do I stop this (doxygen comments)
« on: May 20, 2009, 02:55:43 pm »
I upgraded to 14.0.1 and loaded up a preexisting project.  I'm trying to update a C/C++ file's preexisting doxygen comment (/*! style).  Every time I press '\' it automatically creates a brand new javadoc style comment block.   This is driving me crazy, how do I stop this?

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: How do I stop this (doxygen comments)
« Reply #1 on: May 20, 2009, 05:07:01 pm »
I can reproduce the behavior.  I opened a random .cpp file, typed "/*!" ENTER, typed "\".  Each "\" creates new /** style comment block below the current one.

The "\" key is bound to c_backslash.
I stepped through c_backslash, and it seems to do almost nothing (based on code inspection and F11 stepping into each line).  It calls call_root_key, which in turn calls keyin and gets an index of 0 so it doesn't call anything else.
I stepped out of c_backslash, and the comment block appeared.

The keyin call looked interesting at first because F11 shows that it somehow triggers a call to commentwrap_doeditkey, but stepping through that seemed to do nothing.

David_O

  • Senior Community Member
  • Posts: 152
  • Hero Points: 8
Re: How do I stop this (doxygen comments)
« Reply #2 on: May 20, 2009, 07:18:40 pm »
I was able to reproduce this, and it truly is annoying.  Fortunately, the fix is easy, and we'll have it issued in the next hotfix as soon as possible.

Thank you,
« Last Edit: May 21, 2009, 02:44:32 pm by David_O »