Function: idlwave-beginning-of-statement

idlwave-beginning-of-statement is an interactive and byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-beginning-of-statement)

Documentation

Move to beginning of the current statement.

Skips back past statement continuations. Point is placed at the beginning of the line whether or not this is an actual statement.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defun idlwave-beginning-of-statement ()
  "Move to beginning of the current statement.
Skips back past statement continuations.
Point is placed at the beginning of the line whether or not this is an
actual statement."
  (interactive)
  (cond
   ((derived-mode-p 'idlwave-shell-mode)
    (if (re-search-backward idlwave-shell-prompt-pattern nil t)
	(goto-char (match-end 0))))
   (t
    (if (save-excursion (forward-line -1) (idlwave-is-continuation-line))
	(idlwave-previous-statement)
      (beginning-of-line)))))