MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / NameOfMessage

Method NameOfMessage

src/MacroStep.cpp:200–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200QString MacroStep::NameOfMessage(Scintilla::Message message)
201{
202 // Try to find the name in the known list
203 if (messageData.contains(message)) {
204 return messageData[message];
205 }
206 else {
207 // Default to the list of enums
208 QMetaEnum metaEnum = QMetaEnum::fromType<ScintillaNext::Message>();
209 return metaEnum.valueToKey(static_cast<int>(message));
210 }
211}
212
213QList<Message> MacroStep::RecordableMacroMessages()
214{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected