From: Eli Zaretskii <eliz@gnu.org>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: emacs-devel@gnu.org
Subject: Re: Is there an IT test for a tab-width spacer?
Date: Sat, 28 Oct 2017 20:23:39 +0300 [thread overview]
Message-ID: <834lqj5gpw.fsf@gnu.org> (raw)
In-Reply-To: <m2vaiznqqd.wl%esq@lawlist.com> (message from Keith David Bershatsky on Sat, 28 Oct 2017 10:10:02 -0700)
> Date: Sat, 28 Oct 2017 10:10:02 -0700
> From: Keith David Bershatsky <esq@lawlist.com>
> Cc: emacs-devel@gnu.org
>
> As we move IT, I would like to know if we can programmatically determine the width of that adjustable space [associated with a tab] and the corresponding X and HPOS of the next character. [Once those values are known, I can place fake cursors along that adjustable space.]
You have it.pixel_width.
As for HPOS, it always moves by 1 for each glyph, so there's no notion
of "width" for it.
HTH
next prev parent reply other threads:[~2017-10-28 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-28 17:10 Is there an IT test for a tab-width spacer? Keith David Bershatsky
2017-10-28 17:23 ` Eli Zaretskii [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-28 18:06 Keith David Bershatsky
2017-10-25 0:59 Keith David Bershatsky
2017-10-25 15:02 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834lqj5gpw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=esq@lawlist.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.