Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSResponderMBS class.
NSResponderMBS.moveWordLeftAndModifySelection
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
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.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
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 |
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.
The items on this page are in the following plugins: MBS MacBase Plugin.