=============== idEditField::ClearAutoComplete =============== */
| 168 | =============== |
| 169 | */ |
| 170 | void idEditField::ClearAutoComplete( void ) { |
| 171 | if ( autoComplete.length > 0 && autoComplete.length <= (int) strlen( buffer ) ) { |
| 172 | buffer[autoComplete.length] = '\0'; |
| 173 | if ( cursor > autoComplete.length ) { |
| 174 | cursor = autoComplete.length; |
| 175 | } |
| 176 | } |
| 177 | autoComplete.length = 0; |
| 178 | autoComplete.valid = false; |
| 179 | } |
| 180 | |
| 181 | /* |
| 182 | =============== |
no outgoing calls
no test coverage detected