colhountech / js2-mode

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

Doxymacs font locking doesn't fontify Doxygen comments #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load doxymacs (require 'doxymacs)
2. Load js2-mode (require 'js2-mode)
3. Visit a JavaScript file (C-x C-f somefile.js)
4. Enable js2-mode (M-x js2-mode)
5. Enable doxymacs mode (M-x doxymacs-mode)
6. Enable doxymacs font locking (M-x doxymacs-font-lock)

What is the expected output? What do you see instead?
I expect Doxymacs to highlight the Doxygen comments and operations (e.g.
\param, \return, etc.) but instead all parts of all comments (both Qt style
and Javadoc style) are solid comment colored [green].

What version of the product are you using? On what operating system?
GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-30
js2-20080403.el

Please provide any additional information below.
At first I wasn't sure this problem was in js2-mode, since Doxygen doesn't
officially support JavaScript, but I can also use Doxymacs with font
locking correctly in even Standard ML source code, so that makes me think
that Doxymacs should probably work everywhere in every kind of source code.

Original issue reported on code.google.com by taylorve...@gmail.com on 4 Apr 2008 at 6:21

GoogleCodeExporter commented 8 years ago
May not be easy to fix, since js2-mode does not use the standard font-lock 
mechanism
(and never will.)  But I'll see what I can do.

Original comment by steve.ye...@gmail.com on 14 Apr 2008 at 11:29

GoogleCodeExporter commented 8 years ago
Fixed for upcoming release - I've found a way to let font-locking minor modes 
play
along with my custom highlighting.

Bumped up the priority because it affects all font-locking minor modes, 
including
column-marker and other more broadly important modes.

Original comment by steve.ye...@gmail.com on 16 Apr 2008 at 2:01

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 16 Apr 2008 at 9:43

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 19 Apr 2008 at 10:52