Ignore:
Timestamp:
2013-04-19T22:21:57+02:00 (11 years ago)
Author:
Don-vip
Message:

see #4429 - Right click menu "undo, cut, copy, paste, delete, select all" for each text component (originally based on patch by NooN)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialog.java

    r5539 r5886  
    1717import javax.swing.JScrollPane;
    1818import javax.swing.JTabbedPane;
    19 import javax.swing.JTextArea;
    2019import javax.swing.SingleSelectionModel;
    2120import javax.swing.event.ChangeEvent;
     
    4645import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource;
    4746import org.openstreetmap.josm.gui.mappaint.xml.XmlStyleSource;
     47import org.openstreetmap.josm.gui.widgets.JosmTextArea;
    4848import org.openstreetmap.josm.tools.DateUtils;
    4949import org.openstreetmap.josm.tools.GBC;
     
    6161    protected List<OsmPrimitive> primitives;
    6262    protected OsmDataLayer layer;
    63     private JTextArea txtData;
    64     private JTextArea txtMappaint;
     63    private JosmTextArea txtData;
     64    private JosmTextArea txtMappaint;
    6565    boolean mappaintTabLoaded;
    6666
     
    9494    protected JPanel buildDataPanel() {
    9595        JPanel p = new JPanel(new GridBagLayout());
    96         txtData = new JTextArea();
     96        txtData = new JosmTextArea();
    9797        txtData.setFont(new Font("Monospaced", txtData.getFont().getStyle(), txtData.getFont().getSize()));
    9898        txtData.setEditable(false);
     
    321321    protected void buildMapPaintPanel(JPanel p) {
    322322        p.setLayout(new GridBagLayout());
    323         txtMappaint = new JTextArea();
     323        txtMappaint = new JosmTextArea();
    324324        txtMappaint.setFont(new Font("Monospaced", txtMappaint.getFont().getStyle(), txtMappaint.getFont().getSize()));
    325325        txtMappaint.setEditable(false);
Note: See TracChangeset for help on using the changeset viewer.