all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bidirectional text in tooltips
Date: Sat, 06 Nov 2010 18:28:58 +0100	[thread overview]
Message-ID: <4CD5905A.2040702@swipnet.se> (raw)
In-Reply-To: <838w16o7xg.fsf@gnu.org>



Eli Zaretskii skrev 2010-11-06 15.14:

> The other case is NS.  IIUC, the place that calculates the width of
> the tooltip is the setText method of the EmacsTooltip class,
> implemented on nsmenu.m.  My reading of the setText method is that it
> assumes a single line of text in the tip, is that right?  If so,
> that's a bug in itself, I think.

It does not, sizeWithAttributes returns the bounding box the drawn string 
would have.  It handles newlines.

	Jan D.



      parent reply	other threads:[~2010-11-06 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 14:14 Bidirectional text in tooltips Eli Zaretskii
2010-11-06 17:23 ` Jan Djärv
2010-11-06 17:46   ` Eli Zaretskii
2010-11-06 17:28 ` Jan Djärv [this message]

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=4CD5905A.2040702@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=eliz@gnu.org \
    --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 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.