MCPcopy Create free account
hub / github.com/cxasm/notepad-- / GetImeCaretPos

Function GetImeCaretPos

src/qscint/src/InputMethod.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static int GetImeCaretPos(QInputMethodEvent *event)
74{
75 foreach (QInputMethodEvent::Attribute attr, event->attributes()) {
76 if (attr.type == QInputMethodEvent::Cursor)
77 return attr.start;
78 }
79 return 0;
80}
81
82static std::vector<int> MapImeIndicators(QInputMethodEvent *event)
83{

Callers 1

inputMethodEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected