Refactor controller architecture and multi-insert state

- Rename ControllerContext to ControllerMessageBus for clarity
- Switch ControllerBase to use SingletonRaised
- Replace MarkEventsMixin with MarkerManager for multi-cursor editing
- Add populate_popup event support for source view context menus
- Remove unused swap file events
- Moved JSON prettify feature to plugin
- Fix event name: "removed_file" -> "remove_file"
This commit is contained in:
2026-02-28 01:12:07 -06:00
parent 0627ca5fd5
commit 72fcccc8a9
30 changed files with 563 additions and 401 deletions

View File

@@ -187,6 +187,6 @@ class SearchReplace(Gtk.Grid, SearchReplaceMixin):
def clear_highlight(self, buffer):
if not self.highlight_tag: return
start, end = buffer.get_bounds()
buffer.remove_tag(self.highlight_tag, start, end)
start_itr, end_itr = buffer.get_bounds()
buffer.remove_tag(self.highlight_tag, start_itr, end_itr)