Codechange: use Textbuf::GetText() to access the buffer / hide Textbuf::buf
This commit is contained in:
@@ -21,7 +21,7 @@ bool AutoCompletion::AutoComplete()
|
||||
{
|
||||
// We are pressing TAB for the first time after reset.
|
||||
if (this->suggestions.empty()) {
|
||||
this->InitSuggestions(this->textbuf->buf);
|
||||
this->InitSuggestions(this->textbuf->GetText());
|
||||
if (this->suggestions.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user