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

Method resetCompositionBuffer

python/cinbase/__init__.py:2690–2694  ·  view source on GitHub ↗
(self, cbTS)

Source from the content-addressed store, hash-verified

2688
2689 # 重置輸入的字根
2690 def resetCompositionBuffer(self, cbTS):
2691 if cbTS.compositionBufferMode:
2692 cbTS.compositionBufferCursor = 0
2693 cbTS.compositionBufferString = ''
2694 cbTS.setCompositionString('')
2695
2696 # 重置同音字模式
2697 def resetHomophoneMode(self, cbTS):

Callers 3

onKeyDownMethod · 0.95

Calls 1

setCompositionStringMethod · 0.80

Tested by

no test coverage detected