MCPcopy Create free account
hub / github.com/EasyIME/PIME / addPreservedKey

Method addPreservedKey

python/textService.py:216–221  ·  view source on GitHub ↗
(self, keyCode, modifiers, guid)

Source from the content-addressed store, hash-verified

214
215 # preserved keys
216 def addPreservedKey(self, keyCode, modifiers, guid):
217 keys = self.currentReply.setdefault("addPreservedKey", [])
218 keys.append({
219 "keyCode" : keyCode,
220 "modifiers": modifiers,
221 "guid": guid.lower()})
222
223 def removePreservedKey(self, guid):
224 keys = self.currentReply.setdefault("removePreservedKey", [])

Callers 3

onActivateMethod · 0.80
onActivateMethod · 0.80
updatePreservedKeysMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected