def delete_selection(view, edit): read_view = ui_read.all(view) plasmas = core_read.plasmas(read_view.ptext) plasma = plasma_selection.plasma(view, plasmas) if plasma != None: r = plist.remove(plasmas, plasma) _plasma_writer(view, edit)(r)
def goto_selection(view): read_view = ui_read.all(view) plasmas = core_read.plasmas(read_view.ptext) plasma = plasma_selection.plasma(view, plasmas) if plasma != None: _goto_module(view, plasma)