• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Possible hardware-platform-dependent bug in NSTextView?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible hardware-platform-dependent bug in NSTextView?!?


  • Subject: Re: Possible hardware-platform-dependent bug in NSTextView?!?
  • From: Jay Reynolds Freeman <email@hidden>
  • Date: Thu, 12 Nov 2009 17:25:10 -0800

The instance of my subclass of NSTextView in question is narrow
from top to bottom; there is only room for one line.  When the
unexpected scrolling happens, the place where the user was typing
-- where the cursor and insert point are -- scrolls out of
sight off the bottom of the view.  This is most confusing, not
what is wanted, and not what happens in my own Macintoshes.

--  Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)


On Nov 12, 2009, at 3:37 PM, Kyle Sluder wrote:

On Thu, Nov 12, 2009 at 3:31 PM, Jay Reynolds Freeman
<email@hidden> wrote:
> The bug occurs when a user is typing into an instance of a
> subclass of NSTextView that I have created.  (Side issue:  I
> do believe I had good reason to subclass rather than to use a
> delegate, details on request.)  On some platforms, it appears
> that the following happens:

Please do elaborate.

>       The view scrolls by one line.  The direction of
>       scroll is that if the insert cursor was 10 cm
>       up from the bottom of the screen before the 'space',
>       it will appear at 9.something cm up from the bottom
>       of the screen after the 'space' has been typed.

I don't see how this is a bug.  Could one of your users provide a
before/after screenshot?  Sounds to me like NSTextView is just
reorienting itself so that the line is completely visible.  Perhaps
I'm just misunderstanding.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Possible hardware-platform-dependent bug in NSTextView?!? (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Possible hardware-platform-dependent bug in NSTextView?!? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Array of dictionaries containing NSColor in NSUserDefaults
  • Next by Date: Auto-scrolling view
  • Previous by thread: Re: Possible hardware-platform-dependent bug in NSTextView?!?
  • Next by thread: Re: Possible hardware-platform-dependent bug in NSTextView?!?
  • Index(es):
    • Date
    • Thread