Mailing Lists: Apple Mailing Lists

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

Re: plain text editor and text view



Hi nkoni,

when you created your project in Xcode, did you specify an AppleScript Document-based Application? It sounds like you just created an AppleScript Application.

Adrian



On Jan 16, 2006, at 5:50 AM, nkoni wrote:

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 (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/lists% 40macevangelist.de


This email sent to email@hidden


--
Adrian R. Foltyn
macevangelist.de

Weißgerbergasse 13
D-90403 Nürnberg

Telefon:     +49 911 479 7982
Mobil:         +49 179 134 6584
Fax:            +49 721 151 313 587

email@hidden

_______________________________________________
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
References: 
 >plain text editor and text view (From: nkoni <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.