unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: Test to determine character left-overhangs a tab stretch.
Date: Sun, 11 Nov 2018 18:06:10 -0800	[thread overview]
Message-ID: <m27ehjuk19.wl%esq@lawlist.com> (raw)

I am working on feature requests #22873 (multiple fake cursors); and, #17684 (crosshairs).

Fake cursors are placed on a line in the order of left to right.  ns/x_draw_window_cursor calls draw_phys_cursor_glyph, which calls draw_glyphs.

Certain wide characters to the immediate right of a tab stretch cause the tab stretch to be redrawn -- erasing the fake cursors that were previously placed along the tab stretch.  Here is a screenshot depicting a tab stretch after the cursors have been erased from it -- the tab stretch had red hbar cursors before they were erased:

https://www.lawlist.com/images/glyph_overhang_001.png

How can programmatically test for this situation?

Thanks,

Keith



             reply	other threads:[~2018-11-12  2:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-12  2:06 Keith David Bershatsky [this message]
2018-11-12 16:13 ` Test to determine character left-overhangs a tab stretch Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2018-11-12 22:22 Keith David Bershatsky
2018-11-13 19:11 Keith David Bershatsky
2018-11-13 20:08 ` Eli Zaretskii
2018-11-13 20:57 Keith David Bershatsky
2018-11-14 15:33 ` Eli Zaretskii
2018-11-14 18:25 Keith David Bershatsky

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27ehjuk19.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).