lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

point and click (was: Alpha-release of Frescobaldi 2.0)


From: Wilbert Berendsen
Subject: point and click (was: Alpha-release of Frescobaldi 2.0)
Date: Tue, 27 Sep 2011 14:20:58 +0200

Op Tue, 27 Sep 2011 13:46:01 +0200
Urs Liska <address@hidden> schreef:

> And (according to the release notes) it still works after you have 
> changed the source code (the links lilypond attach to the objects
> point to specific line numbers, and if the code is changed they point
> to the wrong place.

Frescobaldi 2 couples the point-and-click links as soon as a PDF is
loaded to positions in the text document. If you alter the document, the
links in the PDF document stay connected with the positions in the
text document.

Frescobaldi 2 can also find objects in the PDF: if you walk with the
text cursor or select text, the corresponding objects in the PDF are
highlighted. If you press Ctrl+J, the PDF scrolls to the page where the
music at the text cursor is at.

This paves the way to more interesting capabilities, as Frescobaldi
knows what type of object a clickable link in the PDF represents (a
note, rest, slur, articulation, rehearsalmark, etc) because it
continuously parses the text as it is entered or modified. The parsed
tokens are stored, so lookup what kind of object is at some cursor
position is very fast.

(You can see this e.g. when you hover a slur in the music, Frescobaldi
highlights not only the start parenthesis of the slur in the text but
also the ending one.)

So in the future it may become possible to drag a note to a different
octave, or to draw slurs between notes by dragging, or to right-click
a slur and select "Down" or "Dashed" or whatever. All without needing
any change to LilyPond itself.

best,
Wilbert

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]