unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Displaying the cursor inside an overlay?
Date: Sun, 09 Jan 2022 12:31:02 +0200	[thread overview]
Message-ID: <837db92obd.fsf@gnu.org> (raw)
In-Reply-To: <87iluttfdz.fsf@yahoo.com> (message from Po Lu on Sun, 09 Jan 2022 17:41:44 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Date: Sun, 09 Jan 2022 17:41:44 +0800
> 
> Is there a way to display the (bar) cursor at some position inside an
> overlay's before or after string?

Use the 'cursor' property on the string.  (This doesn't depend on the
cursor's shape, so it should work with a bar cursor as it does with a
block cursor.)



  reply	other threads:[~2022-01-09 10:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87iluttfdz.fsf.ref@yahoo.com>
2022-01-09  9:41 ` Displaying the cursor inside an overlay? Po Lu
2022-01-09 10:31   ` Eli Zaretskii [this message]
2022-01-09 10:51     ` Po Lu
2022-01-09 12:09       ` Eli Zaretskii
2022-01-09 12:14         ` Po Lu

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=837db92obd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).