[Geany] Geany, Ruby, and Colors Misbehaving.

Lex Trotman elextr at xxxxx
Tue Oct 11 23:18:00 UTC 2011


On 11 October 2011 14:47, GB Hoyt <qrprat77 at gmail.com> wrote:
> Alas, if this issue has been addressed, my google-fu is failing me.
> I use Ubuntu 11.04, and geany 0.20 right now.
> I love it!
> Geany I mean.  I have a love/hate relationship with Ubuntu :)
> I use geany as part of my ruby development toolset, and am having a slight
> problem with trying to get the colors just right for items in double quotes,
> ie "
> when I write the following code:
>
> Given /^I have a "([^"]*)"$/ do | item |
>   #Awesome code for 'item'
> end
>
> and save it as a ruby file, the " in the middle get's read as the matching
> quote for the first ".  It's not, it's part of a regular expression.
> What's the best solution for making the middle " read as part of the string?

Hi,

The problem is in the parsing done by scintilla, the editing component
used by Geany.

I know there were some recent upgrades to the ruby parser in scintilla.

Could you try the newly released Geany 0.21, it has a much newer
scintilla version, though the ruby updates may be too recent to be
included.

Cheers
Lex

> Thanks!
> GB Hoyt
> Lakeland, FL
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
>



More information about the Users mailing list