Re: GtkSourceView: adding multiline comments to Julia



(I just now just this email. Not sure why there was such a delay.
Judging from the archives you didn't get a reply yet, so...)

On Sat, 10 May 2014 17:08:29 -0700
Kevin Squire <kevin squire gmail com> wrote:

Julia recently added multiline comments, with start and end defined
as #= and =#.

I've attempted to add these to julia.lang, based off of other .lang
files (e.g., scala.lang), but the syntax highlighting isn't working.
Any hints on what I'm doing wrong?

I made it work as I expect by swapping the "block-comment" and
"def:shell-like-comment" contexts in "julia".

Hint: Included contexts are processed in the order they appear in the
containing context.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]