From: Anders Lindgren <andlind@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: NS port horizontal scroll-bars
Date: Tue, 26 Apr 2016 07:39:57 +0200 [thread overview]
Message-ID: <CABr8ebb6Lb1K7E_EvqQ_oU5B-nAPJ9cmhjxXGfDHL3pCwBOiMQ@mail.gmail.com> (raw)
In-Reply-To: <20160425203420.GA37698@breton.local>
[-- Attachment #1: Type: text/plain, Size: 562 bytes --]
Hi!
> Yup, that's it exactly!
>
Great!
> Now I just need to work out how to turn the values I get into columns
> that I can scroll the screen to.
>
> Is there a function that returns the width of the longest visible
> line, or the width of the buffer with truncated lines? I can't find
> anything like that.
>
I don't know of any such function either. However, I noticed that the
scroll bar change length depending on the content of the window. So,
presumably, you get all relevant information when
`ns_set_horizontal_scroll_bar' is called.
-- Anders
[-- Attachment #2: Type: text/html, Size: 1148 bytes --]
next prev parent reply other threads:[~2016-04-26 5:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 16:01 NS port horizontal scroll-bars Alan Third
2016-04-24 17:28 ` Anders Lindgren
2016-04-25 20:34 ` Alan Third
2016-04-26 5:39 ` Anders Lindgren [this message]
2016-04-26 6:35 ` martin rudalics
2016-04-26 9:51 ` Alan Third
2016-04-26 11:27 ` YAMAMOTO Mitsuharu
2016-04-26 17:07 ` Alan Third
-- strict thread matches above, loose matches on Subject: below --
2016-05-01 14:40 Angelo Graziosi
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=CABr8ebb6Lb1K7E_EvqQ_oU5B-nAPJ9cmhjxXGfDHL3pCwBOiMQ@mail.gmail.com \
--to=andlind@gmail.com \
--cc=alan@idiocy.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 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).