I want to get the screen location (NSPoint) of a point in an NSTextView, this should be simple, but by results are always a bit off, the X i开发者_如何学JAVAs perfect, but the Y seems to vary.
I have the following code in a function in my .m file: desc = [my executeFunction]; // desc is returned by executeFunction
I am trying to work on NSDocument, so I tried the Building a Text Editor in 15 Minutes example in the Text System Overview reference.
I\'m开发者_JAVA百科 working on a Cocoa text editor which uses an NSTextView. Is it possible to change the color of certain portions of the text?You should add your controller as the delegate of the NS
::Edit:: It works now? haha, maybe I just didn\'t save my latest IB...who the hell knows. Thanks! Hey, This is my first time playing around with desktop applications (I have experience with iphone
I want to add a data detector in an NSTextField / NSTextView like in Mail (e.g. date, email, URL, etc).
I am just trying to design skype like message window , for this I have taken the NSDrawer element. It contains : a table view on left, menu items on top, text field on right bottom and text view at ce
How would I set the Line Height or Line Spacing in an NSTextView (i.e. how tall eac开发者_开发技巧h line is, or how much space is between each line)?leave the answer in case someone need:
I\'m trying to build an NSTextView that can take \"marked up\" input that is automatically translated into beautiful RTF-style text while the user types.
All right, after having worked through Cocoa Dev Central\'s \"Build a Core Data Application\" tutorial I started experimenting with building my own application, using the code and .nib file from the t