Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cabbit

macrumors 68020
Original poster
Jan 30, 2006
2,128
1
Scotland
Ok just like the title asks for a IDE would i use OSA Script View or Text view for my code editor?
 
I am going to use Xcode to build my own IDE, what i want to know is which of these components are best for displaying scripting languages.

OSAScriptView is specifically for writing AppleScript editors [1].

I would suggest studying some existing open source Cocoa-based editors (e.g. Smultron) to see how they do it.


[1] Technically OSAScriptView can be used to edit scripts written in any OSA language, but AppleScript is the only OSA-enabled language of any note so QED.
 
OSAScriptView is specifically for writing AppleScript editors [1].

I would suggest studying some existing open source Cocoa-based editors (e.g. Smultron) to see how they do it.


[1] Technically OSAScriptView can be used to edit scripts written in any OSA language, but AppleScript is the only OSA-enabled language of any note so QED.

Thanks for the info it had thrown me of i am used to just programming without all of this visual stuff. But i need and want to push myself to build my own app and this is one thing i have always wanted to try my own ideas and integrate it into my own little dummy project.

I am having a nose though the Smultron source code, the app its self has a lot of the basic features i am wanting. Its a good starting point for a reference to what i am wanting to do.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.