On 2019-02-10 5:15 am, Aaron Hill wrote:
This scheme stems from ly:input-file-line-char-column (backed by Source_file::get_counts internally) which returns the zero-based character index and the one-based column number. Of note, columns are computed assuming eight-wide tabulation.
To be precise, ly:input-file-line-char-column returns zero-based values for both character index and column number. It is actually the code in output-ps.scm (and output-svg.scm) that adds one to the column number when building the URI. So, I should have said that it is the textedit: scheme itself that defines the column number as one-based, not the underlying code that is counting actual characters. Sorry for the confusion.
-- Aaron Hill _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user