Author Topic: Problem with plusminus, C# enum  (Read 1900 times)

Wanderer

  • Senior Community Member
  • Posts: 558
  • Hero Points: 23
Problem with plusminus, C# enum
« on: June 28, 2010, 12:35:39 pm »
SlickEdit Version 15.0.0.6  Build Date: May 07, 2010
Emulation: Vim

OS: Windows Vista    OS Version: 6.00.6002  Service Pack 2
Project Type:
Language: .cs (C#)
Hotfixes:
C:\Users\Administrator\Documents\My SlickEdit Config\15.0.0\hotfixes\hotfix_se1500_7_cumulative.zip (Revision: 7)

plusminus doesn't work with a C# enum:
Code: [Select]
public enum What
{
    this,
    that,
    theOther
};
Putting the cursor on the opening brace and invoking 'plusminus' produces the message: "Nothing to expand or collapse".

Remove the ';' and it works as expected.  (I don't know who put the semi-colon there, or why...)
Strange:  Having removed the ';' and added it back, the block collapses and expands.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2257
  • Hero Points: 284
Re: Problem with plusminus, C# enum
« Reply #1 on: June 28, 2010, 06:43:59 pm »
Good bug report.  I am adding a fix for this for our next patch release.