From 4ea40b428871046898006edd1fc03958f23ab8d2 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Wed, 25 Feb 2009 21:33:44 +1030 Subject: [PATCH] * wesnoth-mode.texi (Navigation): Added introduction to section. Added documentation for new structured navigation commands. --- wesnoth-mode.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wesnoth-mode.texi b/wesnoth-mode.texi index 04bfb04..11bc278 100644 --- a/wesnoth-mode.texi +++ b/wesnoth-mode.texi @@ -180,6 +180,9 @@ behaviour of automatic indentation. @node Navigation, , Indentation, Basic Usage @section Navigation +Built-in commands for navigation are available. This section describes +additional or modified navigation commands specific to Wesnoth Mode. + Next and previous opening elements can be navigated using @kbd{C-M-e} and @kbd{C-M-a}, respectively. In each case, point will be positioned immediately before the element. When no more elements are available in @@ -192,6 +195,12 @@ tag or opening preprocessor statement it will be moved to the start of the matching closing element. Otherwise, the jump will position point at the beginning of the corresponding opening element. +Structured navigation is available with @kbd{C-M-n} and @kbd{C-M-p} +providing the ability to move to the next and previous blocks +(respectively) which are at the same depth as the element where the +command was invoked. @kbd{C-M-d} will move to the child of the element +at point and @kbd{C-M-u} moving to the corresponding parent element. + @node Inserting Elements, Checking WML, Basic Usage, Top @chapter Inserting Elements -- 2.11.4.GIT