mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
Adding a "Copy as HTML" item to the Tools menu.
This commit is contained in:
@ -752,7 +752,19 @@ public class Editor extends JFrame
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
new DiscourseFormat(Editor.this).show();
|
||||
new DiscourseFormat(Editor.this, false).show();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
item = new JMenuItem("Copy as HTML");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
new DiscourseFormat(Editor.this, true).show();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user