nslayoutmanager
NSTextView lineHeightMultiple drawing issues
By setting the lineHeightMultiple of a NSParagraphStyle that is used in a text view I\'m getting drawing artifacts when selecting text. This is reproducible in TextEdit. More specifically:[详细]
2023-03-11 10:43 分类:问答Redrawing a single rect for a line fragment in NSTextView
We have an NSTextView that needs to have single line fragments redrawn on certain ev开发者_如何学Pythonents.[详细]
2023-01-26 00:22 分类:问答Changes to NSTextView not reaching screen
I have an NSTextView backed by a text system I put together myself, along the lines of the \"Assembling the Text System by Hand\" section in the Text System Overview in the Cocoa documentation.It succ[详细]
2023-01-25 11:45 分类:问答NSLayoutManager setAllowsNonContiguousLayout misplaces caret
With setAllowsNonContiguousLayout set to YES, if I perform the following steps I get weird behaviour:[详细]
2023-01-23 12:24 分类:问答Cocoa: NSTextStorageDelegate has out-of-date NSLayoutManager?
I\'m working with a NSTextView and have a delegate set for its -textStorage property.Upon receipt of -textStorageDidProcessEditing: I need to apply attributes to portions of the text.[详细]
2023-01-23 01:04 分类:问答How to properly determine width of an attributed string
What I want to do: layout text using NSLayoutManager and set its NSTextContainer to the width of the widest string (glyph-wise) in an array of strings.[详细]
2023-01-14 06:53 分类:问答How to paint background of specific range of text in NSTextView
This is not a specific bug, its more about not knowing how to do something. I\'ve an NSTextView and I need to paint the background of specific rang开发者_如何学编程es of text when the user clicks on[详细]
2022-12-30 03:28 分类:问答How to create skype like message window?
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[详细]
2022-12-15 09:58 分类:问答