[quote=“vitaLee”]you might want to update open pattern to
[pre=#212121]“open”: “(^\s*\b(?:if|until|unless|while|begin|class|module|def\b\s*[a-zA-Z_]+)|do)\b”[/pre]
to account for this side effect
[attachment=0]Screen shot 2012-10-23 at 22.42.21.png[/attachment]
[/quote]
Great! Thanks for your help on this. I haven’t coded in ruby so it is nice to have help nailing it down.
[quote=“vitaLee”]
Also i vote 1+ for styles extracted and reused across definitions.[/quote]
That is the good thing about this being an alpha; in an alpha I can change everything and say “I told it you it was an alpha”. Beta I don’t have that much flexibility. I am thinking it would make more sense with separate style objects. I will have to see how much I have to change in the algorithm to make that happen. I will see if anyone else chimes in as well.