Recursive OCD code/comment formatting

master
skylarmt 9 years ago
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
*/
public class BadInputException extends Exception {
public BadInputException() {
super();
}
public BadInputException(String msg) {
super(msg);
}

@ -18,17 +18,19 @@ public class Debug {
// If output should be on or off
public static boolean debug = true;
/**
* Turn debug output on and off.
* @param b
*
* @param b
*/
public static void setDebug(boolean b) {
debug = b;
}
/**
* Check if debug output is enabled.
*
* @return true if it is.
*/
public static boolean getDebug() {
@ -37,6 +39,7 @@ public class Debug {
/**
* Call System.out.println(data) if debug output enabled.
*
* @param data Data to print.
*/
public static void println(Object data) {
@ -47,6 +50,7 @@ public class Debug {
/**
* Call System.err.println(data) if debug output enabled.
*
* @param data Data to print.
*/
public static void printerr(Object data) {
@ -57,6 +61,7 @@ public class Debug {
/**
* Call e.printStackTrace() if debug output enabled.
*
* @param e an Exception.
*/
@SuppressWarnings(value = {"CallToPrintStackTrace"})

@ -1000,7 +1000,6 @@ public class Editor extends javax.swing.JInternalFrame {
}
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton clearBtn;
private javax.swing.JMenu codeLangMenu;

@ -52,6 +52,7 @@ package net.apocalypselabs.symat;
public class FontOptions extends javax.swing.JPanel {
private boolean modified = false;
/**
* Creates new form FontOptions
*/
@ -111,9 +112,9 @@ public class FontOptions extends javax.swing.JPanel {
}// </editor-fold>//GEN-END:initComponents
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);
} else if ((int)jSpinner1.getValue() > 64) {
} else if ((int) jSpinner1.getValue() > 64) {
jSpinner1.setValue(64);
}
modified = true;

@ -1184,7 +1184,7 @@ public class Functions {
public TextBox textbox() {
return new TextBox();
}
public WebBrowser browser() {
return new WebBrowser();
}

@ -286,7 +286,6 @@ public class InstallPlugin extends javax.swing.JInternalFrame {
}
}//GEN-LAST:event_installBtnActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTextField author;
private javax.swing.JLabel iconBox;

@ -47,63 +47,70 @@ package net.apocalypselabs.symat;
/**
* A simple key/value pair for lists and stuff.
*
* @author Skylar
*/
public class KeyValListItem {
// I know, not Java code standards.
// But it's easier and cleaner this way.
private String VAL = "";
private String KEY = "";
public KeyValListItem() {
}
public KeyValListItem(String key) {
KEY = key;
}
public KeyValListItem(String key, String val) {
KEY = key;
VAL = val;
}
/**
* Get the key.
*
* @return the key.
*/
@Override
public String toString() {
return KEY;
}
/**
* Get the value of this pair.
*
* @return duh.
*/
public String getValue() {
return VAL;
}
/**
* Set the key.
* <br>To get it back use toString().
*
* @param key the key.
*/
public void setKey(String key) {
KEY = key;
}
/**
* Set the value for this pair.
* @param value
*
* @param value
*/
public void setValue(String value) {
VAL = value;
}
/**
* Is this pair populated?
*
* @return True if key and value are empty.
*/
public boolean isEmpty() {

@ -303,7 +303,7 @@ public class License extends javax.swing.JInternalFrame {
return false;
}
}
public static boolean checkEmail(String email) {
String regex = "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]+$";
return (email.matches(regex));

@ -429,7 +429,6 @@ public class PackagePlugin extends javax.swing.JInternalFrame {
}
}//GEN-LAST:event_defaultIconBtnActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTextField author;
private javax.swing.JTextArea codeBox;

@ -69,9 +69,11 @@ public class SingleInstanceServer extends NanoHTTPD {
}
return new NanoHTTPD.Response(msg);
}
private class LaunchThread extends Thread {
String arg;
@Override
public void run() {
if (arg.endsWith(".sytt")) {
@ -92,7 +94,7 @@ public class SingleInstanceServer extends NanoHTTPD {
}
});
}
public LaunchThread(String a) {
arg = a;
}

@ -69,7 +69,7 @@ public class Tasks extends javax.swing.JInternalFrame {
private String tltitle = "Untitled";
private final JFileChooser fc = new JFileChooser();
private File ondisk = null;
/**

@ -58,7 +58,7 @@ public class Theme {
private static final Color WHITE = Color.WHITE;
private static final Color BLACK = Color.BLACK;
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 LGRAY = Color.LIGHT_GRAY;
@ -125,11 +125,11 @@ public class Theme {
public static Color windowColor() {
return (currentTheme == THEME_LIGHT) ? LGRAY : DGRAY;
}
public static Color tabColor() {
return (currentTheme == THEME_LIGHT) ? LBACK : DBACK;
}
public static String editorTheme() {
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) {
this((complete ? 100 : 0), name, desc);
}
public Task(int complete, String name, String desc) {
this();
percent = complete;
setComplete(percent);
taskName.setText(name);
taskDesc.setText(desc);
taskDesc.setText(desc);
}
@Override
public String toString() {
return taskName.getText();
@ -76,10 +76,11 @@ public class Task extends javax.swing.JPanel {
public String getDesc() {
return taskDesc.getText();
}
public int getComplete() {
return percent;
}
/**
* Creates new form Task
*/
@ -96,7 +97,7 @@ public class Task extends javax.swing.JPanel {
)));
statusLabel.setToolTipText(i == 100 ? "Complete" : "Incomplete");
percentDone.setValue(i);
percentDone.setString(i+"%");
percentDone.setString(i + "%");
}
/**
@ -183,7 +184,6 @@ public class Task extends javax.swing.JPanel {
}
}//GEN-LAST:event_menuBtnActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JButton menuBtn;

@ -9,15 +9,16 @@ import java.util.ArrayList;
/**
* Container to save tasks.
*
* @author Skylar
*/
public class TaskList implements Serializable {
private static final long serialVersionUID = 6754527404697894562L;
private final ArrayList<SingleTask> tasks = new ArrayList<>();
private String title = "Untitled";
public void addTask(Task t) {
SingleTask st = new SingleTask();
st.name = t.toString();
@ -25,7 +26,7 @@ public class TaskList implements Serializable {
st.percent = t.getComplete();
tasks.add(st);
}
public Task[] getTasks() {
Task[] a = new Task[tasks.size()];
for (int i = 0; i < tasks.size(); i++) {
@ -36,22 +37,23 @@ public class TaskList implements Serializable {
}
return a;
}
public void setTitle(String t) {
title = t;
}
public String getTitle() {
return title;
}
public TaskList() {
}
class SingleTask implements Serializable {
public String name = "";
public String desc = "";
public int percent = 0;
}
}
}

@ -53,6 +53,7 @@ public class TaskMenu extends javax.swing.JPanel {
/**
* Creates new TaskMenu
*
* @param percent Task completion percentage.
* @param name Task name
* @param desc Task description
@ -63,33 +64,35 @@ public class TaskMenu extends javax.swing.JPanel {
nameBox.setText(name);
descBox.setText(desc);
}
/**
* Creates new TaskMenu
*/
public TaskMenu() {
initComponents();
}
public int getPercent() {
return percentSlider.getValue();
}
public boolean deleteMe() {
return delCheck.isSelected();
}
/**
* Get the name of the task.
*
* @return Task name.
*/
@Override
public String toString() {
return nameBox.getText();
}
/**
* Get the task description.
*
* @return The description.
*/
public String getDesc() {
@ -171,7 +174,6 @@ public class TaskMenu extends javax.swing.JPanel {
);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JCheckBox delCheck;
private javax.swing.JTextArea descBox;

@ -66,15 +66,15 @@ public class TextBox extends javax.swing.JInternalFrame {
}
textBox.setFont(Main.ubuntuRegular.deriveFont((float) font_size));
}
public void set(String txt) {
textBox.setText(txt);
}
public String get() {
return textBox.getText();
}
public void edit(boolean is) {
textBox.setEditable(is);
}
@ -82,7 +82,7 @@ public class TextBox extends javax.swing.JInternalFrame {
public void open() {
Main.loadFrame(this, true);
}
/**
* 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
@ -122,7 +122,6 @@ public class TextBox extends javax.swing.JInternalFrame {
pack();
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea textBox;

@ -11,12 +11,12 @@ import javax.swing.ImageIcon;
* Plugin container class.
*/
public class Plugin implements Serializable {
private static final long serialVersionUID = 13371L;
public final int LANG_JS = 0;
public final int LANG_PY = 1;
private ImageIcon icon;
private String packageName = "";
private String script = "";
@ -28,38 +28,42 @@ public class Plugin implements Serializable {
private String other = "";
private String version = "";
private int lang = LANG_JS;
public Plugin() {
}
/**
* Get plugin version.
* @return
*
* @return
*/
public String getVersion() {
return version;
}
/**
* Set plugin version.
* @param v
*
* @param v
*/
public void setVersion(String v) {
version = v;
}
/**
* Get the plugin package name.
* @return
*
* @return
*/
public String getPackage() {
return packageName;
}
/**
* Set the plugin package name.
* @param pkg
*
* @param pkg
*/
public void setPackage(String pkg) {
packageName = pkg;
@ -67,55 +71,62 @@ public class Plugin implements Serializable {
/**
* Get the plugin author name.
* @return
*
* @return
*/
public String getAuthor() {
return author;
}
/**
* Set the plugin author name.
* @param s
*
* @param s
*/
public void setAuthor(String s) {
author = s;
}
/**
* Get the plugin website.
* @return
*
* @return
*/
public String getWebsite() {
return website;
}
/**
* Set the plugin website.
* @param url
*
* @param url
*/
public void setWebsite(String url) {
website = url;
}
/**
* Get extra text data.
* @return
*
* @return
*/
public String getOther() {
return other;
}
/**
* Set extra text data.
* @param o
*
* @param o
*/
public void setOther(String o) {
other = o;
}
/**
* Get the plugin icon.
* @return
*
* @return
*/
public ImageIcon getIcon() {
return icon;
@ -123,7 +134,8 @@ public class Plugin implements Serializable {
/**
* Set the plugin icon.
* @param i
*
* @param i
*/
public void setIcon(ImageIcon i) {
icon = i;
@ -131,7 +143,8 @@ public class Plugin implements Serializable {
/**
* Get the plugin code.
* @return
*
* @return
*/
public String getScript() {
return script;
@ -139,7 +152,8 @@ public class Plugin implements Serializable {
/**
* Set the plugin code.
* @param s
*
* @param s
*/
public void setScript(String s) {
script = s;
@ -147,7 +161,8 @@ public class Plugin implements Serializable {
/**
* See getTitle().
* @return
*
* @return
*/
@Override
public String toString() {
@ -156,7 +171,8 @@ public class Plugin implements Serializable {
/**
* Get the plugin short name/title.
* @return
*
* @return
*/
public String getTitle() {
return title;
@ -164,7 +180,8 @@ public class Plugin implements Serializable {
/**
* Set the plugin short name/title.
* @param n
*
* @param n
*/
public void setTitle(String n) {
title = n;
@ -172,7 +189,8 @@ public class Plugin implements Serializable {
/**
* Get the plugin description text.
* @return
*
* @return
*/
public String getDesc() {
return desc;
@ -180,7 +198,8 @@ public class Plugin implements Serializable {
/**
* Set the plugin description text.
* @param d
*
* @param d
*/
public void setDesc(String d) {
desc = d;
@ -188,7 +207,8 @@ public class Plugin implements Serializable {
/**
* Get the long title/short description.
* @return
*
* @return
*/
public String getLongTitle() {
return longtitle;
@ -196,22 +216,25 @@ public class Plugin implements Serializable {
/**
* Set the long title/short description.
* @param t
*
* @param t
*/
public void setLongTitle(String t) {
longtitle = t;
}
/**
* Get the script language.
*
* @return LANG_JS or LANG_PY
*/
public int getLang() {
return lang;
}
/**
* Set the script language.
*
* @param l LANG_JS or LANG_PY
*/
public void setLang(int l) {

@ -2,77 +2,77 @@
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
<!--
Dark theme based off of Notepad++'s Obsidian theme.
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
Dark theme based off of Notepad++'s Obsidian theme.
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
-->
<RSyntaxTheme version="1.0">
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
<!--<baseFont family="..." size="13"/>-->
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
<!--<baseFont family="..." size="13"/>-->
<!-- General editor colors. -->
<background color="293134"/>
<caret color="c1cbc2"/>
<selection useFG="false" bg="404E51" roundedEdges="false"/>
<currentLineHighlight color="2F393C" fade="false"/>
<marginLine fg="394448"/>
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
<markOccurrencesHighlight color="5b7179" border="false"/>
<matchedBracket fg="6A8088" bg="6b8189" highlightBoth="false" animate="true"/>
<hyperlinks fg="a082bd"/>
<secondaryLanguages>
<language index="1" bg="334455"/>
<language index="2" bg="223322"/>
<language index="3" bg="ffe0f0"/>
</secondaryLanguages>
<!-- General editor colors. -->
<background color="293134"/>
<caret color="c1cbc2"/>
<selection useFG="false" bg="404E51" roundedEdges="false"/>
<currentLineHighlight color="2F393C" fade="false"/>
<marginLine fg="394448"/>
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
<markOccurrencesHighlight color="5b7179" border="false"/>
<matchedBracket fg="6A8088" bg="6b8189" highlightBoth="false" animate="true"/>
<hyperlinks fg="a082bd"/>
<secondaryLanguages>
<language index="1" bg="334455"/>
<language index="2" bg="223322"/>
<language index="3" bg="ffe0f0"/>
</secondaryLanguages>
<!-- Gutter styling. -->
<gutterBorder color="81969A"/>
<lineNumbers fg="81969A"/>
<foldIndicator fg="6A8088" iconBg="2f383c"/>
<iconRowHeader activeLineRange="3399ff"/>
<!-- Gutter styling. -->
<gutterBorder color="81969A"/>
<lineNumbers fg="81969A"/>
<foldIndicator fg="6A8088" iconBg="2f383c"/>
<iconRowHeader activeLineRange="3399ff"/>
<!-- Syntax tokens. -->
<tokenStyles>
<style token="IDENTIFIER" fg="E0E2E4"/>
<style token="RESERVED_WORD" fg="93C763" bold="true"/>
<style token="RESERVED_WORD_2" fg="93C763" bold="true"/>
<style token="ANNOTATION" fg="E8E2B7"/>
<style token="COMMENT_DOCUMENTATION" fg="6C788C"/>
<style token="COMMENT_EOL" fg="66747B"/>
<style token="COMMENT_MULTILINE" fg="66747B"/>
<style token="COMMENT_KEYWORD" fg="ae9fbf"/>
<style token="COMMENT_MARKUP" fg="ae9fbf"/>
<style token="FUNCTION" fg="E0E2E4"/>
<style token="DATA_TYPE" fg="678CB1" bold="true"/>
<style token="LITERAL_BOOLEAN" fg="93C763" bold="true"/>
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="FFCD22"/>
<style token="LITERAL_NUMBER_FLOAT" fg="FFCD22"/>
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="FFCD22"/>
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="EC7600"/>
<style token="LITERAL_CHAR" fg="EC7600"/>
<style token="LITERAL_BACKQUOTE" fg="EC7600"/>
<style token="MARKUP_TAG_DELIMITER" fg="678CB1"/>
<style token="MARKUP_TAG_NAME" fg="ABBFD3" bold="true"/>
<style token="MARKUP_TAG_ATTRIBUTE" fg="B3B689"/>
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="e1e2cf"/>
<style token="MARKUP_COMMENT" fg="66747B"/>
<style token="MARKUP_DTD" fg="A082BD"/>
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="A082BD"/>
<style token="MARKUP_CDATA" fg="d5e6f0"/>
<style token="MARKUP_CDATA_DELIMITER" fg="ae9fbf"/>
<style token="MARKUP_ENTITY_REFERENCE" fg="678CB1"/>
<style token="OPERATOR" fg="E8E2B7"/>
<style token="PREPROCESSOR" fg="A082BD"/>
<style token="REGEX" fg="d39745"/>
<style token="SEPARATOR" fg="E8E2B7"/>
<style token="VARIABLE" fg="ae9fbf" bold="true"/>
<style token="WHITESPACE" fg="E0E2E4"/>
<!-- Syntax tokens. -->
<tokenStyles>
<style token="IDENTIFIER" fg="E0E2E4"/>
<style token="RESERVED_WORD" fg="93C763" bold="true"/>
<style token="RESERVED_WORD_2" fg="93C763" bold="true"/>
<style token="ANNOTATION" fg="E8E2B7"/>
<style token="COMMENT_DOCUMENTATION" fg="6C788C"/>
<style token="COMMENT_EOL" fg="66747B"/>
<style token="COMMENT_MULTILINE" fg="66747B"/>
<style token="COMMENT_KEYWORD" fg="ae9fbf"/>
<style token="COMMENT_MARKUP" fg="ae9fbf"/>
<style token="FUNCTION" fg="E0E2E4"/>
<style token="DATA_TYPE" fg="678CB1" bold="true"/>
<style token="LITERAL_BOOLEAN" fg="93C763" bold="true"/>
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="FFCD22"/>
<style token="LITERAL_NUMBER_FLOAT" fg="FFCD22"/>
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="FFCD22"/>
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="EC7600"/>
<style token="LITERAL_CHAR" fg="EC7600"/>
<style token="LITERAL_BACKQUOTE" fg="EC7600"/>
<style token="MARKUP_TAG_DELIMITER" fg="678CB1"/>
<style token="MARKUP_TAG_NAME" fg="ABBFD3" bold="true"/>
<style token="MARKUP_TAG_ATTRIBUTE" fg="B3B689"/>
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="e1e2cf"/>
<style token="MARKUP_COMMENT" fg="66747B"/>
<style token="MARKUP_DTD" fg="A082BD"/>
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="A082BD"/>
<style token="MARKUP_CDATA" fg="d5e6f0"/>
<style token="MARKUP_CDATA_DELIMITER" fg="ae9fbf"/>
<style token="MARKUP_ENTITY_REFERENCE" fg="678CB1"/>
<style token="OPERATOR" fg="E8E2B7"/>
<style token="PREPROCESSOR" fg="A082BD"/>
<style token="REGEX" fg="d39745"/>
<style token="SEPARATOR" fg="E8E2B7"/>
<style token="VARIABLE" fg="ae9fbf" bold="true"/>
<style token="WHITESPACE" fg="E0E2E4"/>
<style token="ERROR_IDENTIFIER" 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_CHAR" fg="E0E2E4" bg="04790e"/>
</tokenStyles>
<style token="ERROR_IDENTIFIER" 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_CHAR" fg="E0E2E4" bg="04790e"/>
</tokenStyles>
</RSyntaxTheme>

@ -2,77 +2,77 @@
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
<!--
RSyntaxTextArea's default theme.
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
RSyntaxTextArea's default theme.
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
-->
<RSyntaxTheme version="1.0">
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
<!--<baseFont family="..." size="13"/>-->
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
<!--<baseFont family="..." size="13"/>-->
<!-- General editor colors. -->
<background color="ffffff"/>
<caret color="ff0000"/>
<selection fg="default" useFG="false" bg="c8c8ff"/>
<currentLineHighlight color="ffffaa" fade="false"/>
<marginLine fg="b0b4b9"/>
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
<markOccurrencesHighlight color="d4d4d4" border="false"/>
<matchedBracket fg="000080" bg="eaeaff" highlightBoth="false" animate="true"/>
<hyperlinks fg="0000ff"/>
<secondaryLanguages>
<language index="1" bg="fff0cc"/>
<language index="2" bg="dafeda"/>
<language index="3" bg="ffe0f0"/>
</secondaryLanguages>
<!-- General editor colors. -->
<background color="ffffff"/>
<caret color="ff0000"/>
<selection fg="default" useFG="false" bg="c8c8ff"/>
<currentLineHighlight color="ffffaa" fade="false"/>
<marginLine fg="b0b4b9"/>
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
<markOccurrencesHighlight color="d4d4d4" border="false"/>
<matchedBracket fg="000080" bg="eaeaff" highlightBoth="false" animate="true"/>
<hyperlinks fg="0000ff"/>
<secondaryLanguages>
<language index="1" bg="fff0cc"/>
<language index="2" bg="dafeda"/>
<language index="3" bg="ffe0f0"/>
</secondaryLanguages>
<!-- Gutter styling. -->
<gutterBorder color="dddddd"/>
<lineNumbers fg="787878"/>
<foldIndicator fg="808080" iconBg="ffffff"/>
<iconRowHeader activeLineRange="3399ff"/>
<!-- Gutter styling. -->
<gutterBorder color="dddddd"/>
<lineNumbers fg="787878"/>
<foldIndicator fg="808080" iconBg="ffffff"/>
<iconRowHeader activeLineRange="3399ff"/>
<!-- Syntax tokens. -->
<tokenStyles>
<style token="IDENTIFIER" fg="000000"/>
<style token="RESERVED_WORD" fg="0000ff" bold="true"/>
<style token="RESERVED_WORD_2" fg="0000ff" bold="true"/>
<style token="ANNOTATION" fg="808080"/>
<style token="COMMENT_DOCUMENTATION" fg="a40000" italic="true"/>
<style token="COMMENT_EOL" fg="008000" italic="true"/>
<style token="COMMENT_MULTILINE" fg="008000" italic="true"/>
<style token="COMMENT_KEYWORD" fg="ff9900" bold="true"/>
<style token="COMMENT_MARKUP" fg="808080"/>
<style token="DATA_TYPE" fg="008080" bold="true"/>
<style token="FUNCTION" fg="ad8000"/>
<style token="LITERAL_BOOLEAN" fg="0000ff" bold="true"/>
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="6400C8"/>
<style token="LITERAL_NUMBER_FLOAT" fg="6400C8"/>
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="6400C8"/>
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="DC009C"/>
<style token="LITERAL_CHAR" fg="DC009C"/>
<style token="LITERAL_BACKQUOTE" fg="DC009C"/>
<style token="MARKUP_TAG_DELIMITER" fg="ff0000"/>
<style token="MARKUP_TAG_NAME" fg="0000ff"/>
<style token="MARKUP_TAG_ATTRIBUTE" fg="3f7f7f"/>
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="DC009C"/>
<style token="MARKUP_COMMENT" fg="006000" italic="true"/>
<style token="MARKUP_DTD" fg="ad8000"/>
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="808080"/>
<style token="MARKUP_CDATA" fg="cc6600"/>
<style token="MARKUP_CDATA_DELIMITER" fg="008080"/>
<style token="MARKUP_ENTITY_REFERENCE" fg="008000"/>
<style token="OPERATOR" fg="804040"/>
<style token="PREPROCESSOR" fg="808080"/>
<style token="REGEX" fg="008040"/>
<style token="SEPARATOR" fg="ff0000"/>
<style token="VARIABLE" fg="ee8800" bold="true"/>
<style token="WHITESPACE" fg="000000"/>
<!-- Syntax tokens. -->
<tokenStyles>
<style token="IDENTIFIER" fg="000000"/>
<style token="RESERVED_WORD" fg="0000ff" bold="true"/>
<style token="RESERVED_WORD_2" fg="0000ff" bold="true"/>
<style token="ANNOTATION" fg="808080"/>
<style token="COMMENT_DOCUMENTATION" fg="a40000" italic="true"/>
<style token="COMMENT_EOL" fg="008000" italic="true"/>
<style token="COMMENT_MULTILINE" fg="008000" italic="true"/>
<style token="COMMENT_KEYWORD" fg="ff9900" bold="true"/>
<style token="COMMENT_MARKUP" fg="808080"/>
<style token="DATA_TYPE" fg="008080" bold="true"/>
<style token="FUNCTION" fg="ad8000"/>
<style token="LITERAL_BOOLEAN" fg="0000ff" bold="true"/>
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="6400C8"/>
<style token="LITERAL_NUMBER_FLOAT" fg="6400C8"/>
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="6400C8"/>
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="DC009C"/>
<style token="LITERAL_CHAR" fg="DC009C"/>
<style token="LITERAL_BACKQUOTE" fg="DC009C"/>
<style token="MARKUP_TAG_DELIMITER" fg="ff0000"/>
<style token="MARKUP_TAG_NAME" fg="0000ff"/>
<style token="MARKUP_TAG_ATTRIBUTE" fg="3f7f7f"/>
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="DC009C"/>
<style token="MARKUP_COMMENT" fg="006000" italic="true"/>
<style token="MARKUP_DTD" fg="ad8000"/>
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="808080"/>
<style token="MARKUP_CDATA" fg="cc6600"/>
<style token="MARKUP_CDATA_DELIMITER" fg="008080"/>
<style token="MARKUP_ENTITY_REFERENCE" fg="008000"/>
<style token="OPERATOR" fg="804040"/>
<style token="PREPROCESSOR" fg="808080"/>
<style token="REGEX" fg="008040"/>
<style token="SEPARATOR" fg="ff0000"/>
<style token="VARIABLE" fg="ee8800" bold="true"/>
<style token="WHITESPACE" fg="000000"/>
<style token="ERROR_IDENTIFIER" 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_CHAR" fg="000000" bg="ffcccc"/>
</tokenStyles>
<style token="ERROR_IDENTIFIER" 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_CHAR" fg="000000" bg="ffcccc"/>
</tokenStyles>
</RSyntaxTheme>

Loading…
Cancel
Save