MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ChatTabCompletion

Method ChatTabCompletion

src/network/network_chat_gui.cpp:340–345  ·  view source on GitHub ↗

* See if we can auto-complete the current text of the user. */

Source from the content-addressed store, hash-verified

338 * See if we can auto-complete the current text of the user.
339 */
340 void ChatTabCompletion()
341 {
342 if (this->chat_tab_completion.AutoComplete()) {
343 this->SetDirty();
344 }
345 }
346
347 Point OnInitialPosition([[maybe_unused]] int16_t sm_width, [[maybe_unused]] int16_t sm_height, [[maybe_unused]] int window_number) override
348 {

Callers

nothing calls this directly

Calls 2

AutoCompleteMethod · 0.80
SetDirtyMethod · 0.45

Tested by

no test coverage detected