Next: Padding Operators, Previous: Actions, Up: Actions

#### 4.9.1 Block Boundary Check

Whenever you type an `END` statement, IDLWAVE finds the corresponding start of the block and the cursor blinks back to that location for a second. If you have typed a specific `END`, like `ENDIF` or `ENDCASE`, you get a warning if that terminator does not match the type of block it terminates.

Set the variable `idlwave-expand-generic-end` in order to have all generic `END` statements automatically expanded to the appropriate type. You can also type `C-c ]` to close the current block by inserting the appropriate `END` statement.

— User Option: idlwave-show-block (`t`)

> Non-`nil` means point blinks to block beginning for `idlwave-show-begin`.

— User Option: idlwave-expand-generic-end (`t`)

> Non-`nil` means expand generic END to ENDIF/ENDELSE/ENDWHILE etc.

— User Option: idlwave-reindent-end (`t`)

> Non-`nil` means re-indent line after END was typed.