• 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
Overwriting text in an NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overwriting text in an NSTextView?


  • Subject: Overwriting text in an NSTextView?
  • From: Keith Blount <email@hidden>
  • Date: Thu, 15 Jun 2006 09:39:39 -0700 (PDT)

Hello, I'm currently putting together a very basic
typewriter emulator (basically a crippled text editor
that acts like an old, real-world typewriter; yes, I
know it is a backward step, but it's fun project).

Is there a way to have letters overwrite one another
using the NSTextView text system? Eg., so that I could
merge a "g" with an "X" (in my emulator, I would like
it so that if the user goes back and types, instead of
the text getting inserted and moving text after it
forward, it will overwrite the old text). Not sure if
this is at all possible, but I'm sure I read somewhere
ages ago about something like this (probably imagining
it).

Many thanks in advance,
Keith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Overwriting text in an NSTextView?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: AppleEvent handlers don't seem to work.
  • Next by Date: setSelectedTextAttributes not fully supported?
  • Previous by thread: Disappearing buttons in window.
  • Next by thread: Re: Overwriting text in an NSTextView?
  • Index(es):
    • Date
    • Thread