Syntax Highlight and label comments [Closed]

Hi,

I’m using this feature of the language : http://caml.inria.fr/pub/docs/manual-ocaml/extn.html#sec238. Syntax highlighting in integrated IDE doesn’t work well.

example of code :

let cache_result_on ~cache (** mutable structure enabling memoization *) ~checkincache_f:is_present (** function checking value is in cache or not *) ~f (** function that will benefit from memoization *) = 
    let memo_f cache presentin x = 
        if (is_present cache) == false
        then 
        begin 
            cache := f x ; !cache
        end
        else !cache in
    memo_f cache is_present;;

Is there a possibility to improve it ?

Cheers,
Aldrik

The IDE and the highlighting are provided by Ace. https://ace.c9.io/#nav=about . Sadly, I don’t think CG have a highligh config file for each language that can be improved.

Okay. Thank you for the feedback.

Cheers,
Aldrik