SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59825: Hovering over the 'cellwidth' keyword in PROC REPORT code might cause a "System.ArgumentOutOfRangeException" in SAS® Enterprise Guide®

DetailsHotfixAboutRate It

Hovering over the cellwidth keyword in PROC REPORT code might cause SAS Enterprise Guide to display the following exception:

startIndex cannot be larger than length of string.
Parameter name: startIndex

-------------------------- Technical Information Follows --------------------------

Exception Details:
----------------------------------------
Exception type:  System.ArgumentOutOfRangeException
Message:         startIndex cannot be larger than length of string.
Parameter name: startIndex
Source:          mscorlib
Target Site:     Substring

Stack Trace:
at System.String.Substring(Int32 startIndex, Int32 length)
at SAS.EnhancedEditor.AutoComplete.CodeZoneManager.GetCurrentCodeZone(String source, Int32 col, Int32 row) in
c:\develop\git_repos\Framework\EnhancedEditor\Source\EnhancedEditor\AutoComplete\CodeZoneManager.cs:line 2494 at
SAS.EnhancedEditor.AutoComplete.AutoCompleter.ShowSyntaxHelpPopup(TextRange keywordRange) in
c:\develop\git_repos\Framework\EnhancedEditor\Source\EnhancedEditor\AutoComplete\AutoCompleter.cs:line 5505 at
SAS.EnhancedEditor.Presentation.TextPane.HandleCurrentMouseToolTipRangeTimerTick(Object sender, EventArgs e) in
c:\develop\git_repos\Framework\EnhancedEditor\Source\EnhancedEditor\Presentation\TextPane.cs:line 5274

 

As a workaround, you can follow these steps to turn off Integrated Syntax Help:

  1. Select Tools ► Options ► SAS Programs.
  2. Click Editor Options.
  3. At the bottom of the Autocomplete tab, deselect Enable integrated syntax help.
  4. Click OK to save your changes.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise Guidez/OS7.139.4 TS1M49.4 TS1M4
Microsoft® Windows® for x647.139.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit7.139.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise x647.139.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro 32-bit7.139.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro x647.139.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit7.139.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise x647.139.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit7.139.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro x647.139.4 TS1M49.4 TS1M4
Microsoft Windows 107.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 20087.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 R27.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 for x647.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Datacenter7.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter7.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Std7.139.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Std7.139.4 TS1M49.4 TS1M4
Windows 7 Enterprise 32 bit7.139.4 TS1M49.4 TS1M4
Windows 7 Enterprise x647.139.4 TS1M49.4 TS1M4
Windows 7 Home Premium 32 bit7.139.4 TS1M49.4 TS1M4
Windows 7 Home Premium x647.139.4 TS1M49.4 TS1M4
Windows 7 Professional 32 bit7.139.4 TS1M49.4 TS1M4
Windows 7 Professional x647.139.4 TS1M49.4 TS1M4
Windows 7 Ultimate 32 bit7.139.4 TS1M49.4 TS1M4
Windows 7 Ultimate x647.139.4 TS1M49.4 TS1M4
64-bit Enabled AIX7.139.4 TS1M49.4 TS1M4
64-bit Enabled Solaris7.139.4 TS1M49.4 TS1M4
HP-UX IPF7.139.4 TS1M49.4 TS1M4
Linux for x647.139.4 TS1M49.4 TS1M4
Solaris for x647.139.4 TS1M49.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.