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

Issue 6496085: Allows user to set ChordName text (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by MikeSol
Modified:
11 years, 5 months ago
Reviewers:
dak, mike7
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Allows user to set ChordName text

Patch Set 1 #

Total comments: 10

Patch Set 2 : Compares markups to determine beginning-of-line-visible #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -15 lines) Patch
A input/regression/chord-name-override-text.ly View 1 chunk +13 lines, -0 lines 0 comments Download
M lily/chord-name-engraver.cc View 1 3 chunks +25 lines, -15 lines 0 comments Download

Messages

Total messages: 9
dak
http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc File lily/chord-name-engraver.cc (right): http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode83 lily/chord-name-engraver.cc:83: || ly_is_procedure (chord_name_->get_property ("text"))); If it is a procedure, ...
11 years, 8 months ago (2012-09-06 08:50:40 UTC) #1
MikeSol
http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc File lily/chord-name-engraver.cc (right): http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode83 lily/chord-name-engraver.cc:83: || ly_is_procedure (chord_name_->get_property ("text"))); On 2012/09/06 08:50:40, dak wrote: ...
11 years, 8 months ago (2012-09-06 09:59:09 UTC) #2
dak
http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc File lily/chord-name-engraver.cc (right): http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode149 lily/chord-name-engraver.cc:149: && ly_is_equal (chord_as_scm, last_chord_)) On 2012/09/06 09:59:09, MikeSol wrote: ...
11 years, 7 months ago (2012-09-12 11:05:32 UTC) #3
mike7
On 12 sept. 2012, at 14:05, dak@gnu.org wrote: > > http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc > File lily/chord-name-engraver.cc (right): ...
11 years, 7 months ago (2012-09-12 11:14:36 UTC) #4
dak
Yes, I did not check you actually addressed the points of the review before the ...
11 years, 7 months ago (2012-09-12 11:30:28 UTC) #5
mike7
> http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode87 > lily/chord-name-engraver.cc:87: { > On 2012/09/06 08:50:40, dak wrote: >> What kind of ...
11 years, 7 months ago (2012-09-12 11:48:45 UTC) #6
dak
On 2012/09/12 11:48:45, mike7 wrote: > > > http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode87 > > lily/chord-name-engraver.cc:87: { > > ...
11 years, 7 months ago (2012-09-12 16:11:05 UTC) #7
dak
On 2012/09/12 16:11:05, dak wrote: > when it should rather have the form > > ...
11 years, 7 months ago (2012-09-12 16:16:56 UTC) #8
mike7
11 years, 7 months ago (2012-09-12 17:55:23 UTC) #9
On 12 sept. 2012, at 19:16, dak@gnu.org wrote:

> On 2012/09/12 16:11:05, dak wrote:
> 
>> when it should rather have the form
> 
>>   if (rest_event_)
>>     {
>> -       SCM no_chord_markup = get_property ("noChordSymbol");
>> -       if (!Text_interface::is_markup (no_chord_markup))
>> ...
>> +     if (make_markup)
>> +       {
>> +         SCM no_chord_markup = get_property ("noChordSymbol");
>> +         if (!Text_interface::is_markup (no_chord_markup))
>> ...
>> +       }
>>     } else
> 
> Actually, come to think of it you might want to move
> if (make_markup)
> upwards to surround the whole if (rest_event_), and then you will
> arrive at the situation where a markup (and all information required
> for it) is only calculated when it will get used, addressing the next
> point as well.
> 
> That was the intent of the original suggestion.
> 

Excellent - this is the exact type of feedback I needed.  Many thanks.

Cheers,
MS

> 
> http://codereview.appspot.com/6496085/

Sign in to reply to this message.

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