nstextview
Font issue with layer backed NSTextView
I have a small problem with the nstextview, when I send [textView setWantsLayer:YES], the font in the textView become blurred, anybody know why is it?[详细]
2023-02-06 03:39 分类:问答NSTextView - drawing custom glyphs that can't be edited
I\'m making an outliner using NSTextView.The outline: method on NSTextView doesn\'t quite capture what I need, so I\'ve rolled my own using the typesetter/formatter.Now, I need to show the outline sym[详细]
2023-02-05 19:20 分类:问答How to configure a NSTextView with a NSTextStorage?
How do you store the NSTextView\'s information 开发者_Python百科with an NSTextStorage?See Assembling the Text System by Hand in the Cocoa Text Architecture Guide.Apparently each NSTextView comes with[详细]
2023-02-04 06:44 分类:问答NSTextView - How to preset tabstops?
I am trying to change the preset tabstops in an NSTextView. I found an old post form 2002 which says it is possible to do this from within Interface Builder by showing the rule开发者_JAVA技巧r of the[详细]
2023-02-03 08:38 分类:问答What object to use for special text-editing
i need a special text-field that should do the following stuff: multiline tab key support send action when enter key gets pressed[详细]
2023-01-31 01:54 分类:问答Set line-terminator string in NSDocument?
(This question has been rewritten from an issue with NSTextView following some further research) UPDATE: You can download a very basic project that displays the issue here:[详细]
2023-01-30 19:48 分类:问答NSTextView not showing red misspelling underlines when on a layer
When an NSTextView is a subview of an NSView that is layer-backed (-wantsLayer == YES), it does not render the squiggly red underlines for misspelled words. All it takes to reproduce this is to make a[详细]
2023-01-29 07:19 分类:问答Changing text selection color in NSTextView
I\'m trying to write a \"highlight\" feature on an NSTextView.Currently, everything works great.You select a range of text and the background color of that text changes to yellow.However, while it\'s[详细]
2023-01-28 10:05 分类:问答Saving CoreData context and binding problem
I use CoreData for a Mac application which runs under 10.5 and higher. The content of an entity (text attribute) will be displayed in an NSTextView through bindings. The user can edit the text there.[详细]
2023-01-28 02:19 分类:问答Set NSScrollView to not editable
I was wondering how to take care that my NSScrollView is not editable by the user, but i didn\'t find a way, there is no option in IB, nor do I find an appropriate method of the NSSCrollView class.[详细]
2023-01-27 11:32 分类:问答