Path: utzoo!mnetor!uunet!mcvax!uva!freek From: freek@uva.UUCP (Freek Wiedijk) Newsgroups: comp.sys.mac.programmer Subject: Re: TESetStyle bug Message-ID: <311@uva.UUCP> Date: 10 May 88 20:47:37 GMT References: <9416@agate.BERKELEY.EDU> <9453@apple.Apple.Com> Reply-To: freek@uva.UUCP (Freek Wiedijk) Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Lines: 14 Keywords: TextEdit In article <9453@apple.Apple.Com> tecot@apple.UUCP (Ed Tecot) writes: >TESetStyle was ambiguous. Especially if the selection ran over multiple >styles. In particular, does the client want to toggle the particular style, >or is this a replacement. In other words, does [bold] mean "add the bold >attribute to this text" or "make this text just bold"? Why doesn't TESetStyle behave the same way as the Style menu in MacWrite does? Also: Is it possible to obtain the style information of the selection when it is longer than one character, without checking all individual characters with TEGetStyle? -- Freek WiedijkUUCP: uunet!mcvax!uva!freek #P:+/ = #+/P?*+/ = i<<*+/P?*+/ = +/i<<**P?*+/ = +/(i<<*P?)*+/ = +/+/(i<<*P?)**