def _on_string_selected(self, s: MemoryData) -> None:
        """
        A string reference is selected.

        :param s:
        :return:
        """
        view_name = "disassembly" if self.should_search_code else "hex"
        if len(self.workspace.view_manager.views_by_category[view_name]) == 1:
            hex_view = self.workspace.view_manager.first_view_in_category(view_name)
        else:
            hex_view = self.workspace.view_manager.current_view_in_category(view_name)
        if hex_view is not None:
            hex_view.jump_to(s.addr)
            self.workspace.view_manager.raise_view(hex_view)

        A string reference is selected.

        :param s:
        :return:
        
angrmanagement/plugins/value_search/search_view.py