nstextview
Keep state of complete application once quit
I am having trouble keeping the state of my Mac OS X app (running on Lion) when it is closed - it currently only has an NSTextView in the window and I want to keep the state of the window size and the[详细]
2023-03-24 07:41 分类:问答NSDocument window controller and outlet instantiation
I have what it seems to be a weird problem with an instance of a document window controller. I have a document-based application with a custom window controller inited from overridden makeWindowContro[详细]
2023-03-22 21:45 分类:问答How can I add NSTextView and NSMatrix controls in a single scrollable NSScrollView?
I am new to Mac development. I want to add three controls in a single Scrollable NSScrollView. 1) NSTextView.[详细]
2023-03-20 11:54 分类:问答Changing the cursor in an NSTextView
I\'m hoping this will be a relatively easy thing to do. I am writing a Mac app that will be (mostly) a giant NSTextView. I would like to override the default text position cursor to a unique color/sh[详细]
2023-03-18 22:05 分类:问答How to draw focus ring around NSBox on focus of child NSTextView in objective-c
I have one NSTextView within NSBox. I want to draw focus ring aroung NSBox whenever NSTextView got focus a开发者_StackOverflownd remove focus ring as soon as NSTextView lost focus.[详细]
2023-03-16 02:49 分类:问答how to toggle rich text formatting in NSTextView programmatically in cocoa
I w开发者_Go百科ant to toggle rich text formatting in NSTextView. I have tried following: [contentView setRichText:NO];[详细]
2023-03-15 23:25 分类:问答Change background colour of NSTextView's default top ruler
By default, if you add a NSTextView to an application and go to Format -> Text -> Show Ruler, a ruler will be shown on top of the text view like in TextEdit with various formatting options, and will l[详细]
2023-03-15 22:11 分类:问答Cocoa Text - refreshing text on-the-fly
In an app I\'m working on, the user inputs plain text, and the app reformats the text by transforming it to an NSAttributedString, and displays it. This all happens live.[详细]
2023-03-15 19:54 分类:问答Can I set size of NSTextView's autocompletion window?
NSTextView\'s autocompletion window size has maximum limit and words in the window displayed with trails (...). How can I se开发者_C百科t size of the window manually or allow it to be larger? (bigger)[详细]
2023-03-15 00:02 分类:问答how to copy all attributed content from NSTextView to NSPasteboard
I\'m trying to implement auto copy content from NSTextView to clipboard for pasting it in editor in the future. NSTextView has plain and attributed text and images.[详细]
2023-03-14 19:55 分类:问答