Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSResponderMBS class.

Previous items

NSResponderMBS.moveWordLeftAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to expand or reduce either end of the selection left by one whole word in display order.

If the end being modified is the left end, this method expands the selection; if the end being modified is the right end, it reduces the selection. The first moveWordLeftAndModifySelection: or moveWordRightAndModifySelection: method in a series determines the end being modified by always expanding. Hence, this method results in the left end becoming the mobile one if invoked first.

NSResponder declares but doesn't implement this method.

The main difference between this method and the corresponding moveWordBackwardAndModifySelection: method is that the latter moves in logical order, which is important in bidirectional text, whereas this method moves in display order.

NSResponderMBS.moveWordRight

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to move the selection or insertion point one word right.

If there is a selection it should be deselected, and the insertion point should be placed at the beginning of the first word to the right of the former selection. NSResponder declares but doesn't implement this method.

The main difference between this method and the corresponding moveWordForward: method is that the latter moves in logical order, which is important in bidirectional text, whereas this method moves in display order.

NSResponderMBS.moveWordRightAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to expand or reduce either end of the selection to the right by one whole word.

If the end being modified is the backward end, this method reduces the selection; if the end being modified is the forward end, it expands the selection. The first moveWordBackwardAndModifySelection: or moveWordForwardAndModifySelection: method in a series determines the end being modified by always expanding. Hence, this method results in the forward end becoming the mobile one if invoked first. NSResponder declares but doesn't implement this method.

The main difference between this method and the corresponding moveWordForwardAndModifySelection: method is that the latter moves in logical order, which is important in bidirectional text, whereas this method moves in display order.

Previous items

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...