|
From: | Aaron Hill |
Subject: | Re: Getting point-and-click working |
Date: | Sun, 10 Feb 2019 05:55:59 -0800 |
User-agent: | Roundcube Webmail/1.3.8 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |