Function: eca-chat--align-tables

eca-chat--align-tables is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--align-tables &optional FROM)

Documentation

Align all markdown tables in the chat content area.

When FROM is non-nil, scan from that position; otherwise scan from the last user message. Falls back to point-max as the end bound when the prompt area overlay is missing (see #283).

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--align-tables (&optional from)
  "Align all markdown tables in the chat content area.
When FROM is non-nil, scan from that position; otherwise scan from
the last user message.  Falls back to `point-max' as the end bound
when the prompt area overlay is missing (see #283)."
  (eca-table-align (or from eca-chat--last-user-message-pos (point-min))
                   (or (eca-chat--prompt-area-start-point) (point-max))))