Recursive OCD code/comment formatting
This commit is contained in:
parent
b6c7a759bd
commit
15bc8379dc
@ -47,16 +47,16 @@ package net.apocalypselabs.symat;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Bad input exception. Useful for throwing errors in user code.
|
* Bad input exception. Useful for throwing errors in user code.
|
||||||
*
|
*
|
||||||
* @author Skylar
|
* @author Skylar
|
||||||
*/
|
*/
|
||||||
public class BadInputException extends Exception {
|
public class BadInputException extends Exception {
|
||||||
|
|
||||||
public BadInputException() {
|
public BadInputException() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BadInputException(String msg) {
|
public BadInputException(String msg) {
|
||||||
super(msg);
|
super(msg);
|
||||||
}
|
}
|
||||||
|
@ -18,17 +18,19 @@ public class Debug {
|
|||||||
|
|
||||||
// If output should be on or off
|
// If output should be on or off
|
||||||
public static boolean debug = true;
|
public static boolean debug = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Turn debug output on and off.
|
* Turn debug output on and off.
|
||||||
* @param b
|
*
|
||||||
|
* @param b
|
||||||
*/
|
*/
|
||||||
public static void setDebug(boolean b) {
|
public static void setDebug(boolean b) {
|
||||||
debug = b;
|
debug = b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if debug output is enabled.
|
* Check if debug output is enabled.
|
||||||
|
*
|
||||||
* @return true if it is.
|
* @return true if it is.
|
||||||
*/
|
*/
|
||||||
public static boolean getDebug() {
|
public static boolean getDebug() {
|
||||||
@ -37,6 +39,7 @@ public class Debug {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Call System.out.println(data) if debug output enabled.
|
* Call System.out.println(data) if debug output enabled.
|
||||||
|
*
|
||||||
* @param data Data to print.
|
* @param data Data to print.
|
||||||
*/
|
*/
|
||||||
public static void println(Object data) {
|
public static void println(Object data) {
|
||||||
@ -47,6 +50,7 @@ public class Debug {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Call System.err.println(data) if debug output enabled.
|
* Call System.err.println(data) if debug output enabled.
|
||||||
|
*
|
||||||
* @param data Data to print.
|
* @param data Data to print.
|
||||||
*/
|
*/
|
||||||
public static void printerr(Object data) {
|
public static void printerr(Object data) {
|
||||||
@ -57,6 +61,7 @@ public class Debug {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Call e.printStackTrace() if debug output enabled.
|
* Call e.printStackTrace() if debug output enabled.
|
||||||
|
*
|
||||||
* @param e an Exception.
|
* @param e an Exception.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings(value = {"CallToPrintStackTrace"})
|
@SuppressWarnings(value = {"CallToPrintStackTrace"})
|
||||||
|
@ -1000,7 +1000,6 @@ public class Editor extends javax.swing.JInternalFrame {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JButton clearBtn;
|
private javax.swing.JButton clearBtn;
|
||||||
private javax.swing.JMenu codeLangMenu;
|
private javax.swing.JMenu codeLangMenu;
|
||||||
|
@ -52,6 +52,7 @@ package net.apocalypselabs.symat;
|
|||||||
public class FontOptions extends javax.swing.JPanel {
|
public class FontOptions extends javax.swing.JPanel {
|
||||||
|
|
||||||
private boolean modified = false;
|
private boolean modified = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new form FontOptions
|
* Creates new form FontOptions
|
||||||
*/
|
*/
|
||||||
@ -111,9 +112,9 @@ public class FontOptions extends javax.swing.JPanel {
|
|||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
private void jSpinner1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jSpinner1StateChanged
|
private void jSpinner1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jSpinner1StateChanged
|
||||||
if ((int)jSpinner1.getValue() <= 0) {
|
if ((int) jSpinner1.getValue() <= 0) {
|
||||||
jSpinner1.setValue(1);
|
jSpinner1.setValue(1);
|
||||||
} else if ((int)jSpinner1.getValue() > 64) {
|
} else if ((int) jSpinner1.getValue() > 64) {
|
||||||
jSpinner1.setValue(64);
|
jSpinner1.setValue(64);
|
||||||
}
|
}
|
||||||
modified = true;
|
modified = true;
|
||||||
|
@ -1184,7 +1184,7 @@ public class Functions {
|
|||||||
public TextBox textbox() {
|
public TextBox textbox() {
|
||||||
return new TextBox();
|
return new TextBox();
|
||||||
}
|
}
|
||||||
|
|
||||||
public WebBrowser browser() {
|
public WebBrowser browser() {
|
||||||
return new WebBrowser();
|
return new WebBrowser();
|
||||||
}
|
}
|
||||||
|
@ -286,7 +286,6 @@ public class InstallPlugin extends javax.swing.JInternalFrame {
|
|||||||
}
|
}
|
||||||
}//GEN-LAST:event_installBtnActionPerformed
|
}//GEN-LAST:event_installBtnActionPerformed
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JTextField author;
|
private javax.swing.JTextField author;
|
||||||
private javax.swing.JLabel iconBox;
|
private javax.swing.JLabel iconBox;
|
||||||
|
@ -47,63 +47,70 @@ package net.apocalypselabs.symat;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple key/value pair for lists and stuff.
|
* A simple key/value pair for lists and stuff.
|
||||||
|
*
|
||||||
* @author Skylar
|
* @author Skylar
|
||||||
*/
|
*/
|
||||||
public class KeyValListItem {
|
public class KeyValListItem {
|
||||||
|
|
||||||
// I know, not Java code standards.
|
// I know, not Java code standards.
|
||||||
// But it's easier and cleaner this way.
|
// But it's easier and cleaner this way.
|
||||||
private String VAL = "";
|
private String VAL = "";
|
||||||
private String KEY = "";
|
private String KEY = "";
|
||||||
|
|
||||||
public KeyValListItem() {
|
public KeyValListItem() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public KeyValListItem(String key) {
|
public KeyValListItem(String key) {
|
||||||
KEY = key;
|
KEY = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
public KeyValListItem(String key, String val) {
|
public KeyValListItem(String key, String val) {
|
||||||
KEY = key;
|
KEY = key;
|
||||||
VAL = val;
|
VAL = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the key.
|
* Get the key.
|
||||||
|
*
|
||||||
* @return the key.
|
* @return the key.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return KEY;
|
return KEY;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the value of this pair.
|
* Get the value of this pair.
|
||||||
|
*
|
||||||
* @return duh.
|
* @return duh.
|
||||||
*/
|
*/
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
return VAL;
|
return VAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the key.
|
* Set the key.
|
||||||
* <br>To get it back use toString().
|
* <br>To get it back use toString().
|
||||||
|
*
|
||||||
* @param key the key.
|
* @param key the key.
|
||||||
*/
|
*/
|
||||||
public void setKey(String key) {
|
public void setKey(String key) {
|
||||||
KEY = key;
|
KEY = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the value for this pair.
|
* Set the value for this pair.
|
||||||
* @param value
|
*
|
||||||
|
* @param value
|
||||||
*/
|
*/
|
||||||
public void setValue(String value) {
|
public void setValue(String value) {
|
||||||
VAL = value;
|
VAL = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is this pair populated?
|
* Is this pair populated?
|
||||||
|
*
|
||||||
* @return True if key and value are empty.
|
* @return True if key and value are empty.
|
||||||
*/
|
*/
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
|
@ -303,7 +303,7 @@ public class License extends javax.swing.JInternalFrame {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean checkEmail(String email) {
|
public static boolean checkEmail(String email) {
|
||||||
String regex = "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]+$";
|
String regex = "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]+$";
|
||||||
return (email.matches(regex));
|
return (email.matches(regex));
|
||||||
|
@ -429,7 +429,6 @@ public class PackagePlugin extends javax.swing.JInternalFrame {
|
|||||||
}
|
}
|
||||||
}//GEN-LAST:event_defaultIconBtnActionPerformed
|
}//GEN-LAST:event_defaultIconBtnActionPerformed
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JTextField author;
|
private javax.swing.JTextField author;
|
||||||
private javax.swing.JTextArea codeBox;
|
private javax.swing.JTextArea codeBox;
|
||||||
|
@ -69,9 +69,11 @@ public class SingleInstanceServer extends NanoHTTPD {
|
|||||||
}
|
}
|
||||||
return new NanoHTTPD.Response(msg);
|
return new NanoHTTPD.Response(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class LaunchThread extends Thread {
|
private class LaunchThread extends Thread {
|
||||||
|
|
||||||
String arg;
|
String arg;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (arg.endsWith(".sytt")) {
|
if (arg.endsWith(".sytt")) {
|
||||||
@ -92,7 +94,7 @@ public class SingleInstanceServer extends NanoHTTPD {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public LaunchThread(String a) {
|
public LaunchThread(String a) {
|
||||||
arg = a;
|
arg = a;
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ public class Tasks extends javax.swing.JInternalFrame {
|
|||||||
private String tltitle = "Untitled";
|
private String tltitle = "Untitled";
|
||||||
|
|
||||||
private final JFileChooser fc = new JFileChooser();
|
private final JFileChooser fc = new JFileChooser();
|
||||||
|
|
||||||
private File ondisk = null;
|
private File ondisk = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -58,7 +58,7 @@ public class Theme {
|
|||||||
private static final Color WHITE = Color.WHITE;
|
private static final Color WHITE = Color.WHITE;
|
||||||
private static final Color BLACK = Color.BLACK;
|
private static final Color BLACK = Color.BLACK;
|
||||||
private static final Color DBACK = new Color(41, 49, 52);
|
private static final Color DBACK = new Color(41, 49, 52);
|
||||||
private static final Color LBACK = new Color(240,240,240);
|
private static final Color LBACK = new Color(240, 240, 240);
|
||||||
private static final Color DGRAY = Color.DARK_GRAY;
|
private static final Color DGRAY = Color.DARK_GRAY;
|
||||||
private static final Color LGRAY = Color.LIGHT_GRAY;
|
private static final Color LGRAY = Color.LIGHT_GRAY;
|
||||||
|
|
||||||
@ -125,11 +125,11 @@ public class Theme {
|
|||||||
public static Color windowColor() {
|
public static Color windowColor() {
|
||||||
return (currentTheme == THEME_LIGHT) ? LGRAY : DGRAY;
|
return (currentTheme == THEME_LIGHT) ? LGRAY : DGRAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Color tabColor() {
|
public static Color tabColor() {
|
||||||
return (currentTheme == THEME_LIGHT) ? LBACK : DBACK;
|
return (currentTheme == THEME_LIGHT) ? LBACK : DBACK;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String editorTheme() {
|
public static String editorTheme() {
|
||||||
return (currentTheme == THEME_LIGHT) ? "default" : "dark";
|
return (currentTheme == THEME_LIGHT) ? "default" : "dark";
|
||||||
}
|
}
|
||||||
|
@ -59,15 +59,15 @@ public class Task extends javax.swing.JPanel {
|
|||||||
public Task(boolean complete, String name, String desc) {
|
public Task(boolean complete, String name, String desc) {
|
||||||
this((complete ? 100 : 0), name, desc);
|
this((complete ? 100 : 0), name, desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task(int complete, String name, String desc) {
|
public Task(int complete, String name, String desc) {
|
||||||
this();
|
this();
|
||||||
percent = complete;
|
percent = complete;
|
||||||
setComplete(percent);
|
setComplete(percent);
|
||||||
taskName.setText(name);
|
taskName.setText(name);
|
||||||
taskDesc.setText(desc);
|
taskDesc.setText(desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return taskName.getText();
|
return taskName.getText();
|
||||||
@ -76,10 +76,11 @@ public class Task extends javax.swing.JPanel {
|
|||||||
public String getDesc() {
|
public String getDesc() {
|
||||||
return taskDesc.getText();
|
return taskDesc.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getComplete() {
|
public int getComplete() {
|
||||||
return percent;
|
return percent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new form Task
|
* Creates new form Task
|
||||||
*/
|
*/
|
||||||
@ -96,7 +97,7 @@ public class Task extends javax.swing.JPanel {
|
|||||||
)));
|
)));
|
||||||
statusLabel.setToolTipText(i == 100 ? "Complete" : "Incomplete");
|
statusLabel.setToolTipText(i == 100 ? "Complete" : "Incomplete");
|
||||||
percentDone.setValue(i);
|
percentDone.setValue(i);
|
||||||
percentDone.setString(i+"%");
|
percentDone.setString(i + "%");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -183,7 +184,6 @@ public class Task extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
}//GEN-LAST:event_menuBtnActionPerformed
|
}//GEN-LAST:event_menuBtnActionPerformed
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JScrollPane jScrollPane1;
|
private javax.swing.JScrollPane jScrollPane1;
|
||||||
private javax.swing.JButton menuBtn;
|
private javax.swing.JButton menuBtn;
|
||||||
|
@ -9,15 +9,16 @@ import java.util.ArrayList;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Container to save tasks.
|
* Container to save tasks.
|
||||||
|
*
|
||||||
* @author Skylar
|
* @author Skylar
|
||||||
*/
|
*/
|
||||||
public class TaskList implements Serializable {
|
public class TaskList implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 6754527404697894562L;
|
private static final long serialVersionUID = 6754527404697894562L;
|
||||||
|
|
||||||
private final ArrayList<SingleTask> tasks = new ArrayList<>();
|
private final ArrayList<SingleTask> tasks = new ArrayList<>();
|
||||||
private String title = "Untitled";
|
private String title = "Untitled";
|
||||||
|
|
||||||
public void addTask(Task t) {
|
public void addTask(Task t) {
|
||||||
SingleTask st = new SingleTask();
|
SingleTask st = new SingleTask();
|
||||||
st.name = t.toString();
|
st.name = t.toString();
|
||||||
@ -25,7 +26,7 @@ public class TaskList implements Serializable {
|
|||||||
st.percent = t.getComplete();
|
st.percent = t.getComplete();
|
||||||
tasks.add(st);
|
tasks.add(st);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task[] getTasks() {
|
public Task[] getTasks() {
|
||||||
Task[] a = new Task[tasks.size()];
|
Task[] a = new Task[tasks.size()];
|
||||||
for (int i = 0; i < tasks.size(); i++) {
|
for (int i = 0; i < tasks.size(); i++) {
|
||||||
@ -36,22 +37,23 @@ public class TaskList implements Serializable {
|
|||||||
}
|
}
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTitle(String t) {
|
public void setTitle(String t) {
|
||||||
title = t;
|
title = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TaskList() {
|
public TaskList() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class SingleTask implements Serializable {
|
class SingleTask implements Serializable {
|
||||||
|
|
||||||
public String name = "";
|
public String name = "";
|
||||||
public String desc = "";
|
public String desc = "";
|
||||||
public int percent = 0;
|
public int percent = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@ public class TaskMenu extends javax.swing.JPanel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new TaskMenu
|
* Creates new TaskMenu
|
||||||
|
*
|
||||||
* @param percent Task completion percentage.
|
* @param percent Task completion percentage.
|
||||||
* @param name Task name
|
* @param name Task name
|
||||||
* @param desc Task description
|
* @param desc Task description
|
||||||
@ -63,33 +64,35 @@ public class TaskMenu extends javax.swing.JPanel {
|
|||||||
nameBox.setText(name);
|
nameBox.setText(name);
|
||||||
descBox.setText(desc);
|
descBox.setText(desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new TaskMenu
|
* Creates new TaskMenu
|
||||||
*/
|
*/
|
||||||
public TaskMenu() {
|
public TaskMenu() {
|
||||||
initComponents();
|
initComponents();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getPercent() {
|
public int getPercent() {
|
||||||
return percentSlider.getValue();
|
return percentSlider.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean deleteMe() {
|
public boolean deleteMe() {
|
||||||
return delCheck.isSelected();
|
return delCheck.isSelected();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the name of the task.
|
* Get the name of the task.
|
||||||
|
*
|
||||||
* @return Task name.
|
* @return Task name.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return nameBox.getText();
|
return nameBox.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the task description.
|
* Get the task description.
|
||||||
|
*
|
||||||
* @return The description.
|
* @return The description.
|
||||||
*/
|
*/
|
||||||
public String getDesc() {
|
public String getDesc() {
|
||||||
@ -171,7 +174,6 @@ public class TaskMenu extends javax.swing.JPanel {
|
|||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JCheckBox delCheck;
|
private javax.swing.JCheckBox delCheck;
|
||||||
private javax.swing.JTextArea descBox;
|
private javax.swing.JTextArea descBox;
|
||||||
|
@ -66,15 +66,15 @@ public class TextBox extends javax.swing.JInternalFrame {
|
|||||||
}
|
}
|
||||||
textBox.setFont(Main.ubuntuRegular.deriveFont((float) font_size));
|
textBox.setFont(Main.ubuntuRegular.deriveFont((float) font_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void set(String txt) {
|
public void set(String txt) {
|
||||||
textBox.setText(txt);
|
textBox.setText(txt);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String get() {
|
public String get() {
|
||||||
return textBox.getText();
|
return textBox.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void edit(boolean is) {
|
public void edit(boolean is) {
|
||||||
textBox.setEditable(is);
|
textBox.setEditable(is);
|
||||||
}
|
}
|
||||||
@ -82,7 +82,7 @@ public class TextBox extends javax.swing.JInternalFrame {
|
|||||||
public void open() {
|
public void open() {
|
||||||
Main.loadFrame(this, true);
|
Main.loadFrame(this, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called from within the constructor to initialize the form.
|
* This method is called from within the constructor to initialize the form.
|
||||||
* WARNING: Do NOT modify this code. The content of this method is always
|
* WARNING: Do NOT modify this code. The content of this method is always
|
||||||
@ -122,7 +122,6 @@ public class TextBox extends javax.swing.JInternalFrame {
|
|||||||
pack();
|
pack();
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JScrollPane jScrollPane1;
|
private javax.swing.JScrollPane jScrollPane1;
|
||||||
private javax.swing.JTextArea textBox;
|
private javax.swing.JTextArea textBox;
|
||||||
|
@ -11,12 +11,12 @@ import javax.swing.ImageIcon;
|
|||||||
* Plugin container class.
|
* Plugin container class.
|
||||||
*/
|
*/
|
||||||
public class Plugin implements Serializable {
|
public class Plugin implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 13371L;
|
private static final long serialVersionUID = 13371L;
|
||||||
|
|
||||||
public final int LANG_JS = 0;
|
public final int LANG_JS = 0;
|
||||||
public final int LANG_PY = 1;
|
public final int LANG_PY = 1;
|
||||||
|
|
||||||
private ImageIcon icon;
|
private ImageIcon icon;
|
||||||
private String packageName = "";
|
private String packageName = "";
|
||||||
private String script = "";
|
private String script = "";
|
||||||
@ -28,38 +28,42 @@ public class Plugin implements Serializable {
|
|||||||
private String other = "";
|
private String other = "";
|
||||||
private String version = "";
|
private String version = "";
|
||||||
private int lang = LANG_JS;
|
private int lang = LANG_JS;
|
||||||
|
|
||||||
public Plugin() {
|
public Plugin() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get plugin version.
|
* Get plugin version.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getVersion() {
|
public String getVersion() {
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set plugin version.
|
* Set plugin version.
|
||||||
* @param v
|
*
|
||||||
|
* @param v
|
||||||
*/
|
*/
|
||||||
public void setVersion(String v) {
|
public void setVersion(String v) {
|
||||||
version = v;
|
version = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin package name.
|
* Get the plugin package name.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getPackage() {
|
public String getPackage() {
|
||||||
return packageName;
|
return packageName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin package name.
|
* Set the plugin package name.
|
||||||
* @param pkg
|
*
|
||||||
|
* @param pkg
|
||||||
*/
|
*/
|
||||||
public void setPackage(String pkg) {
|
public void setPackage(String pkg) {
|
||||||
packageName = pkg;
|
packageName = pkg;
|
||||||
@ -67,55 +71,62 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin author name.
|
* Get the plugin author name.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getAuthor() {
|
public String getAuthor() {
|
||||||
return author;
|
return author;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin author name.
|
* Set the plugin author name.
|
||||||
* @param s
|
*
|
||||||
|
* @param s
|
||||||
*/
|
*/
|
||||||
public void setAuthor(String s) {
|
public void setAuthor(String s) {
|
||||||
author = s;
|
author = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin website.
|
* Get the plugin website.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getWebsite() {
|
public String getWebsite() {
|
||||||
return website;
|
return website;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin website.
|
* Set the plugin website.
|
||||||
* @param url
|
*
|
||||||
|
* @param url
|
||||||
*/
|
*/
|
||||||
public void setWebsite(String url) {
|
public void setWebsite(String url) {
|
||||||
website = url;
|
website = url;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get extra text data.
|
* Get extra text data.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getOther() {
|
public String getOther() {
|
||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set extra text data.
|
* Set extra text data.
|
||||||
* @param o
|
*
|
||||||
|
* @param o
|
||||||
*/
|
*/
|
||||||
public void setOther(String o) {
|
public void setOther(String o) {
|
||||||
other = o;
|
other = o;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin icon.
|
* Get the plugin icon.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public ImageIcon getIcon() {
|
public ImageIcon getIcon() {
|
||||||
return icon;
|
return icon;
|
||||||
@ -123,7 +134,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin icon.
|
* Set the plugin icon.
|
||||||
* @param i
|
*
|
||||||
|
* @param i
|
||||||
*/
|
*/
|
||||||
public void setIcon(ImageIcon i) {
|
public void setIcon(ImageIcon i) {
|
||||||
icon = i;
|
icon = i;
|
||||||
@ -131,7 +143,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin code.
|
* Get the plugin code.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getScript() {
|
public String getScript() {
|
||||||
return script;
|
return script;
|
||||||
@ -139,7 +152,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin code.
|
* Set the plugin code.
|
||||||
* @param s
|
*
|
||||||
|
* @param s
|
||||||
*/
|
*/
|
||||||
public void setScript(String s) {
|
public void setScript(String s) {
|
||||||
script = s;
|
script = s;
|
||||||
@ -147,7 +161,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* See getTitle().
|
* See getTitle().
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
@ -156,7 +171,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin short name/title.
|
* Get the plugin short name/title.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title;
|
return title;
|
||||||
@ -164,7 +180,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin short name/title.
|
* Set the plugin short name/title.
|
||||||
* @param n
|
*
|
||||||
|
* @param n
|
||||||
*/
|
*/
|
||||||
public void setTitle(String n) {
|
public void setTitle(String n) {
|
||||||
title = n;
|
title = n;
|
||||||
@ -172,7 +189,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plugin description text.
|
* Get the plugin description text.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getDesc() {
|
public String getDesc() {
|
||||||
return desc;
|
return desc;
|
||||||
@ -180,7 +198,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the plugin description text.
|
* Set the plugin description text.
|
||||||
* @param d
|
*
|
||||||
|
* @param d
|
||||||
*/
|
*/
|
||||||
public void setDesc(String d) {
|
public void setDesc(String d) {
|
||||||
desc = d;
|
desc = d;
|
||||||
@ -188,7 +207,8 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the long title/short description.
|
* Get the long title/short description.
|
||||||
* @return
|
*
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getLongTitle() {
|
public String getLongTitle() {
|
||||||
return longtitle;
|
return longtitle;
|
||||||
@ -196,22 +216,25 @@ public class Plugin implements Serializable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the long title/short description.
|
* Set the long title/short description.
|
||||||
* @param t
|
*
|
||||||
|
* @param t
|
||||||
*/
|
*/
|
||||||
public void setLongTitle(String t) {
|
public void setLongTitle(String t) {
|
||||||
longtitle = t;
|
longtitle = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the script language.
|
* Get the script language.
|
||||||
|
*
|
||||||
* @return LANG_JS or LANG_PY
|
* @return LANG_JS or LANG_PY
|
||||||
*/
|
*/
|
||||||
public int getLang() {
|
public int getLang() {
|
||||||
return lang;
|
return lang;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the script language.
|
* Set the script language.
|
||||||
|
*
|
||||||
* @param l LANG_JS or LANG_PY
|
* @param l LANG_JS or LANG_PY
|
||||||
*/
|
*/
|
||||||
public void setLang(int l) {
|
public void setLang(int l) {
|
||||||
|
@ -2,77 +2,77 @@
|
|||||||
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Dark theme based off of Notepad++'s Obsidian theme.
|
Dark theme based off of Notepad++'s Obsidian theme.
|
||||||
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
||||||
-->
|
-->
|
||||||
<RSyntaxTheme version="1.0">
|
<RSyntaxTheme version="1.0">
|
||||||
|
|
||||||
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
||||||
<!--<baseFont family="..." size="13"/>-->
|
<!--<baseFont family="..." size="13"/>-->
|
||||||
|
|
||||||
<!-- General editor colors. -->
|
<!-- General editor colors. -->
|
||||||
<background color="293134"/>
|
<background color="293134"/>
|
||||||
<caret color="c1cbc2"/>
|
<caret color="c1cbc2"/>
|
||||||
<selection useFG="false" bg="404E51" roundedEdges="false"/>
|
<selection useFG="false" bg="404E51" roundedEdges="false"/>
|
||||||
<currentLineHighlight color="2F393C" fade="false"/>
|
<currentLineHighlight color="2F393C" fade="false"/>
|
||||||
<marginLine fg="394448"/>
|
<marginLine fg="394448"/>
|
||||||
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
|
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
|
||||||
<markOccurrencesHighlight color="5b7179" border="false"/>
|
<markOccurrencesHighlight color="5b7179" border="false"/>
|
||||||
<matchedBracket fg="6A8088" bg="6b8189" highlightBoth="false" animate="true"/>
|
<matchedBracket fg="6A8088" bg="6b8189" highlightBoth="false" animate="true"/>
|
||||||
<hyperlinks fg="a082bd"/>
|
<hyperlinks fg="a082bd"/>
|
||||||
<secondaryLanguages>
|
<secondaryLanguages>
|
||||||
<language index="1" bg="334455"/>
|
<language index="1" bg="334455"/>
|
||||||
<language index="2" bg="223322"/>
|
<language index="2" bg="223322"/>
|
||||||
<language index="3" bg="ffe0f0"/>
|
<language index="3" bg="ffe0f0"/>
|
||||||
</secondaryLanguages>
|
</secondaryLanguages>
|
||||||
|
|
||||||
<!-- Gutter styling. -->
|
<!-- Gutter styling. -->
|
||||||
<gutterBorder color="81969A"/>
|
<gutterBorder color="81969A"/>
|
||||||
<lineNumbers fg="81969A"/>
|
<lineNumbers fg="81969A"/>
|
||||||
<foldIndicator fg="6A8088" iconBg="2f383c"/>
|
<foldIndicator fg="6A8088" iconBg="2f383c"/>
|
||||||
<iconRowHeader activeLineRange="3399ff"/>
|
<iconRowHeader activeLineRange="3399ff"/>
|
||||||
|
|
||||||
<!-- Syntax tokens. -->
|
<!-- Syntax tokens. -->
|
||||||
<tokenStyles>
|
<tokenStyles>
|
||||||
<style token="IDENTIFIER" fg="E0E2E4"/>
|
<style token="IDENTIFIER" fg="E0E2E4"/>
|
||||||
<style token="RESERVED_WORD" fg="93C763" bold="true"/>
|
<style token="RESERVED_WORD" fg="93C763" bold="true"/>
|
||||||
<style token="RESERVED_WORD_2" fg="93C763" bold="true"/>
|
<style token="RESERVED_WORD_2" fg="93C763" bold="true"/>
|
||||||
<style token="ANNOTATION" fg="E8E2B7"/>
|
<style token="ANNOTATION" fg="E8E2B7"/>
|
||||||
<style token="COMMENT_DOCUMENTATION" fg="6C788C"/>
|
<style token="COMMENT_DOCUMENTATION" fg="6C788C"/>
|
||||||
<style token="COMMENT_EOL" fg="66747B"/>
|
<style token="COMMENT_EOL" fg="66747B"/>
|
||||||
<style token="COMMENT_MULTILINE" fg="66747B"/>
|
<style token="COMMENT_MULTILINE" fg="66747B"/>
|
||||||
<style token="COMMENT_KEYWORD" fg="ae9fbf"/>
|
<style token="COMMENT_KEYWORD" fg="ae9fbf"/>
|
||||||
<style token="COMMENT_MARKUP" fg="ae9fbf"/>
|
<style token="COMMENT_MARKUP" fg="ae9fbf"/>
|
||||||
<style token="FUNCTION" fg="E0E2E4"/>
|
<style token="FUNCTION" fg="E0E2E4"/>
|
||||||
<style token="DATA_TYPE" fg="678CB1" bold="true"/>
|
<style token="DATA_TYPE" fg="678CB1" bold="true"/>
|
||||||
<style token="LITERAL_BOOLEAN" fg="93C763" bold="true"/>
|
<style token="LITERAL_BOOLEAN" fg="93C763" bold="true"/>
|
||||||
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="FFCD22"/>
|
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="FFCD22"/>
|
||||||
<style token="LITERAL_NUMBER_FLOAT" fg="FFCD22"/>
|
<style token="LITERAL_NUMBER_FLOAT" fg="FFCD22"/>
|
||||||
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="FFCD22"/>
|
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="FFCD22"/>
|
||||||
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="EC7600"/>
|
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="EC7600"/>
|
||||||
<style token="LITERAL_CHAR" fg="EC7600"/>
|
<style token="LITERAL_CHAR" fg="EC7600"/>
|
||||||
<style token="LITERAL_BACKQUOTE" fg="EC7600"/>
|
<style token="LITERAL_BACKQUOTE" fg="EC7600"/>
|
||||||
<style token="MARKUP_TAG_DELIMITER" fg="678CB1"/>
|
<style token="MARKUP_TAG_DELIMITER" fg="678CB1"/>
|
||||||
<style token="MARKUP_TAG_NAME" fg="ABBFD3" bold="true"/>
|
<style token="MARKUP_TAG_NAME" fg="ABBFD3" bold="true"/>
|
||||||
<style token="MARKUP_TAG_ATTRIBUTE" fg="B3B689"/>
|
<style token="MARKUP_TAG_ATTRIBUTE" fg="B3B689"/>
|
||||||
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="e1e2cf"/>
|
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="e1e2cf"/>
|
||||||
<style token="MARKUP_COMMENT" fg="66747B"/>
|
<style token="MARKUP_COMMENT" fg="66747B"/>
|
||||||
<style token="MARKUP_DTD" fg="A082BD"/>
|
<style token="MARKUP_DTD" fg="A082BD"/>
|
||||||
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="A082BD"/>
|
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="A082BD"/>
|
||||||
<style token="MARKUP_CDATA" fg="d5e6f0"/>
|
<style token="MARKUP_CDATA" fg="d5e6f0"/>
|
||||||
<style token="MARKUP_CDATA_DELIMITER" fg="ae9fbf"/>
|
<style token="MARKUP_CDATA_DELIMITER" fg="ae9fbf"/>
|
||||||
<style token="MARKUP_ENTITY_REFERENCE" fg="678CB1"/>
|
<style token="MARKUP_ENTITY_REFERENCE" fg="678CB1"/>
|
||||||
<style token="OPERATOR" fg="E8E2B7"/>
|
<style token="OPERATOR" fg="E8E2B7"/>
|
||||||
<style token="PREPROCESSOR" fg="A082BD"/>
|
<style token="PREPROCESSOR" fg="A082BD"/>
|
||||||
<style token="REGEX" fg="d39745"/>
|
<style token="REGEX" fg="d39745"/>
|
||||||
<style token="SEPARATOR" fg="E8E2B7"/>
|
<style token="SEPARATOR" fg="E8E2B7"/>
|
||||||
<style token="VARIABLE" fg="ae9fbf" bold="true"/>
|
<style token="VARIABLE" fg="ae9fbf" bold="true"/>
|
||||||
<style token="WHITESPACE" fg="E0E2E4"/>
|
<style token="WHITESPACE" fg="E0E2E4"/>
|
||||||
|
|
||||||
<style token="ERROR_IDENTIFIER" fg="E0E2E4" bg="04790e"/>
|
<style token="ERROR_IDENTIFIER" fg="E0E2E4" bg="04790e"/>
|
||||||
<style token="ERROR_NUMBER_FORMAT" fg="E0E2E4" bg="04790e"/>
|
<style token="ERROR_NUMBER_FORMAT" fg="E0E2E4" bg="04790e"/>
|
||||||
<style token="ERROR_STRING_DOUBLE" fg="E0E2E4" bg="04790e"/>
|
<style token="ERROR_STRING_DOUBLE" fg="E0E2E4" bg="04790e"/>
|
||||||
<style token="ERROR_CHAR" fg="E0E2E4" bg="04790e"/>
|
<style token="ERROR_CHAR" fg="E0E2E4" bg="04790e"/>
|
||||||
</tokenStyles>
|
</tokenStyles>
|
||||||
|
|
||||||
</RSyntaxTheme>
|
</RSyntaxTheme>
|
||||||
|
@ -2,77 +2,77 @@
|
|||||||
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
RSyntaxTextArea's default theme.
|
RSyntaxTextArea's default theme.
|
||||||
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
||||||
-->
|
-->
|
||||||
<RSyntaxTheme version="1.0">
|
<RSyntaxTheme version="1.0">
|
||||||
|
|
||||||
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
||||||
<!--<baseFont family="..." size="13"/>-->
|
<!--<baseFont family="..." size="13"/>-->
|
||||||
|
|
||||||
<!-- General editor colors. -->
|
<!-- General editor colors. -->
|
||||||
<background color="ffffff"/>
|
<background color="ffffff"/>
|
||||||
<caret color="ff0000"/>
|
<caret color="ff0000"/>
|
||||||
<selection fg="default" useFG="false" bg="c8c8ff"/>
|
<selection fg="default" useFG="false" bg="c8c8ff"/>
|
||||||
<currentLineHighlight color="ffffaa" fade="false"/>
|
<currentLineHighlight color="ffffaa" fade="false"/>
|
||||||
<marginLine fg="b0b4b9"/>
|
<marginLine fg="b0b4b9"/>
|
||||||
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
|
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
|
||||||
<markOccurrencesHighlight color="d4d4d4" border="false"/>
|
<markOccurrencesHighlight color="d4d4d4" border="false"/>
|
||||||
<matchedBracket fg="000080" bg="eaeaff" highlightBoth="false" animate="true"/>
|
<matchedBracket fg="000080" bg="eaeaff" highlightBoth="false" animate="true"/>
|
||||||
<hyperlinks fg="0000ff"/>
|
<hyperlinks fg="0000ff"/>
|
||||||
<secondaryLanguages>
|
<secondaryLanguages>
|
||||||
<language index="1" bg="fff0cc"/>
|
<language index="1" bg="fff0cc"/>
|
||||||
<language index="2" bg="dafeda"/>
|
<language index="2" bg="dafeda"/>
|
||||||
<language index="3" bg="ffe0f0"/>
|
<language index="3" bg="ffe0f0"/>
|
||||||
</secondaryLanguages>
|
</secondaryLanguages>
|
||||||
|
|
||||||
<!-- Gutter styling. -->
|
<!-- Gutter styling. -->
|
||||||
<gutterBorder color="dddddd"/>
|
<gutterBorder color="dddddd"/>
|
||||||
<lineNumbers fg="787878"/>
|
<lineNumbers fg="787878"/>
|
||||||
<foldIndicator fg="808080" iconBg="ffffff"/>
|
<foldIndicator fg="808080" iconBg="ffffff"/>
|
||||||
<iconRowHeader activeLineRange="3399ff"/>
|
<iconRowHeader activeLineRange="3399ff"/>
|
||||||
|
|
||||||
<!-- Syntax tokens. -->
|
<!-- Syntax tokens. -->
|
||||||
<tokenStyles>
|
<tokenStyles>
|
||||||
<style token="IDENTIFIER" fg="000000"/>
|
<style token="IDENTIFIER" fg="000000"/>
|
||||||
<style token="RESERVED_WORD" fg="0000ff" bold="true"/>
|
<style token="RESERVED_WORD" fg="0000ff" bold="true"/>
|
||||||
<style token="RESERVED_WORD_2" fg="0000ff" bold="true"/>
|
<style token="RESERVED_WORD_2" fg="0000ff" bold="true"/>
|
||||||
<style token="ANNOTATION" fg="808080"/>
|
<style token="ANNOTATION" fg="808080"/>
|
||||||
<style token="COMMENT_DOCUMENTATION" fg="a40000" italic="true"/>
|
<style token="COMMENT_DOCUMENTATION" fg="a40000" italic="true"/>
|
||||||
<style token="COMMENT_EOL" fg="008000" italic="true"/>
|
<style token="COMMENT_EOL" fg="008000" italic="true"/>
|
||||||
<style token="COMMENT_MULTILINE" fg="008000" italic="true"/>
|
<style token="COMMENT_MULTILINE" fg="008000" italic="true"/>
|
||||||
<style token="COMMENT_KEYWORD" fg="ff9900" bold="true"/>
|
<style token="COMMENT_KEYWORD" fg="ff9900" bold="true"/>
|
||||||
<style token="COMMENT_MARKUP" fg="808080"/>
|
<style token="COMMENT_MARKUP" fg="808080"/>
|
||||||
<style token="DATA_TYPE" fg="008080" bold="true"/>
|
<style token="DATA_TYPE" fg="008080" bold="true"/>
|
||||||
<style token="FUNCTION" fg="ad8000"/>
|
<style token="FUNCTION" fg="ad8000"/>
|
||||||
<style token="LITERAL_BOOLEAN" fg="0000ff" bold="true"/>
|
<style token="LITERAL_BOOLEAN" fg="0000ff" bold="true"/>
|
||||||
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="6400C8"/>
|
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="6400C8"/>
|
||||||
<style token="LITERAL_NUMBER_FLOAT" fg="6400C8"/>
|
<style token="LITERAL_NUMBER_FLOAT" fg="6400C8"/>
|
||||||
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="6400C8"/>
|
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="6400C8"/>
|
||||||
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="DC009C"/>
|
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="DC009C"/>
|
||||||
<style token="LITERAL_CHAR" fg="DC009C"/>
|
<style token="LITERAL_CHAR" fg="DC009C"/>
|
||||||
<style token="LITERAL_BACKQUOTE" fg="DC009C"/>
|
<style token="LITERAL_BACKQUOTE" fg="DC009C"/>
|
||||||
<style token="MARKUP_TAG_DELIMITER" fg="ff0000"/>
|
<style token="MARKUP_TAG_DELIMITER" fg="ff0000"/>
|
||||||
<style token="MARKUP_TAG_NAME" fg="0000ff"/>
|
<style token="MARKUP_TAG_NAME" fg="0000ff"/>
|
||||||
<style token="MARKUP_TAG_ATTRIBUTE" fg="3f7f7f"/>
|
<style token="MARKUP_TAG_ATTRIBUTE" fg="3f7f7f"/>
|
||||||
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="DC009C"/>
|
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="DC009C"/>
|
||||||
<style token="MARKUP_COMMENT" fg="006000" italic="true"/>
|
<style token="MARKUP_COMMENT" fg="006000" italic="true"/>
|
||||||
<style token="MARKUP_DTD" fg="ad8000"/>
|
<style token="MARKUP_DTD" fg="ad8000"/>
|
||||||
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="808080"/>
|
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="808080"/>
|
||||||
<style token="MARKUP_CDATA" fg="cc6600"/>
|
<style token="MARKUP_CDATA" fg="cc6600"/>
|
||||||
<style token="MARKUP_CDATA_DELIMITER" fg="008080"/>
|
<style token="MARKUP_CDATA_DELIMITER" fg="008080"/>
|
||||||
<style token="MARKUP_ENTITY_REFERENCE" fg="008000"/>
|
<style token="MARKUP_ENTITY_REFERENCE" fg="008000"/>
|
||||||
<style token="OPERATOR" fg="804040"/>
|
<style token="OPERATOR" fg="804040"/>
|
||||||
<style token="PREPROCESSOR" fg="808080"/>
|
<style token="PREPROCESSOR" fg="808080"/>
|
||||||
<style token="REGEX" fg="008040"/>
|
<style token="REGEX" fg="008040"/>
|
||||||
<style token="SEPARATOR" fg="ff0000"/>
|
<style token="SEPARATOR" fg="ff0000"/>
|
||||||
<style token="VARIABLE" fg="ee8800" bold="true"/>
|
<style token="VARIABLE" fg="ee8800" bold="true"/>
|
||||||
<style token="WHITESPACE" fg="000000"/>
|
<style token="WHITESPACE" fg="000000"/>
|
||||||
|
|
||||||
<style token="ERROR_IDENTIFIER" fg="000000" bg="ffcccc"/>
|
<style token="ERROR_IDENTIFIER" fg="000000" bg="ffcccc"/>
|
||||||
<style token="ERROR_NUMBER_FORMAT" fg="000000" bg="ffcccc"/>
|
<style token="ERROR_NUMBER_FORMAT" fg="000000" bg="ffcccc"/>
|
||||||
<style token="ERROR_STRING_DOUBLE" fg="000000" bg="ffcccc"/>
|
<style token="ERROR_STRING_DOUBLE" fg="000000" bg="ffcccc"/>
|
||||||
<style token="ERROR_CHAR" fg="000000" bg="ffcccc"/>
|
<style token="ERROR_CHAR" fg="000000" bg="ffcccc"/>
|
||||||
</tokenStyles>
|
</tokenStyles>
|
||||||
|
|
||||||
</RSyntaxTheme>
|
</RSyntaxTheme>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user