On 27/07/2013, at 1:15 AM, Kyle Sluder wrote:
> Subclass NSTextView and override
> -selectionRangeForProposedRange:granularity:. That should take care of
> both mouse- and keyboard-based selection.
No luck with completion: overriding
-selectionRangeForProposedRange:granularity: makes no differe
On 27/07/2013, at 1:15 AM, Kyle Sluder wrote:
> Subclass NSTextView and override
> -selectionRangeForProposedRange:granularity:. That should take care of
> both mouse- and keyboard-based selection.
Thanks. I wasn't sure that would work, given the docs say of it: "These
mechanisms aren’t meant f
On Thu, Jul 25, 2013, at 10:17 PM, Shane Stanley wrote:
> I have a text view that's used for editing code, and I want the user to
> be able to double-click within "foo:fie" and have only foo or fie
> selected. I overrode mouseDown: and mouseDragged: and thought I was home
> free -- but I now realis