colhountech / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

External buffer edit does not trigger syntax highlighting update #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Minor issue, but occasionally annoying. May be affected by other scenarios,
the mentioned repro is the only one I run into.

What steps will reproduce the problem?
1. Open a buffer in js2-mode that is under version control
2. Make a few changes
3. Invoke vc-diff
4. In the diff buffer, select one of the changes and invoke diff-apply-hunk
5. Answer `y' when asked if you want to reverse the hunk

What is the expected output? What do you see instead?

Expected behavior is that the hunk is reversed and the syntax highlighting
is updated. Actual behavior is that the hunk is reversed and the section
remains in its unhighlighted state until the next buffer modification.

What version of the product are you using? On what operating system?

js2-mode-version is a variable defined in `js2-mode.el'.
Its value is 20080424
GNU Emacs 22.2.50.1 (i386-mingw-nt6.0.6001)
 of 2008-04-22 on SLAG

Original issue reported on code.google.com by dereksla...@gmail.com on 14 May 2008 at 11:24