File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -457,15 +457,16 @@ public void keyTyped(KeyEvent event) {
457457 copyErrorButton .setVisible (false );
458458 copyErrorButton .addActionListener (new ActionListener () {
459459 public void actionPerformed (ActionEvent e ) {
460- String message ="" ;
460+ String message = "" ;
461+ message += _ ("Arduino: " ) + Base .VERSION_NAME + " (" + System .getProperty ("os.name" ) + "), " ;
462+ message += _ ("Board: " ) + "\" " + Base .getBoardPreferences ().get ("name" ) + "\" \n \n " ;
463+ message += editor .console .consoleTextPane .getText ().trim ();
461464 if ((Preferences .getBoolean ("build.verbose" )) == false ) {
462- message = " " + _ ("This report would have more information with" ) + "\n " ;
465+ message += "\n \n " ;
466+ message += " " + _ ("This report would have more information with" ) + "\n " ;
463467 message += " \" " + _ ("Show verbose output during compilation" ) + "\" \n " ;
464468 message += " " + _ ("enabled in File > Preferences." ) + "\n " ;
465469 }
466- message += _ ("Arduino: " ) + Base .VERSION_NAME + " (" + System .getProperty ("os.name" ) + "), " ;
467- message += _ ("Board: " ) + "\" " + Base .getBoardPreferences ().get ("name" ) + "\" \n " ;
468- message += editor .console .consoleTextPane .getText ().trim ();
469470 Clipboard clipboard = Toolkit .getDefaultToolkit ().getSystemClipboard ();
470471 StringSelection data = new StringSelection (message );
471472 clipboard .setContents (data , null );
You can’t perform that action at this time.
0 commit comments