문제

I know this must be very simple... but I'm searching for about 30 mins and didn't find anything... How do you select programmatically all the text in a NSTextView? Thanks for your help Massy

도움이 되었습니까?

해결책

I found it, I'm posting the solution in case someone else needs to know how to do it:

[myTextView selectAll:self];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top