emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there an IT test for a tab-width spacer?


From: Eli Zaretskii
Subject: Re: Is there an IT test for a tab-width spacer?
Date: Sat, 28 Oct 2017 20:23:39 +0300

> Date:  Sat, 28 Oct 2017 10:10:02 -0700
> From:  Keith David Bershatsky <address@hidden>
> Cc:  address@hidden
> 
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]