Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 5538049: Sketch for DotColumn not triggering vertical alignment. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by MikeSol
Modified:
12 years, 3 months ago
Reviewers:
Keith, lemzwerg, carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Sketch for DotColumn not triggering vertical alignment.

Patch Set 1 #

Total comments: 5

Patch Set 2 : Incorporates Carl's suggestions. #

Total comments: 2

Patch Set 3 : Adds comment suggested by Keith. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -5 lines) Patch
A input/regression/dot-column-vertical-positioning.ly View 1 1 chunk +13 lines, -0 lines 0 comments Download
M lily/dot-column.cc View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M lily/include/staff-symbol-referencer.hh View 1 2 chunks +8 lines, -0 lines 0 comments Download
M lily/staff-symbol-referencer.cc View 4 chunks +41 lines, -2 lines 0 comments Download

Messages

Total messages: 4
lemzwerg
LGTM, but not time to test... http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc File lily/staff-symbol-referencer.cc (right): http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc#newcode95 lily/staff-symbol-referencer.cc:95: Real y = ...
12 years, 3 months ago (2012-01-12 11:02:13 UTC) #1
Carl
A few comments. Thanks, Carl http://codereview.appspot.com/5538049/diff/1/input/regression/dot-column-vertical-positioning.ly File input/regression/dot-column-vertical-positioning.ly (right): http://codereview.appspot.com/5538049/diff/1/input/regression/dot-column-vertical-positioning.ly#newcode5 input/regression/dot-column-vertical-positioning.ly:5: line breaking. What should ...
12 years, 3 months ago (2012-01-13 01:09:34 UTC) #2
Keith
LGTM. Now I see why this bug appeared. The recent changes to the beam configuration ...
12 years, 3 months ago (2012-01-15 21:45:27 UTC) #3
MikeSol
12 years, 3 months ago (2012-01-16 07:16:54 UTC) #4
http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc
File lily/staff-symbol-referencer.cc (right):

http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc#...
lily/staff-symbol-referencer.cc:95: Real y = (pure
On 2012/01/12 11:02:13, lemzwerg wrote:
> The outermost parentheses have no effect.  I suggest to remove them.

They're for code alignment purposes: it's so that the ? and : don't align
vertically with the -.  There are a couple other places in the code that use
this convention (forget where).

http://codereview.appspot.com/5538049/diff/4002/lily/dot-column.cc
File lily/dot-column.cc (right):

http://codereview.appspot.com/5538049/diff/4002/lily/dot-column.cc#newcode216
lily/dot-column.cc:216: // do the X-offset properly.
On 2012/01/15 21:45:27, Keith wrote:
> Might this comment now be obsolete?  It is about the fix to issue 1088.  If
so,
> we could unravel some of this complication, later.

It very well could be.  After this patch is pushed, remind me to investigate
this (I'm writing myself a reminder as well).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b