Refactoring: Font-lock code and section title handling functions share
commit2197989e33be972c078930b56bae0da125ad671f
authorsmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 23 Jan 2011 12:38:49 +0000 (23 12:38 +0000)
committersmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 23 Jan 2011 12:38:49 +0000 (23 12:38 +0000)
treefcd3d2df8a902de88151b3aa2aa4e86879b28ab5
parent3af5a6d6166f49566cf7c0e9b4412994980fff6e
Refactoring: Font-lock code and section title handling functions share
functions. Also fixes problems with font-locking under `jit-lock-mode`.

`jit-lock-mode` is kept as `font-lock-support-mode`. Support for
`jit-lock-mode` has been debugged. For big blocks of comments and
literal text using `jit-lock-mode` may result in slowing display down.
Further work is needed here.

Added, removed and adapted tests.

Added ideas.

git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk@6646 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/tools/editors/emacs/IDEAS.rst
docutils/tools/editors/emacs/rst.el
docutils/tools/editors/emacs/tests/adornment.el
docutils/tools/editors/emacs/tests/ert-support.el
docutils/tools/editors/emacs/tests/font-lock.el