nstextview
Cursor in NSTextView
I have a scroll view, and a number of custom views (same class) inside it. Each custom view contains an NSTextView. I want the cursor to stay as arrow all the time, because the text views are not edit[详细]
2023-02-26 05:57 分类:问答NSTextView wont update unless I click on it, and it wont focus. Any ideas?
I dont havetime right this second to put some sample code, (Ill edit my question tomorrow and add some) but basically what happens is that I have a Window. It works fine usually, but if I use[详细]
2023-02-25 18:06 分类:问答NSTextView copy & paste problem
In my application I have an NSTextView. If I want to select some text using the keyboard, I press Command+c, which is supposed to select the text, then Command+v which should paste the selected text.[详细]
2023-02-22 13:34 分类:问答NSTextView replaceCharactersInRange:withString: counterpart to shouldChangeTextInRanges:replacementStrings:
I have a fairly complicated NSTextView subclass in one of my projects. I\'m currently working on getting find/replace to work with an inline find bar (e.g. Safari, Xcode) and want to properly support[详细]
2023-02-22 08:27 分类:问答How to find the text in an NSTextView?
I need to find the text in an NSTextView, and save it to a file. I can do the saving fine. I have used -stringValu开发者_运维百科e, and -textStorage so far, but neither have worked. When I put -string[详细]
2023-02-21 23:49 分类:问答NSTextField autocompletion delegate method not called
I implemented the following delegate method for NSTextField to add autocompletion support: - (NSArray *)control:(NSControl *)control[详细]
2023-02-21 08:18 分类:问答Retrieve Data From NSTextView
I have an Editable NSTextView,In which user will write using different font style, on certain action i need to pre开发者_如何学Pythonpare the HTML Formate of it,[详细]
2023-02-19 16:36 分类:问答How to autoscroll NSTextView in Cocoa to center text vertically on the window?
I\'m creating a text editor with a NSTextView inside a NSScrollView and would like to automatically scroll the textview whenever the user inserts some text, so that the inserted text is vertically cen[详细]
2023-02-16 15:17 分类:问答How do you change the font of an NSTextView without changing the current content?
Everytime I use -setFont: or -setFont:Range: on my NSTextView, it does change the font, but it shouldn\'t. I 开发者_开发知识库just want to change the font the user is typing with.[详细]
2023-02-16 08:48 分类:问答How do i insert bullet into nstextview automatically when user press the enter key?
Current now i just want make a bullet list in the nstextview,when user click ente开发者_开发技巧r,wrap a line,then addpen a tab and bullet automatically,any one can tell me ?Take a look at the source[详细]
2023-02-15 18:14 分类:问答