mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-13 23:10:26 -08:00
This fixes bug#62841. In particular, correct the syntax-table text properties on the remaining <...>s. * lisp/progmodes/cc-align.el (c-lineup-template-args-indented-from-margin): New lineup function. * lisp/progmodes/cc-defs.el (c-put-char-properties): New macro. (c-search-forward-non-nil-char-property): Handle terminating limit correctly. * lisp/progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after) (c-clear->-pair-props-if-match-before): Return the position outside the matching < or >, not merely t. (c-end-of-literal): New function. (c-unmark-<>-around-region): New function. (c-before-change-check-<>-operators): Refactor, calling c-unmark-<>-around-region. (c-<>-get-restricted): New function, extracted from c-restore-<>-properties. (c-restore-<>-properties): Handle ">" characters whose matching "<" has not yet been encountered. (c-ml-string-opener-at-or-around-point): Fix an off by one error. (c-backward-<>-arglist): New parameter restricted-function, a function which calculates c-restricted-<>-arglists for the current operation. * lisp/progmodes/cc-fonts.el (c-font-lock-c++-using): Check point is less than limit in the loop. * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions) (c-before-font-lock-functions): Add the new function c-unmark-<>-around-region into the C++ and Java values of the variable. * lisp/progmodes/cc-mode.el (c-clear-string-fences) (c-restore-string-fences): Neutralize and restore the syntax-table properties between an unbalanced " and EOL. * lisp/progmodes/cc-vars.el (c-offsets-alist): Put new lineup function c-lineup-template-args-indented-from-margin into entry for template-args-cont. * doc/misc/cc-mode.texi (List Line-Up): Document c-lineup-template-args-indented-from-margin. |
||
|---|---|---|
| .. | ||
| auth.texi | ||
| autotype.texi | ||
| bovine.texi | ||
| calc.texi | ||
| cc-mode.texi | ||
| ChangeLog.1 | ||
| cl.texi | ||
| dbus.texi | ||
| dired-x.texi | ||
| doclicense.texi | ||
| ebrowse.texi | ||
| ede.texi | ||
| ediff.texi | ||
| edt.texi | ||
| efaq-w32.texi | ||
| efaq.texi | ||
| eglot.texi | ||
| eieio.texi | ||
| emacs-gnutls.texi | ||
| emacs-mime.texi | ||
| epa.texi | ||
| erc.texi | ||
| ert.texi | ||
| eshell.texi | ||
| eudc.texi | ||
| eww.texi | ||
| flymake.texi | ||
| forms.texi | ||
| gnus-faq.texi | ||
| gnus.texi | ||
| gpl.texi | ||
| htmlfontify.texi | ||
| idlwave.texi | ||
| ido.texi | ||
| info.texi | ||
| mairix-el.texi | ||
| Makefile.in | ||
| message.texi | ||
| mh-e.texi | ||
| modus-themes.org | ||
| newsticker.texi | ||
| nxml-mode.texi | ||
| octave-mode.texi | ||
| org-setup.org | ||
| org.org | ||
| pcl-cvs.texi | ||
| pgg.texi | ||
| rcirc.texi | ||
| reftex.texi | ||
| remember.texi | ||
| sasl.texi | ||
| sc.texi | ||
| sem-user.texi | ||
| semantic.texi | ||
| ses.texi | ||
| sieve.texi | ||
| smtpmail.texi | ||
| speedbar.texi | ||
| srecode.texi | ||
| texinfo.tex | ||
| todo-mode.texi | ||
| tramp.texi | ||
| trampver.texi | ||
| transient.texi | ||
| url.texi | ||
| use-package.texi | ||
| vhdl-mode.texi | ||
| vip.texi | ||
| viper.texi | ||
| vtable.texi | ||
| widget.texi | ||
| wisent.texi | ||
| woman.texi | ||