Skip to content

Commit

Permalink
Fix lyrics documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
th-we committed Mar 12, 2024
1 parent a2a77e8 commit 3c3ed49
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/LyricHandler.mss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function InitLyricHandlers() {


function PreprocessLyricTemplates (templatesById) {
// Finds <syl> elements in the templates and registers
// Finds <syl> elements in the templates and sets SylElementAction as the
// template action so MeiFactory will pass the object to SylElementAction
// instead converting the template as-is.
for each template in templatesById
{
if (IsObject(template))
Expand Down Expand Up @@ -215,8 +217,8 @@ function SylElementAction (actionDict, parent, lyricItem) {


function CreateSylChild (parent, template, lyricItem, sylText) {
// `template` should have a decendant LyricText action. This action will be
// called by MeiFactory() when it reaches the decendant action. Because we
// `template` should have a descendant LyricText action. This action will be
// called by MeiFactory() when it reaches the descendant action. Because we
// can't simply insert `lyricItem`'s `Text` value in the case of an elision,
// this action relies on the the user property `currentSyllable` for the
// inserted text.
Expand Down

0 comments on commit 3c3ed49

Please sign in to comment.