Changeset 7419 in josm


Ignore:
Timestamp:
2014-08-16T12:44:42+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #7708 - pre-formatting of manual bug reports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java

    r7407 r7419  
    139139    }
    140140
    141     //http://stuffthathappens.com/blog/2007/10/15/one-more-note-on-uncaught-exception-handlers/
    142141    /**
    143142     * Handles the given throwable object
     
    220219                            "below at this URL:")), GBC.eol().fill(GridBagConstraints.HORIZONTAL));
    221220            p.add(new UrlLabel(Main.getJOSMWebsite()+"/newticket",2), GBC.eop().insets(8,0,0,0));
     221
     222            // Wiki formatting for manual copy-paste
     223            text = "{{{\n"+text+"}}}";
     224
    222225            if (Utils.copyToClipboard(text)) {
    223226                p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")),
Note: See TracChangeset for help on using the changeset viewer.