<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cursor doesn't go all the way back when I press Enter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346778#M80000</link>
    <description>&lt;P&gt;As I would prefer to keep the intending working another approach is to have the ; on its own line in the left margin:&lt;/P&gt;
&lt;PRE&gt;libname epdbprd 
        oracle
        user = eppuser 
        pass = Coffee1820
        path = EPDBPROD
        schema = eptsprd
;&lt;/PRE&gt;
&lt;P&gt;This way you can easily align your multiple parameters (or WHEN statments, or plot options or...) but the next line will start on theleft.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you you may find that backspace will undo levels of indenting by the increment set in many places&lt;/P&gt;
&lt;PRE&gt;if some condition then do;
   statment;
   if other condition do;
      statement;   /*use tab for one level of indent*/
      statement;   /*After entering this line use backspace*/
   end;            /* and the "end" aligns with the IF*/
   else do;
      statement;
      statement;
      statement;
   end;
end;&lt;/PRE&gt;
&lt;P&gt;but the auto indent has to be set for that to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2017 17:38:36 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-04-03T17:38:36Z</dc:date>
    <item>
      <title>cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346358#M79862</link>
      <description>&lt;P&gt;I'm working with a simple LIBNAME statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; epdbprd &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = eppuser &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pass&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = Coffee1820&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = EPDBPROD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; schema&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = eptsprd;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;When I hit enter after the last line's semicolon, the cursor returns to being directly under the "s" in "schema" rather than all the way back to the first space all the way to the left. And if I hit Enter again, it does the same thing.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Why is this happening, and what can I do to make it stop?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;faba_calculo&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 23:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346358#M79862</guid>
      <dc:creator>faba_calculo</dc:creator>
      <dc:date>2017-03-31T23:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346359#M79863</link>
      <description>&lt;P&gt;Annoying isn't it? &amp;nbsp;It is trying to help you keep your code consistently indented.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What user interface are you typing into? &amp;nbsp;SAS/Studio? Enterprise Guide? Display Manager using the Enhanced Editor? Or the Progam Editor?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:04:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346359#M79863</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-01T00:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346360#M79864</link>
      <description>&lt;P&gt;Yes and figured, in that order.&amp;nbsp;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm using the Display Manager using the Enhanced Editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, thanks for the quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;faba_calculo&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346360#M79864</guid>
      <dc:creator>faba_calculo</dc:creator>
      <dc:date>2017-04-01T00:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346362#M79865</link>
      <description>&lt;P&gt;If using SAS Enterprise Guide, visit Program-&amp;gt;Editor Options, and select&amp;nbsp;&lt;STRONG&gt;None&lt;/STRONG&gt; for Indentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8096i59B4C8E0983F7458/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="ind.png" title="ind.png" /&gt;&lt;/P&gt;
&lt;P&gt;In Base SAS, it's under Tools-&amp;gt;Options-&amp;gt;Enhanced Editor Options, the General tab.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346362#M79865</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-04-01T00:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346363#M79866</link>
      <description>&lt;P&gt;We have a winner!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Man, I NEVER would have found that. Sixteen years of SASing, and I've really never explored a lot of the menus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, Chris!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Faba_Calculo&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346363#M79866</guid>
      <dc:creator>faba_calculo</dc:creator>
      <dc:date>2017-04-01T00:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: cursor doesn't go all the way back when I press Enter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346778#M80000</link>
      <description>&lt;P&gt;As I would prefer to keep the intending working another approach is to have the ; on its own line in the left margin:&lt;/P&gt;
&lt;PRE&gt;libname epdbprd 
        oracle
        user = eppuser 
        pass = Coffee1820
        path = EPDBPROD
        schema = eptsprd
;&lt;/PRE&gt;
&lt;P&gt;This way you can easily align your multiple parameters (or WHEN statments, or plot options or...) but the next line will start on theleft.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you you may find that backspace will undo levels of indenting by the increment set in many places&lt;/P&gt;
&lt;PRE&gt;if some condition then do;
   statment;
   if other condition do;
      statement;   /*use tab for one level of indent*/
      statement;   /*After entering this line use backspace*/
   end;            /* and the "end" aligns with the IF*/
   else do;
      statement;
      statement;
      statement;
   end;
end;&lt;/PRE&gt;
&lt;P&gt;but the auto indent has to be set for that to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 17:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cursor-doesn-t-go-all-the-way-back-when-I-press-Enter/m-p/346778#M80000</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-03T17:38:36Z</dc:date>
    </item>
  </channel>
</rss>

