Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

IF processing / indentation for Cobol members

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • IF processing / indentation for Cobol members

    When I'm using the CODE editor on Cobol members, I noticed the default behavior after I type an IF statement and hit ENTER is to indent the next line 4 spaces. My question is really in two parts: 1) Where does this default behavior come from 2) How can I override it? What I really want after I type an IF statement is the following: a) indent next line 2 spaces, and autoinsert a line containing 'then' b) insert a blank line, indenting two more spaces c) insert a third line, after the blank line, containing 'end-if', aligned with the original IF statement d) position cursor on blank line at indent point chip milosch
Working...
X