Am 08.01.2014 09:44, schrieb Martin Tarenskeen:
Hi, It's not quite clear to me what the difference is between "indent" and "reformat" using python-ly ?
a) it's the same as using the respective commands inside Frescobaldi. b) Indent only takes care of the indent levels of the code lines. Reformat performs addditional tasks. From the ly source files: """Add newlines around indent and dedent tokens where needed. If there is stuff after a { or << (that's not closed on the same line) it is put on a new line, and if there if stuff before a } or >>, the } or >> is put on a new line. It is necessary to run the indenter again over the same part of the document, as it will look garbled with the added newlines. """ """Move line comments with more than 2 comment characters to column 0.""" """Removes whitespace from all lines in the cursor's range.""" HTH Urs _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user