* wesnoth-mode.el (wesnoth-font-lock-keywords): Updated tag regexp not to match
arrays.
(wesnoth-element-closing, wesnoth-element-opening, wesnoth-element): Added
indentation support for FOREACH and NEXT macros.
(wesnoth-element-completion): More reliably prompt. No longer insert valid
substring when there's a longer valid alternative.
(wesnoth-partial-macro-p): Added multi-line support.
(wesnoth-indent-or-complete): Only attempt macro completion when an
incomplete macro precedes point. Do not delete elements adjacent to the
closing tag when completing.
(wesnoth-complete-tag, wesnoth-complete-preprocessor,
wesnoth-complete-attribute): No longer delete adjacent elements.
(wesnoth-complete-macro): Ensure point does not go to to far forward when no
arguments required for the macro. No longer delete adjacent elements.
(wesnoth-indent): Added support for FOREACH..NEXT indentation.
(wesnoth-determine-context): Do not base context when tag is opened and
closed immediately on the same line; search for previous element. Added
support for FOREACH..NEXT indentation.