Add comment about noop performKeyEquivalent function
This commit is contained in:
parent
09c0211c96
commit
a54d9f1697
1 changed files with 3 additions and 3 deletions
|
@ -253,6 +253,8 @@ unsafe fn build_classes() {
|
||||||
attributed_substring_for_proposed_range
|
attributed_substring_for_proposed_range
|
||||||
as extern "C" fn(&Object, Sel, NSRange, *mut c_void) -> id,
|
as extern "C" fn(&Object, Sel, NSRange, *mut c_void) -> id,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Suppress beep on keystrokes with modifier keys.
|
||||||
decl.add_method(
|
decl.add_method(
|
||||||
sel!(doCommandBySelector:),
|
sel!(doCommandBySelector:),
|
||||||
do_command_by_selector as extern "C" fn(&Object, Sel, Sel),
|
do_command_by_selector as extern "C" fn(&Object, Sel, Sel),
|
||||||
|
@ -1145,9 +1147,7 @@ extern "C" fn attributed_substring_for_proposed_range(
|
||||||
.unwrap_or(nil)
|
.unwrap_or(nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" fn do_command_by_selector(_: &Object, _: Sel, _: Sel) {
|
extern "C" fn do_command_by_selector(_: &Object, _: Sel, _: Sel) {}
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
async fn synthetic_drag(
|
async fn synthetic_drag(
|
||||||
window_state: Weak<RefCell<WindowState>>,
|
window_state: Weak<RefCell<WindowState>>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue