Browse Source

Language protocol: removed ending newlines from tooltips

merge-requests/382/head
eidheim 8 years ago
parent
commit
259234962b
  1. 1
      src/source_language_protocol.cc

1
src/source_language_protocol.cc

@ -979,6 +979,7 @@ void Source::LanguageProtocolView::show_type_tooltips(const Gdk::Rectangle &rect
}
}
if(!content.empty()) {
while(!content.empty() && content.back()=='\n') { content.pop_back(); } // Remove unnecessary newlines
dispatcher.post([this, offset, content=std::move(content), current_request] {
if(current_request!=request_count)
return;

Loading…
Cancel
Save