Lines Matching defs:callback
74 // At one point the callback type of el_set getchar callback changed from char
79 // of the input is a single char buffer, but the callback will write a wchar_t.
193 /// Register a callback for autosuggestion.
194 void SetSuggestionCallback(SuggestionCallbackType callback) {
195 m_suggestion_callback = std::move(callback);
198 /// Register a callback for the tab key
199 void SetAutoCompleteCallback(CompleteCallbackType callback) {
200 m_completion_callback = std::move(callback);
203 /// Register a callback for testing whether multi-line input is complete
204 void SetIsInputCompleteCallback(IsInputCompleteCallbackType callback) {
205 m_is_input_complete_callback = std::move(callback);
208 /// Register a callback for determining the appropriate indentation for a line
210 /// also trigger the callback.
211 void SetFixIndentationCallback(FixIndentationCallbackType callback,
213 m_fix_indentation_callback = std::move(callback);