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/help/HelpBrowser.java

    r5874 r5886  
    2424import javax.swing.JComponent;
    2525import javax.swing.JDialog;
    26 import javax.swing.JEditorPane;
    2726import javax.swing.JMenuItem;
    2827import javax.swing.JOptionPane;
     
    4039import javax.swing.text.Element;
    4140import javax.swing.text.SimpleAttributeSet;
     41import javax.swing.text.html.HTML.Tag;
    4242import javax.swing.text.html.HTMLDocument;
    4343import javax.swing.text.html.HTMLEditorKit;
    4444import javax.swing.text.html.StyleSheet;
    45 import javax.swing.text.html.HTML.Tag;
    4645
    4746import org.openstreetmap.josm.Main;
     
    4948import org.openstreetmap.josm.gui.HelpAwareOptionPane;
    5049import org.openstreetmap.josm.gui.MainMenu;
     50import org.openstreetmap.josm.gui.widgets.JosmEditorPane;
    5151import org.openstreetmap.josm.tools.ImageProvider;
    5252import org.openstreetmap.josm.tools.OpenBrowser;
     
    106106
    107107    /** the help browser */
    108     private JEditorPane help;
     108    private JosmEditorPane help;
    109109
    110110    /** the help browser history */
     
    166166
    167167    protected void build() {
    168         help = new JEditorPane();
     168        help = new JosmEditorPane();
    169169        HTMLEditorKit kit = new HTMLEditorKit();
    170170        kit.setStyleSheet(buildStyleSheet());
Note: See TracChangeset for help on using the changeset viewer.