1. 09 Jan, 2016 3 commits
  2. 08 Jan, 2016 13 commits
  3. 07 Jan, 2016 11 commits
  4. 06 Jan, 2016 4 commits
  5. 05 Jan, 2016 8 commits
  6. 04 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Apply text properties for <, > in new after-change function (C++ Java Modes). · 33219d38
      Alan Mackenzie authored
      These are category/syntax-table properties to give < and > paren syntax.
      Also apply certain `c-type' text properties to the insides of <..> constructs
      to ensure that identifiers contained by them get fontified.  This patch fixes
      bug #681.
      
      * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
      after-change action.
      
      * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
      change region to include <s and >s which might not be already marked as
      parens, rather than just when paren text properties are removed.
      (c-restore-<>-properties): New after-change function, which applies text
      properties marking < and > with paren syntax.
      
      * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
      properties are applied to the interiors of <...> constructs, to ensure
      fontification of identifiers there.
      
      * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
      c-restore-<>-properties to this...
      33219d38