Author Topic: Bug: Unsurround does not work correctly in some cases.  (Read 1548 times)

flethuseo

  • Senior Community Member
  • Posts: 177
  • Hero Points: 2
Bug: Unsurround does not work correctly in some cases.
« on: January 05, 2016, 03:34:19 PM »
Trying to unsurround C++ code quickly that's inside curly braces. If you try to unsurround the following code it indents it to the left and doesn't do anything to it. Seems like a bug to me.

Code: [Select]
   { _debug.printf("INSERT %s\n", name());
      for (unsigned long colIndex = 0; colIndex < columns.size(); colIndex++) {
         const char *colNameP = columns[colIndex]->name();
         _debug.printf("\t%s\n", columns[colIndex]->name());
      }
   }


Ted