On Wed, 25 Sep 2013 07:34:31 -0500
"Edward K. Ream" <[email protected]> wrote:
> Done at rev 6041. The most important change is actually to the way Leo
> parses @data nodes. It no longer does s.strip() for each line s of the
> body text. This could cause problems for some people, but the new way is a
> lot more sensible.
I wonder if it should .strip('\n') though, to keep consistency with
whether or not the lines from getData() have the newline attached.
Current code broke the dark theme, because it has
@bg-gradient-hover = qlineargradient( x1:0 y1:0, x2:0 y2:1, \
stop:0.1 @solarized-base00, stop:0.4 @solarized-base0, \
stop:0.6 @solarized-base0, stop:0.9 @solarized-base00)
which became
@bg-gradient-hover = qlineargradient( x1:0 y1:0, x2:0 y2:1, \
stop:0.1 @solarized-base00, stop:0.4 @solarized-base0, \
stop:0.6 @solarized-base0, stop:0.9 @solarized-base00)
meaning the line continuations no longer worked. I just pushed a
change to setStyleSheet so it now works either way, but there might be
something else out there that isn't expecting \n's.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.