|
|
|
|
@ -217,7 +217,7 @@ Source::View::View(const boost::filesystem::path &file_path, const boost::filesy
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if(mark->get_name()=="insert") { |
|
|
|
|
if(spellcheck_suggestions_dialog && spellcheck_suggestions_dialog->shown) |
|
|
|
|
if(spellcheck_suggestions_dialog) |
|
|
|
|
spellcheck_suggestions_dialog->hide(); |
|
|
|
|
delayed_spellcheck_suggestions_connection.disconnect(); |
|
|
|
|
delayed_spellcheck_suggestions_connection=Glib::signal_timeout().connect([this]() { |
|
|
|
|
@ -429,11 +429,11 @@ void Source::View::set_tooltip_and_dialog_events() {
|
|
|
|
|
type_tooltips.hide(); |
|
|
|
|
diagnostic_tooltips.hide(); |
|
|
|
|
|
|
|
|
|
if(spellcheck_suggestions_dialog && spellcheck_suggestions_dialog->shown) |
|
|
|
|
if(spellcheck_suggestions_dialog) |
|
|
|
|
spellcheck_suggestions_dialog->hide(); |
|
|
|
|
if(autocomplete_dialog && autocomplete_dialog->shown) |
|
|
|
|
if(autocomplete_dialog) |
|
|
|
|
autocomplete_dialog->hide(); |
|
|
|
|
if(selection_dialog && selection_dialog->shown) |
|
|
|
|
if(selection_dialog) |
|
|
|
|
selection_dialog->hide(); |
|
|
|
|
|
|
|
|
|
set_info(info); |
|
|
|
|
@ -445,11 +445,11 @@ void Source::View::set_tooltip_and_dialog_events() {
|
|
|
|
|
type_tooltips.hide(); |
|
|
|
|
diagnostic_tooltips.hide(); |
|
|
|
|
delayed_spellcheck_suggestions_connection.disconnect(); |
|
|
|
|
if(spellcheck_suggestions_dialog && spellcheck_suggestions_dialog->shown) |
|
|
|
|
if(spellcheck_suggestions_dialog) |
|
|
|
|
spellcheck_suggestions_dialog->hide(); |
|
|
|
|
if(autocomplete_dialog && autocomplete_dialog->shown) |
|
|
|
|
if(autocomplete_dialog) |
|
|
|
|
autocomplete_dialog->hide(); |
|
|
|
|
if(selection_dialog && selection_dialog->shown) |
|
|
|
|
if(selection_dialog) |
|
|
|
|
selection_dialog->hide(); |
|
|
|
|
return false; |
|
|
|
|
}); |
|
|
|
|
@ -459,9 +459,9 @@ void Source::View::set_tooltip_and_dialog_events() {
|
|
|
|
|
type_tooltips.hide(); |
|
|
|
|
diagnostic_tooltips.hide(); |
|
|
|
|
delayed_spellcheck_suggestions_connection.disconnect(); |
|
|
|
|
if(spellcheck_suggestions_dialog && spellcheck_suggestions_dialog->shown) |
|
|
|
|
if(spellcheck_suggestions_dialog) |
|
|
|
|
spellcheck_suggestions_dialog->hide(); |
|
|
|
|
if(autocomplete_dialog && autocomplete_dialog->shown) |
|
|
|
|
if(autocomplete_dialog) |
|
|
|
|
autocomplete_dialog->hide(); |
|
|
|
|
return false; |
|
|
|
|
}); |
|
|
|
|
|