Posted by: Wanderer
« on: July 07, 2010, 05:54:57 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)
In the code below, putting the cursor inside either the if block, the else if block, or the main block and invoking plusminus produces a message on the staus line: "Nothing to expand or collapse".
void main()
{
if (Model.ConnectorStyle.Equals(LinkConnectorStyle.BezierSegment))
{
if (_bSeg == null)
_bSeg = new BezierSegment();
_bSeg.Point1 = new Point(midX, Model.StartY);
_bSeg.Point2 = new Point(midX, Model.EndY);
_bSeg.Point3 = new Point(Model.EndX, Model.EndY);
_pathFigure.Segments.Add(_bSeg);
}
else if(false)
{
// do something
}
}