[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.1 Folding editing | ||
9.2 Hiding markup | ||
9.3 Highlighting markup |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
With these commands you can make parts of the text temporarily invisible to make it easier to see the overall structure of your text.
When folding a region all the lines but the first will be invisible. The first line of the region will still be visible with an ellipsis at the end.
See section `Outline Mode' in The Emacs Editor.
sgml-fold-region
).
sgml-fold-element
).
This command can also fold the SGML declaration or the DOCTYPE declaration.
sgml-fold-subelement
).
sgml-unfold-line
).
sgml-unfold-element
).
sgml-unfold-all
).
sgml-expand-element
). If the current element is folded this
expands what is visible.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
*** Describe hide-tags
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PSGML can highlight the markup giving the markup a different face
(see section `Using Multiple Typefaces' in The Emacs Editor).
The highlighting will only be done if the variable sgml-set-face
is non-nil
. The default settings make tags bold and comments
italic, but this can be modified with the variable
sgml-markup-faces
. When highlighting is on PSGML will parse after
every command until the whole buffer has been parsed or user event
occurs.
To remove the highlighting type M-x sgml-clear-faces.
(markup-type . face)
.
Possible values for markup-type is:
comment
doctype
end-tag
ignored
ms-start
ms-end
pi
sgml
start-tag
entity
shortref
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.