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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user