SessionCtl_Menu // Remove UOM data of all input modes instead.
This commit is contained in:
parent
dc75148c8c
commit
af386b25c8
|
@ -407,16 +407,12 @@ public extension SessionCtl {
|
||||||
|
|
||||||
@objc func removeUnigramsFromUOM(_: Any? = nil) {
|
@objc func removeUnigramsFromUOM(_: Any? = nil) {
|
||||||
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode)
|
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode)
|
||||||
if NSEvent.modifierFlags.contains(.option) {
|
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode.reversed)
|
||||||
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode.reversed)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func clearUOM(_: Any? = nil) {
|
@objc func clearUOM(_: Any? = nil) {
|
||||||
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode)
|
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode)
|
||||||
if NSEvent.modifierFlags.contains(.option) {
|
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode.reversed)
|
||||||
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode.reversed)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func showAbout(_: Any? = nil) {
|
@objc func showAbout(_: Any? = nil) {
|
||||||
|
|
Loading…
Reference in New Issue