Add cancel notification LSP; add c src option for LSP

This commit is contained in:
2026-11-30 22:48:43 -06:00
parent 3d05a95c01
commit 0aaac26fc4
14 changed files with 543 additions and 24 deletions
@@ -17,7 +17,7 @@ class SearchReplaceMixin(SearchMixin, ReplaceMixin):
search_text = entry.get_text()
buffer = self.active_view.get_buffer()
if not buffer.get_has_selection() and search_text: return
if not buffer.get_has_selection() and not search_text: return
if self.mode_bttn_box.in_selection: return
start_itr, end_itr = buffer.get_selection_bounds()
@@ -65,6 +65,8 @@ class SearchReplace(Gtk.Grid, SearchReplaceMixin):
self.find_entry.set_hexpand(True)
self.replace_entry.set_hexpand(True)
self.find_entry.set_max_length(32)
self.replace_entry.set_max_length(32)
self.find_entry.set_max_width_chars(16)
self.replace_entry.set_max_width_chars(16)
self.find_entry.set_placeholder_text("Find in current buffer...")