Hi,
I'm using PC SAS 9.4 and I found that I can turn on line numbers if I go to Tools > Options > Enhanced Editor > General tab and check Show line numbers. I like the ability to turn on the line numbers, but I'm curious if the color of the current line number can be changed when using PC SAS 9.4 on Windows 10 (64-bit). The color of the current line number is set to a shade of red, but I'd like to change it to a different color...preferably a color that doesn't make me think there's an error on that line. I'd almost prefer to have no color for the current line number than to have it set to red.
I found this SAS Support article that explains how to change the line color, but it was written in 2003 likely for Windows XP and doesn't apply, at least as far as I can tell, to Windows 10.
Is there a way to change the color of the current line number?
Thanks!
Go to Tools > Options > SAS Programs > Editor Options > Appearance
Then, select Current Line Number. You can then change the Foreground color:
Here are a couple examples:
When I click on Tools > Options, I don't have an option for SAS Programs. If I click on Tools > Options > Enhanced Editor, then I have a window that looks similar to the window in your first screen shot except I don't have tabs for Autocomplete or Indenter.
On my Appearance tab, I do not have an option for Current line number in the File elements list box when I have SAS Program File selected in the File type dropdown. The list has Comments followed by Data/CARD lines.
Are your screen shots from SAS Enterprise Guide? If so, I'm using PC SAS 9.4.
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.