Browse Source

Minor spelling fixes

merge-requests/365/head
eidheim 10 years ago
parent
commit
87cf9306df
  1. 6
      src/window.cc

6
src/window.cc

@ -896,18 +896,18 @@ void Window::search_and_replace_entry() {
if(notebook.get_current_page()!=-1) if(notebook.get_current_page()!=-1)
notebook.get_current_view()->search_backward(); notebook.get_current_view()->search_backward();
}); });
EntryBox::get().buttons.back().set_tooltip_text("Find Previous (Shortcut: ⇧Enter in Entry)"); EntryBox::get().buttons.back().set_tooltip_text("Find Previous (shortcut: ⇧Enter in entry)");
EntryBox::get().buttons.emplace_back("", [this, replace_entry_it](){ EntryBox::get().buttons.emplace_back("", [this, replace_entry_it](){
if(notebook.get_current_page()!=-1) { if(notebook.get_current_page()!=-1) {
notebook.get_current_view()->replace_forward(replace_entry_it->get_text()); notebook.get_current_view()->replace_forward(replace_entry_it->get_text());
} }
}); });
EntryBox::get().buttons.back().set_tooltip_text("Replace Next (Shortcut: Enter in Entry)"); EntryBox::get().buttons.back().set_tooltip_text("Replace Next (shortcut: Enter in entry)");
EntryBox::get().buttons.emplace_back("", [this](){ EntryBox::get().buttons.emplace_back("", [this](){
if(notebook.get_current_page()!=-1) if(notebook.get_current_page()!=-1)
notebook.get_current_view()->search_forward(); notebook.get_current_view()->search_forward();
}); });
EntryBox::get().buttons.back().set_tooltip_text("Find Next (Shortcut: Enter in Entry)"); EntryBox::get().buttons.back().set_tooltip_text("Find Next (shortcut: Enter in entry)");
EntryBox::get().buttons.emplace_back("Replace All", [this, replace_entry_it](){ EntryBox::get().buttons.emplace_back("Replace All", [this, replace_entry_it](){
if(notebook.get_current_page()!=-1) if(notebook.get_current_page()!=-1)
notebook.get_current_view()->replace_all(replace_entry_it->get_text()); notebook.get_current_view()->replace_all(replace_entry_it->get_text());

Loading…
Cancel
Save