buzcarter / UkeGeeks

UkeGeeks Scriptasaurus creates fingering diagrams by reading plain text or ChordPro ukulele songs. Examples and documentation at UkeGeeks.com
http://ukegeeks.com
103 stars 48 forks source link

Leading whitespace #14

Open tlc opened 8 years ago

tlc commented 8 years ago

This references the behavior on UkeGeeks.com. (Great site! Thanks!) I'm not sure if that's the latest version in the tree.

I started with a text file I found on the internet.

Am7            Em
   Lyrics with three leading spaces
                    C7    B7
   More lyrics with three leading spaces

Song Formater generated:

[Am7]   Lyrics with [Em]three leading spaces
   More lyrics with [C7]three [B7]leading spaces

Song editor did not handle the leading spaces well. See lyrics indent in attachment.

screenshot from 2015-12-09 11 20 46

tlc commented 8 years ago

Also, when putting diagrams above the lyrics, the diagrams seem offset about 1 char. See Em & C7 placement below. This (nit pick) is not specific to leading spaces, but happens always.

screenshot from 2015-12-09 11 23 40