Function: antlr-ruby-indent-action-line

antlr-ruby-indent-action-line is a byte-compiled function defined in antlr-mode.el.gz.

Signature

(antlr-ruby-indent-action-line BOA)

Documentation

Indent the current line in a Ruby action.

Argument BOA is the start position of the action.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-ruby-indent-action-line (boa)
  "Indent the current line in a Ruby action.
Argument BOA is the start position of the action."
  (narrow-to-region (1+ boa) (line-end-position))
  (ruby-indent-line)
  (widen)
  (unless (memq (char-after (line-beginning-position)) '(?\ ?\t))
    ;; no indentation -> considered top-level -> indentation can also be
    ;; performed by cc-mode
    (c-indent-line)))