Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

plain text editor and text view



Hi.

Question about Apple's sample "plain text editor" and text view.
When closing the document, warning goes out if the document have been edited.
But when I create text editor using Text view,
it dose not work like "plain text editor". This editor closes without any warning even if the document have been edited.


So I copied the text view from "plain text editor" using interface builder.
I pasted on my original editor, it did work!
I tried to find any attribute setting on the text view,but failed to find any attributes.
I also tried to search applescript-studio archives, I only found the thread below by Tim Bumgarner,


Try setting the "modified" property of a document to true:
'set modified of document 1 to true'.
http://lists.apple.com/archives/applescript-studio/2002/Sep/ msg00181.html

But I could not find any this script around "plain text editor"

Anyone please tell me the answer.
(I'm using OS X 10.3.9, and Xcode 1.5)

Tnanks,
by nkoni

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.