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) {
457
457
copyErrorButton .setVisible (false );
458
458
copyErrorButton .addActionListener (new ActionListener () {
459
459
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 ();
461
464
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 " ;
463
467
message += " \" " + _ ("Show verbose output during compilation" ) + "\" \n " ;
464
468
message += " " + _ ("enabled in File > Preferences." ) + "\n " ;
465
469
}
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 ();
469
470
Clipboard clipboard = Toolkit .getDefaultToolkit ().getSystemClipboard ();
470
471
StringSelection data = new StringSelection (message );
471
472
clipboard .setContents (data , null );
You can’t perform that action at this time.
0 commit comments