You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4324 Reporter:@oandrieu Status: closed (set by @garrigue on 2007-10-29T07:19:07Z) Resolution: fixed Priority: normal Severity: minor OS: emacs Version: 3.10.0 Fixed in version: 3.10+dev Category: ~DO NOT USE (was: OCaml general) Monitored by:@jmeber@yakobowski
Bug description
The highlighting code in emacs/caml-font.el doesn't work reliably with multi-line comments or strings. The reason is that it sets font-lock in "keywords-only" mode which is fine when highlighting keywords but doesn't work for multi-line constructs. The intent was apparently to colorize ocamldoc comments differently, but the clean way to do this is to use the font-lock-syntactic-face-function.
Here's the modified version I use which does this, plus some other minor improvements (see changelog at the beginning).
Original bug ID: 4324
Reporter: @oandrieu
Status: closed (set by @garrigue on 2007-10-29T07:19:07Z)
Resolution: fixed
Priority: normal
Severity: minor
OS: emacs
Version: 3.10.0
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @jmeber @yakobowski
Bug description
The highlighting code in emacs/caml-font.el doesn't work reliably with multi-line comments or strings. The reason is that it sets font-lock in "keywords-only" mode which is fine when highlighting keywords but doesn't work for multi-line constructs. The intent was apparently to colorize ocamldoc comments differently, but the clean way to do this is to use the font-lock-syntactic-face-function.
Here's the modified version I use which does this, plus some other minor improvements (see changelog at the beginning).
File attachments
The text was updated successfully, but these errors were encountered: