Re: GtkSourceView: adding multiline comments to Julia
- From: Sébastien Wilmet <swilmet gnome org>
- To: Kevin Squire <kevin squire gmail com>
- Cc: gnome-devtools <gnome-devtools gnome org>
- Subject: Re: GtkSourceView: adding multiline comments to Julia
- Date: Mon, 14 Jul 2014 16:01:47 +0200
Hi,
On Sun, 2014-05-11 at 07:21 -0700, Kevin Squire wrote:
Okay, I the issue might be that first character of the two-character
multiline comment (#) is identical to the (one-character) line comment, and
the line comment is being parsed first? Browsing through the .lang files, I
don't see any other languages like this. The only one that comes to mind
is coffeescript (which uses ###), and there's no .lang file for that.
Haven't dug into the source yet, but if anyone has any suggestions on
whether or not this is fixable just within julia.lang, or where else to
look, I'm all ears.
What have you tried exactly? In c.lang the comments are described like
this:
<property name="line-comment-start">//</property>
<property name="block-comment-start">/*</property>
<property name="block-comment-end">*/</property>
If it doesn't work for Julia, please report a bug on bugzilla.
In the meantime I think it's possible to re-implement the comments with
a <context>, so you can define the priority.
Best regards,
Sébastien
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]