MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / StopEdit

Method StopEdit

src/windows/MessageEditor.cpp:363–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363void MessageEditor::StopEdit()
364{
365 bool wasEditing = m_bEditing;
366 m_bEditing = false;
367 m_replyMessage = 0;
368 m_replyName = "";
369
370 if (wasEditing)
371 {
372 Expand(-m_mentionAreaHeight);
373 SetWindowText(m_edit_hwnd, TEXT(""));
374 SendMessage(m_edit_hwnd, WM_UPDATETEXTSIZE, 0, 0);
375 }
376}
377
378void MessageEditor::AutoCompleteLookup(const std::string& word, char query, std::vector<AutoCompleteMatch>& matches)
379{

Callers 1

WndProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected