SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: Wanderer on June 28, 2010, 12:35:39 PM

Title: Problem with plusminus, C# enum
Post by: Wanderer 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.
Title: Re: Problem with plusminus, C# enum
Post by: Dennis on June 28, 2010, 06:43:59 PM
Good bug report.  I am adding a fix for this for our next patch release.