将控件添加到 NSTextextView 并约束它们到字符( 范围) 中
原文:Adding controls to NSTextView and binding them to (ranges of) characters
原文:Adding controls to NSTextView and binding them to (ranges of) characters
当编辑代码时, Xcode 是显示文本控件的斜体, 如下划按钮, 可以显示上下文菜单 s 。 我见过其他 OS X 应用程序, 可以处理具有类似功能的文本 。 见...