Esempio n. 1
0
    def run_selection_in_matlab_cli(self):
        if self.cli_controller is None:
            self.activate_cli()

        self.matlab_write_function_files()

        lines = vim_helper.get_selection(ignore_matlab_comments=True)
        self.cli_controller.run_code(lines)
Esempio n. 2
0
 def view_selected_var(self):
     if self.cli_controller is None:
         self.activate_cli()
     var = vim_helper.get_selection()
     if var:
         self.cli_controller.run_code(['printVarInfo({});'.format(var)])