├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── build.gradle ├── build.xml ├── jsons ├── R.json ├── actionscript.json ├── ada.json ├── ansforth94.json ├── asp.json ├── automake.json ├── awk.json ├── bennugd.json ├── bibtex.json ├── bluespec.json ├── boo.json ├── c.json ├── cg.json ├── changelog.json ├── chdr.json ├── cmake.json ├── cobol.json ├── cpp.json ├── cpphdr.json ├── csharp.json ├── css.json ├── csv.json ├── cuda.json ├── d.json ├── def.json ├── desktop.json ├── diff.json ├── docbook.json ├── dosbatch.json ├── dot.json ├── dpatch.json ├── dtd.json ├── eiffel.json ├── erlang.json ├── fcl.json ├── forth.json ├── fortran.json ├── fsharp.json ├── gap.json ├── gdb-log.json ├── genie.json ├── glsl.json ├── go.json ├── gtk-doc.json ├── gtkrc.json ├── haddock.json ├── haskell-literate.json ├── haskell.json ├── html.json ├── idl-exelis.json ├── idl.json ├── imagej.json ├── ini.json ├── j.json ├── jade.json ├── java.json ├── javascript.json ├── json.json ├── julia.json ├── latex.json ├── lex.json ├── libtool.json ├── llvm.json ├── lua.json ├── m4.json ├── makefile.json ├── mallard.json ├── markdown.json ├── matlab.json ├── mediawiki.json ├── meson.json ├── modelica.json ├── mxml.json ├── nemerle.json ├── nemo_action.json ├── netrexx.json ├── nsis.json ├── objc.json ├── objj.json ├── ocaml.json ├── ocl.json ├── octave.json ├── ooc.json ├── opal.json ├── opencl.json ├── pascal.json ├── perl.json ├── php.json ├── pig.json ├── pkgconfig.json ├── po.json ├── prolog.json ├── protobuf.json ├── puppet.json ├── python.json ├── python3.json ├── rpmspec.json ├── rst.json ├── ruby.json ├── rust.json ├── scala.json ├── scheme.json ├── scilab.json ├── sh.json ├── sml.json ├── sparql.json ├── sql.json ├── sweave.json ├── systemverilog.json ├── t2t.json ├── tcl.json ├── texinfo.json ├── thrift.json ├── vala.json ├── vbnet.json ├── verilog.json ├── vhdl.json ├── xml.json ├── xslt.json ├── yacc.json └── yaml.json ├── manifest.mf ├── nbproject ├── build-impl.xml ├── configs │ ├── Run_as_WebStart.properties │ └── Run_in_Browser.properties ├── genfiles.properties ├── jfx-impl.xml ├── private │ ├── configs │ │ ├── Run_as_WebStart.properties │ │ └── Run_in_Browser.properties │ ├── private.properties │ └── private.xml ├── project.properties └── project.xml ├── src ├── in │ └── co │ │ └── s13 │ │ └── syntaxtextareafx │ │ ├── AutoComplete.java │ │ ├── SyntaxTextAreaFX.java │ │ ├── langs │ │ ├── ActionScript.java │ │ ├── Ada.java │ │ ├── Ansforth94.java │ │ ├── Asp.java │ │ ├── Automake.java │ │ ├── Awk.java │ │ ├── Bennugd.java │ │ ├── Bibtex.java │ │ ├── Bluespec.java │ │ ├── Boo.java │ │ ├── C.java │ │ ├── Cpp.java │ │ ├── CppHdr.java │ │ ├── Diff.java │ │ ├── Forth.java │ │ ├── Fortran.java │ │ ├── Java.java │ │ ├── Objc.java │ │ └── Text.java │ │ ├── meta │ │ ├── Generator.java │ │ ├── Language.java │ │ └── Syntax.java │ │ └── res │ │ └── css │ │ └── default │ │ ├── R.css │ │ ├── adb.css │ │ ├── ads.css │ │ ├── ansforth94.css │ │ ├── as.css │ │ ├── asp.css │ │ ├── automake.css │ │ ├── awk.css │ │ ├── bennugd.css │ │ ├── bibtex.css │ │ ├── bluespec.css │ │ ├── boo.css │ │ ├── c.css │ │ ├── cg.css │ │ ├── changelog.css │ │ ├── chdr.css │ │ ├── cmake.css │ │ ├── cobol.css │ │ ├── cpp.css │ │ ├── cpphdr.css │ │ ├── csharp.css │ │ ├── css.css │ │ ├── csv.css │ │ ├── cuda.css │ │ ├── d.css │ │ ├── def.css │ │ ├── default.css │ │ ├── desktop.css │ │ ├── diff.css │ │ ├── docbook.css │ │ ├── dosbatch.css │ │ ├── dot.css │ │ ├── dpatch.css │ │ ├── dtd.css │ │ ├── eiffel.css │ │ ├── erlang.css │ │ ├── fcl.css │ │ ├── forth.css │ │ ├── fortran.css │ │ ├── fsharp.css │ │ ├── gap.css │ │ ├── gdb-log.css │ │ ├── genie.css │ │ ├── glsl.css │ │ ├── go.css │ │ ├── gtk-doc.css │ │ ├── gtkrc.css │ │ ├── haddock.css │ │ ├── haskell-literate.css │ │ ├── haskell.css │ │ ├── html.css │ │ ├── idl-exelis.css │ │ ├── idl.css │ │ ├── imagej.css │ │ ├── ini.css │ │ ├── j.css │ │ ├── jade.css │ │ ├── java.css │ │ ├── javascript.css │ │ ├── json.css │ │ ├── julia.css │ │ ├── latex.css │ │ ├── lex.css │ │ ├── libtool.css │ │ ├── llvm.css │ │ ├── lua.css │ │ ├── m4.css │ │ ├── makefile.css │ │ ├── mallard.css │ │ ├── markdown.css │ │ ├── matlab.css │ │ ├── mediawiki.css │ │ ├── meson.css │ │ ├── modelica.css │ │ ├── mxml.css │ │ ├── nemerle.css │ │ ├── nemo_action.css │ │ ├── netrexx.css │ │ ├── nsis.css │ │ ├── objc.css │ │ ├── objj.css │ │ ├── ocaml.css │ │ ├── ocl.css │ │ ├── octave.css │ │ ├── ooc.css │ │ ├── opal.css │ │ ├── opencl.css │ │ ├── pascal.css │ │ ├── perl.css │ │ ├── php.css │ │ ├── pig.css │ │ ├── pkgconfig.css │ │ ├── po.css │ │ ├── prolog.css │ │ ├── protobuf.css │ │ ├── puppet.css │ │ ├── python.css │ │ ├── python3.css │ │ ├── rpmspec.css │ │ ├── rst.css │ │ ├── ruby.css │ │ ├── rust.css │ │ ├── scala.css │ │ ├── scheme.css │ │ ├── scilab.css │ │ ├── sh.css │ │ ├── sml.css │ │ ├── sparql.css │ │ ├── sql.css │ │ ├── sweave.css │ │ ├── systemverilog.css │ │ ├── t2t.css │ │ ├── tcl.css │ │ ├── texinfo.css │ │ ├── text.css │ │ ├── thrift.css │ │ ├── vala.css │ │ ├── vbnet.css │ │ ├── verilog.css │ │ ├── vhdl.css │ │ ├── xml.css │ │ ├── xslt.css │ │ ├── yacc.css │ │ └── yaml.css ├── org │ └── json │ │ ├── CDL.java │ │ ├── Cookie.java │ │ ├── CookieList.java │ │ ├── HTTP.java │ │ ├── HTTPTokener.java │ │ ├── JSONArray.java │ │ ├── JSONException.java │ │ ├── JSONML.java │ │ ├── JSONObject.java │ │ ├── JSONPointer.java │ │ ├── JSONPointerException.java │ │ ├── JSONString.java │ │ ├── JSONStringer.java │ │ ├── JSONTokener.java │ │ ├── JSONWriter.java │ │ ├── LICENSE │ │ ├── Property.java │ │ ├── README │ │ ├── XML.java │ │ └── XMLTokener.java └── syntaxtextarea │ └── SyntaxTextArea.java └── test ├── HelloWorld.java ├── sample.as ├── sample.boo ├── sample.c └── test.diff /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | /build/ 14 | /dist/ 15 | /java/ 16 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | jdk: 3 | - oraclejdk8 4 | 5 | os: 6 | - linux 7 | 8 | # enable Java 8u45+, see https://github.com/travis-ci/travis-ci/issues/4042 9 | addons: 10 | apt: 11 | packages: 12 | - oracle-java8-installer 13 | 14 | # run in container 15 | sudo: false 16 | 17 | # use framebuffer for UI 18 | before_install: 19 | - export DISPLAY=:99.0 20 | - sh -e /etc/init.d/xvfb start 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SyntaxTextAreaFX 2 | TextArea for JavaFX (based on RichTextFX) which supports Syntax Highlighting for various coding languages 3 | 4 | import `SyntaxTextAreaFX.java` from `in.co.s13.syntaxareafx` package, use `getNode()` method to add SyntaxTextAreaFX in your layout. 5 | 6 | TO DO 7 | * Add support for all languages 8 | * Add grammer and autocomplete support 9 | 10 | 11 | Build Status 12 | * linux [![Build Status](https://travis-ci.org/deepsidhu1313/SyntaxTextAreaFX.svg?branch=master)](https://travis-ci.org/deepsidhu1313/SyntaxTextAreaFX) 13 | 14 | 15 | #Features 16 | 17 | [Supported Languages](https://github.com/deepsidhu1313/SyntaxTextAreaFX/wiki/Supported-Languages#supported-languages) 18 | 19 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | sourceCompatibility = 1.8 5 | version = '1.0' 6 | jar { 7 | manifest { 8 | attributes 'Implementation-Title': 'SyntaxTextAreaFX', 9 | 'Implementation-Version': version 10 | } 11 | } 12 | 13 | repositories { 14 | mavenCentral() 15 | } 16 | 17 | dependencies { 18 | compile 'org.fxmisc.richtext:richtext' 19 | compile 'org.json:json' 20 | compile 'org.reactfx:reactfx' 21 | 22 | } 23 | 24 | 25 | uploadArchives { 26 | repositories { 27 | flatDir { 28 | dirs 'repos' 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /jsons/bibtex.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-bibtex" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.bib" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "%" 14 | } 15 | ]}, 16 | "_name": "BibTeX", 17 | "_section": "Markup", 18 | "styles": {"style": [ 19 | { 20 | "_name": "Entries", 21 | "map-to": "def:keyword", 22 | "id": "entry-type" 23 | }, 24 | { 25 | "_name": "Field", 26 | "map-to": "def:identifier", 27 | "id": "field" 28 | } 29 | ]}, 30 | "id": "bibtex", 31 | "version": 2, 32 | "definitions": {"context": [ 33 | { 34 | "prefix": "@", 35 | "id": "entry-type", 36 | "keyword": [ 37 | "book", 38 | "article", 39 | "booklet", 40 | "conference", 41 | "inbook", 42 | "incollection", 43 | "inproceedings", 44 | "manual", 45 | "mastersthesis", 46 | "lambda", 47 | "misc", 48 | "phdthesis", 49 | "proceedings", 50 | "techreport", 51 | "unpublished" 52 | ], 53 | "class": "no-spell-check", 54 | "style-ref": "entry-type" 55 | }, 56 | { 57 | "id": "field", 58 | "keyword": [ 59 | "author", 60 | "title", 61 | "journal", 62 | "year", 63 | "volume", 64 | "number", 65 | "pages", 66 | "month", 67 | "note", 68 | "key", 69 | "publisher", 70 | "editor", 71 | "series", 72 | "address", 73 | "edition", 74 | "howpublished", 75 | "booktitle", 76 | "organization", 77 | "chapter", 78 | "school", 79 | "institution", 80 | "type" 81 | ], 82 | "class": "no-spell-check", 83 | "style-ref": "field" 84 | }, 85 | { 86 | "include": {"context": [ 87 | {"ref": "latex:latex"}, 88 | {"ref": "entry-type"}, 89 | {"ref": "field"} 90 | ]}, 91 | "id": "bibtex" 92 | } 93 | ]}, 94 | "default-regex-options": {"case-sensitive": false} 95 | }} -------------------------------------------------------------------------------- /jsons/chdr.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-chdr" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.h" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "//" 14 | }, 15 | { 16 | "name": "block-comment-start", 17 | "content": "/*" 18 | }, 19 | { 20 | "name": "block-comment-end", 21 | "content": "*/" 22 | } 23 | ]}, 24 | "_name": "C/C++/ObjC Header", 25 | "_section": "Source", 26 | "id": "chdr", 27 | "version": 2, 28 | "definitions": {"context": { 29 | "include": {"context": [ 30 | {"ref": "objc:objc-header"}, 31 | {"ref": "cpp:cpp-proper"}, 32 | {"ref": "c:c"} 33 | ]}, 34 | "id": "chdr" 35 | }} 36 | }} -------------------------------------------------------------------------------- /jsons/cpphdr.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-c++hdr" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.hh;*.hp;*.hpp;*.h++" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "//" 14 | }, 15 | { 16 | "name": "block-comment-start", 17 | "content": "/*" 18 | }, 19 | { 20 | "name": "block-comment-end", 21 | "content": "*/" 22 | } 23 | ]}, 24 | "_name": "C++ Header", 25 | "_section": "Source", 26 | "id": "cpphdr", 27 | "version": 2, 28 | "definitions": {"context": { 29 | "include": {"context": [ 30 | {"ref": "cpp:cpp-proper"}, 31 | {"ref": "c:c"} 32 | ]}, 33 | "id": "cpphdr" 34 | }} 35 | }} -------------------------------------------------------------------------------- /jsons/csv.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/csv" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.csv" 10 | } 11 | ]}, 12 | "_name": "CSV", 13 | "_section": "Other", 14 | "styles": {"style": [ 15 | { 16 | "_name": "Decimal number", 17 | "map-to": "def:decimal", 18 | "id": "decimal" 19 | }, 20 | { 21 | "_name": "Escaped character", 22 | "map-to": "def:special-char", 23 | "id": "escaped-character" 24 | }, 25 | { 26 | "_name": "Floating point number", 27 | "map-to": "def:floating-point", 28 | "id": "floating-point" 29 | }, 30 | { 31 | "_name": "String", 32 | "map-to": "def:string", 33 | "id": "string" 34 | } 35 | ]}, 36 | "id": "csv", 37 | "version": 2, 38 | "definitions": {"context": [ 39 | { 40 | "match": { 41 | "extended": true, 42 | "content": "(?).*$", 63 | "id": "added-line", 64 | "style-ref": "added-line" 65 | }, 66 | { 67 | "match": "^\\! .*$", 68 | "id": "changed-line", 69 | "style-ref": "changed-line" 70 | }, 71 | { 72 | "include": {"context": {"ref": "def:escape"}}, 73 | "start": "^((@@)|[0-9]|\\*\\*\\*\\*)", 74 | "id": "location", 75 | "style-ref": "location", 76 | "end-at-line-end": true 77 | }, 78 | { 79 | "prefix": "^", 80 | "id": "special-case", 81 | "suffix": "\\b", 82 | "keyword": [ 83 | "Only in .*", 84 | "Files .* and .* are identical$", 85 | "Files .* and .* differ$", 86 | "Binary files .* and .* differ$", 87 | "File .* is a .* while file .* is a .*", 88 | "No newline at end of file .*" 89 | ], 90 | "style-ref": "special-case" 91 | }, 92 | { 93 | "start": "^\\S", 94 | "style-ref": "ignore", 95 | "end-at-line-end": true 96 | } 97 | ]}, 98 | "id": "diff" 99 | }, 100 | "define-regex": { 101 | "id": "diff-file", 102 | "content": "^(diff |\\+\\+\\+ |Index: |==== |\\*\\*\\* |--- )" 103 | } 104 | } 105 | }} -------------------------------------------------------------------------------- /jsons/dpatch.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-dpatch" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.dpatch" 10 | } 11 | ]}, 12 | "_name": "DPatch", 13 | "_section": "Other", 14 | "styles": {"style": { 15 | "_name": "Patch Start", 16 | "map-to": "def:keyword", 17 | "id": "patch-start" 18 | }}, 19 | "id": "dpatch", 20 | "version": 2, 21 | "definitions": {"context": { 22 | "include": {"context": [ 23 | {"ref": "sh:sh"}, 24 | { 25 | "include": {"context": [ 26 | { 27 | "where": "start", 28 | "sub-pattern": 1, 29 | "style-ref": "patch-start" 30 | }, 31 | {"ref": "diff:diff"} 32 | ]}, 33 | "start": "^(\\@DPATCH\\@).*", 34 | "id": "patch" 35 | } 36 | ]}, 37 | "id": "dpatch" 38 | }} 39 | }} -------------------------------------------------------------------------------- /jsons/fcl.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "globs", 5 | "content": "*.fcl" 6 | }, 7 | { 8 | "name": "line-comment-start", 9 | "content": "//" 10 | } 11 | ]}, 12 | "_name": "FCL", 13 | "_section": "Scientific", 14 | "styles": {"style": [ 15 | { 16 | "_name": "Comment", 17 | "map-to": "def:comment", 18 | "id": "comment" 19 | }, 20 | { 21 | "_name": "Floating Point", 22 | "map-to": "def:floating-point", 23 | "id": "floating-point" 24 | }, 25 | { 26 | "_name": "Keyword", 27 | "map-to": "def:keyword", 28 | "id": "keyword" 29 | }, 30 | { 31 | "_name": "Block", 32 | "map-to": "def:function", 33 | "id": "block" 34 | }, 35 | { 36 | "_name": "Decimal", 37 | "map-to": "def:decimal", 38 | "id": "decimal" 39 | }, 40 | { 41 | "_name": "Reserved Constant", 42 | "map-to": "def:special-constant", 43 | "id": "reserved-constant" 44 | } 45 | ]}, 46 | "id": "fcl", 47 | "version": 2, 48 | "definitions": {"context": [ 49 | { 50 | "include": {"context": {"ref": "def:in-comment"}}, 51 | "class-disabled": "no-spell-check", 52 | "start": "//", 53 | "id": "line-comment", 54 | "class": "comment", 55 | "style-ref": "comment", 56 | "end-at-line-end": true 57 | }, 58 | { 59 | "id": "keyword", 60 | "keyword": [ 61 | "ACCU", 62 | "ACT", 63 | "AND", 64 | "ASUM", 65 | "BDIF", 66 | "BSUM", 67 | "COA", 68 | "COG", 69 | "COGS", 70 | "DEFAULT", 71 | "IF", 72 | "IS", 73 | "LM", 74 | "MAX", 75 | "METHOD", 76 | "MIN", 77 | "NC", 78 | "NOT", 79 | "NSUM", 80 | "OR", 81 | "PROD", 82 | "RANGE", 83 | "RM", 84 | "RULE", 85 | "TERM", 86 | "THEN", 87 | "WITH" 88 | ], 89 | "style-ref": "keyword" 90 | }, 91 | { 92 | "id": "block", 93 | "keyword": [ 94 | "DEFUZZIFY", 95 | "END_DEFUZZIFY", 96 | "END_FUNCTION_BLOCK", 97 | "END_FUZZIFY", 98 | "END_OPTIONS", 99 | "END_RULEBLOCK", 100 | "END_VAR", 101 | "FUNCTION_BLOCK", 102 | "FUZZIFY", 103 | "OPTIONS", 104 | "RULEBLOCK", 105 | "VAR", 106 | "VAR_INPUT", 107 | "VAR_OUTPUT" 108 | ], 109 | "style-ref": "block" 110 | }, 111 | { 112 | "match": "\\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\\b", 113 | "id": "decimal", 114 | "style-ref": "decimal" 115 | }, 116 | { 117 | "match": "\\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.)([Ee][-]?[0-9]+)?)[fFlL]?", 118 | "id": "floating-point-number", 119 | "style-ref": "floating-point" 120 | }, 121 | { 122 | "include": {"context": [ 123 | {"ref": "line-comment"}, 124 | {"ref": "keyword"}, 125 | {"ref": "block"}, 126 | {"ref": "decimal"}, 127 | {"ref": "floating-point-number"} 128 | ]}, 129 | "id": "fcl", 130 | "class": "no-spell-check" 131 | } 132 | ]} 133 | }} -------------------------------------------------------------------------------- /jsons/gap.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-gap" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.g;*.gd;*.gi;*.gap" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "#" 14 | } 15 | ]}, 16 | "_name": "GAP", 17 | "_section": "Scientific", 18 | "styles": {"style": [ 19 | { 20 | "_name": "Comment", 21 | "map-to": "def:comment", 22 | "id": "comment" 23 | }, 24 | { 25 | "_name": "Character", 26 | "map-to": "def:string", 27 | "id": "character" 28 | }, 29 | { 30 | "_name": "Keyword", 31 | "map-to": "def:keyword", 32 | "id": "keyword" 33 | }, 34 | { 35 | "_name": "Function", 36 | "map-to": "def:function", 37 | "id": "function" 38 | }, 39 | { 40 | "_name": "Decimal", 41 | "map-to": "def:decimal", 42 | "id": "decimal" 43 | } 44 | ]}, 45 | "id": "gap", 46 | "version": 2, 47 | "definitions": {"context": [ 48 | { 49 | "match": "\\'(\\\\[trnb\\\\\\'\\\"]|[^\\\\])\\'", 50 | "id": "character", 51 | "style-ref": "character" 52 | }, 53 | { 54 | "id": "keyword", 55 | "keyword": [ 56 | "and", 57 | "break", 58 | "continue", 59 | "do", 60 | "elif", 61 | "else", 62 | "end", 63 | "fail", 64 | false, 65 | "fi", 66 | "for", 67 | "function", 68 | "if", 69 | "in", 70 | "infinity", 71 | "local", 72 | "not", 73 | "od", 74 | "or", 75 | "rec", 76 | "repeat", 77 | "return", 78 | "then", 79 | true, 80 | "until", 81 | "while" 82 | ], 83 | "style-ref": "keyword" 84 | }, 85 | { 86 | "match": "\\b[0-9]+\\b", 87 | "id": "decimal", 88 | "style-ref": "decimal" 89 | }, 90 | { 91 | "include": {"context": [ 92 | {"ref": "def:shell-like-comment"}, 93 | {"ref": "def:string"}, 94 | {"ref": "character"}, 95 | {"ref": "keyword"}, 96 | {"ref": "decimal"} 97 | ]}, 98 | "id": "gap" 99 | } 100 | ]} 101 | }} -------------------------------------------------------------------------------- /jsons/haskell-literate.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-literate-haskell" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.lhs" 10 | } 11 | ]}, 12 | "_name": "Literate Haskell", 13 | "_section": "Source", 14 | "id": "haskell-literate", 15 | "version": 2, 16 | "definitions": {"context": { 17 | "include": {"context": [ 18 | {"ref": "def:shebang"}, 19 | {"ref": "c:if0-comment"}, 20 | {"ref": "c:include"}, 21 | {"ref": "c:preprocessor"}, 22 | {"ref": "def:in-comment"}, 23 | { 24 | "include": {"context": {"ref": "haskell:body"}}, 25 | "start": "^>", 26 | "id": "line-code", 27 | "end-at-line-end": true 28 | }, 29 | { 30 | "include": {"context": {"ref": "haskell:body"}}, 31 | "start": "^\\\\begin\\{code\\}", 32 | "end": "^\\\\end\\{code\\}", 33 | "id": "block-code" 34 | } 35 | ]}, 36 | "id": "haskell-literate" 37 | }} 38 | }} -------------------------------------------------------------------------------- /jsons/libtool.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-libtool" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.la;*.lai;*.lo" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "#" 14 | } 15 | ]}, 16 | "_name": "libtool", 17 | "_section": "Other", 18 | "styles": {"style": [ 19 | { 20 | "_name": "Constant", 21 | "map-to": "def:constant", 22 | "id": "constant" 23 | }, 24 | { 25 | "_name": "Boolean", 26 | "map-to": "libtool:constant", 27 | "id": "boolean" 28 | } 29 | ]}, 30 | "id": "libtool", 31 | "version": 2, 32 | "definitions": {"context": { 33 | "include": {"context": [ 34 | {"ref": "def:shell-like-comment"}, 35 | { 36 | "include": {"context": [ 37 | {"ref": "def:single-quoted-string"}, 38 | {"ref": "def:string"}, 39 | {"ref": "def:shell-like-comment"}, 40 | {"ref": "def:decimal"}, 41 | { 42 | "keyword": [ 43 | "yes", 44 | "no" 45 | ], 46 | "style-ref": "boolean" 47 | } 48 | ]}, 49 | "start": "\\=", 50 | "end-at-line-end": true 51 | } 52 | ]}, 53 | "id": "libtool" 54 | }} 55 | }} -------------------------------------------------------------------------------- /jsons/meson.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-meson" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "meson.build;meson_options.txt" 10 | }, 11 | { 12 | "name": "line-comment-start", 13 | "content": "#" 14 | } 15 | ]}, 16 | "_name": "Meson", 17 | "_section": "Source", 18 | "styles": {"style": [ 19 | { 20 | "_name": "Builtin Command", 21 | "map-to": "def:function", 22 | "id": "builtin-command" 23 | }, 24 | { 25 | "_name": "Operator", 26 | "map-to": "def:operator", 27 | "id": "operator" 28 | }, 29 | { 30 | "_name": "String", 31 | "map-to": "def:string", 32 | "id": "string" 33 | } 34 | ]}, 35 | "id": "meson", 36 | "version": 2, 37 | "definitions": {"context": [ 38 | { 39 | "start": "'''", 40 | "end": "'''", 41 | "id": "multiline-string", 42 | "style-ref": "def:string" 43 | }, 44 | { 45 | "start": "'", 46 | "end": "'", 47 | "id": "string", 48 | "style-ref": "def:string", 49 | "end-at-line-end": true 50 | }, 51 | { 52 | "prefix": "(?i)", 53 | "id": "builtin-command", 54 | "keyword": [ 55 | "add_global_arguments", 56 | "build_target", 57 | "configuration_data", 58 | "configure_file", 59 | "custom_target", 60 | "declare_dependency", 61 | "dependency", 62 | "error", 63 | "executable", 64 | "find_program", 65 | "find_library", 66 | "files", 67 | "generator", 68 | "get_option", 69 | "gettext", 70 | "include_directories", 71 | "install_data", 72 | "install_headers", 73 | "install_man", 74 | "install_subdir", 75 | "is_subproject", 76 | "jar", 77 | "message", 78 | "pkgconfig_gen", 79 | "project", 80 | "run_command", 81 | "run_target", 82 | "set_variable", 83 | "shared_library", 84 | "static_library", 85 | "subdir", 86 | "subproject", 87 | "test", 88 | "vcs_tag" 89 | ], 90 | "style-ref": "builtin-command" 91 | }, 92 | { 93 | "id": "operator", 94 | "keyword": [ 95 | "if", 96 | "else", 97 | "endif", 98 | "foreach", 99 | "endforeach" 100 | ], 101 | "style-ref": "operator" 102 | }, 103 | { 104 | "include": {"context": [ 105 | {"ref": "multiline-string"}, 106 | {"ref": "string"}, 107 | {"ref": "builtin-command"}, 108 | {"ref": "operator"} 109 | ]}, 110 | "id": "meson", 111 | "class": "no-spell-check" 112 | } 113 | ]} 114 | }} -------------------------------------------------------------------------------- /jsons/mxml.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "globs", 5 | "content": "*.mxml" 6 | }, 7 | { 8 | "name": "block-comment-start", 9 | "content": "" 14 | } 15 | ]}, 16 | "_name": "MXML", 17 | "_section": "Markup", 18 | "styles": {"style": [ 19 | { 20 | "_name": "Element name", 21 | "map-to": "xml:element-name", 22 | "id": "element-name" 23 | }, 24 | { 25 | "_name": "CDATA delimiter", 26 | "map-to": "xml:cdata-delim", 27 | "id": "cdata-delim" 28 | } 29 | ]}, 30 | "id": "mxml", 31 | "version": 2, 32 | "definitions": {"context": [ 33 | { 34 | "include": {"context": [ 35 | { 36 | "where": "start", 37 | "sub-pattern": 0, 38 | "style-ref": "element-name" 39 | }, 40 | { 41 | "where": "end", 42 | "sub-pattern": 0, 43 | "style-ref": "element-name" 44 | }, 45 | {"ref": "xml:element-name"}, 46 | { 47 | "include": {"context": [ 48 | { 49 | "where": "start", 50 | "sub-pattern": 0, 51 | "style-ref": "cdata-delim" 52 | }, 53 | { 54 | "where": "end", 55 | "sub-pattern": 0, 56 | "style-ref": "cdata-delim" 57 | }, 58 | {"ref": "actionscript:actionscript"} 59 | ]}, 60 | "start": "", 62 | "id": "actionscript-code", 63 | "extend-parent": false 64 | } 65 | ]}, 66 | "start": "<(fx:Script|mx:Script)>", 67 | "end": "<\/\\%{1@start}>", 68 | "id": "actionscript" 69 | }, 70 | { 71 | "include": {"context": [ 72 | {"ref": "actionscript"}, 73 | {"ref": "xml:xml"} 74 | ]}, 75 | "id": "mxml" 76 | } 77 | ]} 78 | }} -------------------------------------------------------------------------------- /jsons/nsis.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "globs", 5 | "content": "*.nsi;*.nsh" 6 | }, 7 | { 8 | "name": "line-comment-start", 9 | "content": ";" 10 | } 11 | ]}, 12 | "_name": "NSIS", 13 | "_section": "Other", 14 | "styles": {"style": [ 15 | { 16 | "_name": "Operator", 17 | "map-to": "def:operator", 18 | "id": "operator" 19 | }, 20 | { 21 | "_name": "Comment", 22 | "map-to": "def:comment", 23 | "id": "comment" 24 | }, 25 | { 26 | "_name": "String", 27 | "map-to": "def:string", 28 | "id": "string" 29 | }, 30 | { 31 | "_name": "Variable", 32 | "map-to": "makefile:variable", 33 | "id": "variable" 34 | } 35 | ]}, 36 | "id": "nsis", 37 | "version": 2, 38 | "definitions": { 39 | "context": [ 40 | { 41 | "prefix": "!", 42 | "id": "operator", 43 | "keyword": [ 44 | "define", 45 | "include", 46 | "insertmacro", 47 | "ifdef", 48 | "endif" 49 | ], 50 | "style-ref": "operator" 51 | }, 52 | { 53 | "match": "\\$(\\%{identifier}|\\{\\%{identifier}\\}|\\(\\^\\%{identifier}\\))", 54 | "id": "variable", 55 | "style-ref": "variable" 56 | }, 57 | { 58 | "include": {"context": [ 59 | { 60 | "sub-pattern": 1, 61 | "style-ref": "operator" 62 | }, 63 | { 64 | "sub-pattern": 2, 65 | "style-ref": "variable" 66 | } 67 | ]}, 68 | "match": "^\\s*(!define)\\s+(\\%{identifier})", 69 | "id": "variable-assignment" 70 | }, 71 | { 72 | "include": {"context": {"ref": "variable"}}, 73 | "class-disabled": "no-spell-check", 74 | "start": "\"", 75 | "end": "\"", 76 | "id": "string", 77 | "class": "string", 78 | "style-ref": "string" 79 | }, 80 | { 81 | "include": {"context": {"ref": "def:in-comment"}}, 82 | "start": ";", 83 | "id": "comment", 84 | "style-ref": "comment", 85 | "end-at-line-end": true 86 | }, 87 | { 88 | "include": {"context": [ 89 | {"ref": "operator"}, 90 | {"ref": "variable"}, 91 | {"ref": "variable-assignment"}, 92 | {"ref": "comment"}, 93 | {"ref": "string"} 94 | ]}, 95 | "id": "nsis", 96 | "class": "no-spell-check" 97 | } 98 | ], 99 | "define-regex": { 100 | "id": "identifier", 101 | "content": "[\\w_][\\w\\d_]*" 102 | } 103 | } 104 | }} -------------------------------------------------------------------------------- /jsons/pkgconfig.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "mimetypes", 5 | "content": "text/x-pkg-config" 6 | }, 7 | { 8 | "name": "globs", 9 | "content": "*.pc" 10 | } 11 | ]}, 12 | "_name": "pkg-config", 13 | "_section": "Other", 14 | "styles": {"style": [ 15 | { 16 | "_name": "Variable", 17 | "map-to": "def:keyword", 18 | "id": "variable" 19 | }, 20 | { 21 | "_name": "Package Info", 22 | "map-to": "def:keyword", 23 | "id": "info" 24 | } 25 | ]}, 26 | "id": "pkgconfig", 27 | "version": 2, 28 | "definitions": {"context": [ 29 | { 30 | "match": "\\$\\{[\\w_]*\\}", 31 | "id": "var-value", 32 | "style-ref": "variable" 33 | }, 34 | { 35 | "include": {"context": [ 36 | {"ref": "def:shell-like-comment"}, 37 | { 38 | "include": {"context": [ 39 | { 40 | "where": "start", 41 | "sub-pattern": 1, 42 | "style-ref": "variable" 43 | }, 44 | {"ref": "var-value"} 45 | ]}, 46 | "start": "^([\\w_]+)\\s*=\\s*", 47 | "end-at-line-end": true 48 | }, 49 | { 50 | "include": {"context": [ 51 | { 52 | "where": "start", 53 | "sub-pattern": 1, 54 | "style-ref": "info" 55 | }, 56 | {"ref": "var-value"} 57 | ]}, 58 | "start": "^([\\w_\\.]+)\\s*\\:\\s*", 59 | "end-at-line-end": true 60 | } 61 | ]}, 62 | "id": "pkgconfig" 63 | } 64 | ]} 65 | }} -------------------------------------------------------------------------------- /jsons/sweave.json: -------------------------------------------------------------------------------- 1 | {"language": { 2 | "metadata": {"property": [ 3 | { 4 | "name": "globs", 5 | "content": "*.rnw;*.Rnw;*.snw;*.Snw" 6 | }, 7 | { 8 | "name": "line-comment-start", 9 | "content": "%" 10 | } 11 | ]}, 12 | "_name": "Sweave", 13 | "_section": "Markup", 14 | "styles": {"style": [ 15 | { 16 | "_name": "Comment", 17 | "map-to": "latex:comment", 18 | "id": "comment" 19 | }, 20 | { 21 | "_name": "Command", 22 | "map-to": "latex:command", 23 | "id": "command" 24 | }, 25 | { 26 | "_name": "Verbatim", 27 | "map-to": "latex:verbatim", 28 | "id": "verbatim" 29 | } 30 | ]}, 31 | "id": "sweave", 32 | "version": 2, 33 | "definitions": {"context": [ 34 | { 35 | "include": {"context": [ 36 | { 37 | "sub-pattern": 1, 38 | "style-ref": "command" 39 | }, 40 | { 41 | "sub-pattern": 2, 42 | "style-ref": "verbatim" 43 | } 44 | ]}, 45 | "match": "(\\\\Sexpr)\\{([^\\}]*)\\}", 46 | "id": "inline-R", 47 | "class": "no-spell-check" 48 | }, 49 | { 50 | "include": {"context": [ 51 | { 52 | "where": "start", 53 | "sub-pattern": 0, 54 | "style-ref": "command" 55 | }, 56 | { 57 | "where": "end", 58 | "sub-pattern": 0, 59 | "style-ref": "command" 60 | }, 61 | {"ref": "r:r"}, 62 | { 63 | "match": "[[:alnum:]]@[[:alnum:]]", 64 | "id": "R-slot", 65 | "class": "no-spell-check" 66 | } 67 | ]}, 68 | "start": "^\\s*<<.*>>=", 69 | "end": "@", 70 | "id": "R-block", 71 | "class": "no-spell-check" 72 | }, 73 | { 74 | "include": {"context": [ 75 | {"ref": "inline-R"}, 76 | {"ref": "R-block"}, 77 | {"ref": "latex:latex"} 78 | ]}, 79 | "id": "sweave" 80 | } 81 | ]} 82 | }} -------------------------------------------------------------------------------- /manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /nbproject/configs/Run_as_WebStart.properties: -------------------------------------------------------------------------------- 1 | # Do not modify this property in this configuration. It can be re-generated. 2 | $label=Run as WebStart 3 | -------------------------------------------------------------------------------- /nbproject/configs/Run_in_Browser.properties: -------------------------------------------------------------------------------- 1 | # Do not modify this property in this configuration. It can be re-generated. 2 | $label=Run in Browser 3 | -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=e652941b 2 | build.xml.script.CRC32=2a7e4d96 3 | build.xml.stylesheet.CRC32=8064a381@1.79.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=5b89b2c2 7 | nbproject/build-impl.xml.script.CRC32=a31f9544 8 | nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48 9 | -------------------------------------------------------------------------------- /nbproject/private/configs/Run_as_WebStart.properties: -------------------------------------------------------------------------------- 1 | # Do not modify this property in this configuration. It can be re-generated. 2 | javafx.run.as=webstart 3 | -------------------------------------------------------------------------------- /nbproject/private/configs/Run_in_Browser.properties: -------------------------------------------------------------------------------- 1 | # Do not modify this property in this configuration. It can be re-generated. 2 | javafx.run.as=embedded 3 | -------------------------------------------------------------------------------- /nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true 2 | compile.on.save=true 3 | do.depend=false 4 | do.jar=true 5 | # No need to modify this property unless customizing JavaFX Ant task infrastructure 6 | endorsed.javafx.ant.classpath=. 7 | javac.debug=true 8 | javadoc.preview=true 9 | javafx.run.as=standalone 10 | javafx.run.inbrowser= 11 | javafx.run.inbrowser.path= 12 | user.properties.file=/home/nika/.netbeans/8.1/build.properties 13 | -------------------------------------------------------------------------------- /nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | SyntaxTextAreaFX 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/AutoComplete.java: -------------------------------------------------------------------------------- 1 | package in.co.s13.syntaxtextareafx; 2 | 3 | ///* 4 | // * To change this license header, choose License Headers in Project Properties. 5 | // * To change this template file, choose Tools | Templates 6 | // * and open the template in the editor. 7 | // */ 8 | //package in.co.s13; 9 | // 10 | //import static in.co.s13.AutocompleteState.State.HIDE; 11 | //import static in.co.s13.AutocompleteState.State.INSERTION; 12 | //import static in.co.s13.AutocompleteState.State.REFILTER; 13 | //import static in.co.s13.AutocompleteState.State.SHOW; 14 | //import org.fxmisc.richtext.model.PlainTextChange; 15 | // 16 | ///** 17 | // * 18 | // * @author nika 19 | // */ 20 | //class AutocompleteState { 21 | // 22 | // private static final String EMPTY_STRING = ""; 23 | // 24 | // private String filterText; 25 | // private State state; 26 | // 27 | // public static enum State { SHOW, HIDE, REFILTER, INSERTION } 28 | // 29 | // private AutocompleteState(String filterText, State state) { 30 | // this.filterText = filterText; 31 | // this.state = state; 32 | // } 33 | // 34 | // public static AutocompleteState initial() { 35 | // return new AutocompleteState(EMPTY_STRING, State.HIDE); 36 | // } 37 | // 38 | // public void showBox() { 39 | // state = SHOW; 40 | // } 41 | // 42 | // public void hideBox() { 43 | // state = HIDE; 44 | // filterText = EMPTY_STRING; 45 | // } 46 | // 47 | // // Note: this method's implementation is probably wrong because a PlainTextChange 48 | // // can be merged with a previous one. Although I'm assuming a textChange in this case 49 | // // only inserts or deletes one letter at a time, this may not be true in its actual usage. 50 | // public void updateFilter(PlainTextChange textChange) { 51 | // // Note: textChange.isInsertion() is pseudo code to demonstrate idea 52 | // if (textChange.isInsertion()) { 53 | // filterText += textChange.getInserted(); 54 | // } else if (textChange.isDeletion()) { 55 | // filterText -= textChange.getRemoved(); 56 | // } 57 | // state = !filterText.isEmpty() ? REFILTER : HIDE; 58 | // } 59 | // 60 | // public void insertSelected() { 61 | // state = INSERTION; 62 | // } 63 | // 64 | //} 65 | // 66 | //EventStream appearanceTriggers = ...; 67 | //EventStream disappearanceTriggers = ...; 68 | //EventStream textModifications = area.plainTextChanges().conditionOn(popup.showingProperty()); 69 | //EventStream insertionTriggers = ...; 70 | //EventStream boxEvents = StateMachine 71 | // .init(AutocompleteState.initial()) 72 | // .on(appearanceTriggers).transition((appearance, state) -> state.showBox()) 73 | // .on(disappearanceTriggers).transition((ignore, state) -> state.hideBox()) 74 | // .on(textModifications).transition((textChange, state) -> state.updateFilter(textChange)) 75 | // .on(insertionTriggers).transition((ignore, state) -> state.insertSelected()) 76 | // .toEventStream(); 77 | // 78 | //Subscription sub = boxEvents.subscribe(state -> { 79 | // switch (state.getType()) { 80 | // case: show 81 | // // show popup at caret bounds 82 | // Optional caretBounds = area.getCaretBounds(); 83 | // if (caretBounds.isPresent()) { popup.show( /* code */); } 84 | // break; 85 | // case: hide 86 | // popup.hide() 87 | // break; 88 | // case: refilter 89 | // // assumes popup is already displayed 90 | // autocompleteBox.refilter(state.getFilterText()); 91 | // // move autocompleteBox to new caret location 92 | // popup.show( /* new location */ ); 93 | // default: case: insertion 94 | // area.insertText(state.getStartPosition(), autocompleteBox.getSelectedItem()); 95 | // popu.hide(); 96 | // } 97 | //}) -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/langs/Automake.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.langs; 7 | 8 | import java.util.ArrayList; 9 | import java.util.Arrays; 10 | import java.util.regex.Matcher; 11 | import java.util.regex.Pattern; 12 | import in.co.s13.syntaxtextareafx.meta.Language; 13 | import java.util.Collections; 14 | 15 | /** 16 | * 17 | * @author nika 18 | */ 19 | public class Automake implements Language { 20 | 21 | 22 | @Override 23 | public Pattern generatePattern() { 24 | Pattern pattern; 25 | String COMMENT_PATTERN; 26 | COMMENT_PATTERN = "#[^\n]*" ;//+ "|" + "/\\*(.|\\R)*?\\*/"; 27 | 28 | 29 | pattern = Pattern.compile( 30 | "(?" + COMMENT_PATTERN + ")" 31 | ); 32 | return pattern; 33 | } 34 | 35 | @Override 36 | public String getStyleClass(Matcher matcher) { 37 | return matcher.group("COMMENT") != null ? "comment" 38 | : null; 39 | } 40 | 41 | @Override 42 | public ArrayList getKeywords() { 43 | ArrayList keywordList = new ArrayList<>(); 44 | Collections.sort(keywordList); 45 | return keywordList; 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/langs/Awk.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.langs; 7 | 8 | import java.util.ArrayList; 9 | import java.util.Arrays; 10 | import java.util.regex.Matcher; 11 | import java.util.regex.Pattern; 12 | import in.co.s13.syntaxtextareafx.meta.Language; 13 | import java.util.Collections; 14 | 15 | /** 16 | * 17 | * @author nika 18 | */ 19 | public class Awk implements Language { 20 | 21 | String KEYWORDS[] = new String[]{"break","continue","do","delete","else","exit","for","function","getline","if","next","nextfile","print","printf","return","while"}; 22 | String PATTERNS[] = new String[]{"BEGIN","END"}; 23 | String VARIABLES[] = new String[]{"ARGC","ARGV","FILENAME","FNR","FS","NF","NR","OFMT","OFS","ORS","RLENGTH","RS","RSTART","SUBSEP","ARGIND","BINMODE","CONVFMT","ENVIRON","ERRNO","FIELDWIDTHS","IGNORECASE","LINT","PROCINFO","RT","RLENGTH","TEXTDOMAIN"}; 24 | String BUILT_IN_FUNCTIONS[] = new String[]{"gsub","index","length","match","split","sprintf","sub","substr","tolower","toupper"}; 25 | String ARITHMETIC_FUNCTIONS[] = new String[]{"atan2","cos","exp","int","log","rand","sin","sqrt","srand"}; 26 | 27 | @Override 28 | public Pattern generatePattern() { 29 | Pattern pattern; 30 | String KEYWORDS_PATTERN; 31 | String PATTERNS_PATTERN; 32 | String VARIABLES_PATTERN; 33 | String BUILT_IN_FUNCTIONS_PATTERN; 34 | String ARITHMETIC_FUNCTIONS_PATTERN; 35 | 36 | KEYWORDS_PATTERN = "\\b(" + String.join("|", KEYWORDS) + ")\\b"; 37 | PATTERNS_PATTERN = "\\b(" + String.join("|", PATTERNS) + ")\\b"; 38 | VARIABLES_PATTERN = "\\b(" + String.join("|", VARIABLES) + ")\\b"; 39 | BUILT_IN_FUNCTIONS_PATTERN = "\\b(" + String.join("|", BUILT_IN_FUNCTIONS) + ")\\b"; 40 | ARITHMETIC_FUNCTIONS_PATTERN = "\\b(" + String.join("|", ARITHMETIC_FUNCTIONS) + ")\\b"; 41 | 42 | pattern = Pattern.compile( 43 | "(?" + KEYWORDS_PATTERN + ")" 44 | + "|(?" + PATTERNS_PATTERN + ")" 45 | + "|(?" + VARIABLES_PATTERN + ")" 46 | + "|(?" + BUILT_IN_FUNCTIONS_PATTERN + ")" 47 | + "|(?" + ARITHMETIC_FUNCTIONS_PATTERN + ")" 48 | ); 49 | return pattern; 50 | } 51 | 52 | @Override 53 | public String getStyleClass(Matcher matcher) { 54 | return matcher.group("KEYWORDS") != null ? "keywords" 55 | : matcher.group("PATTERNS") != null ? "patterns" 56 | : matcher.group("VARIABLES") != null ? "variables" 57 | : matcher.group("BUILTINFUNCTIONS") != null ? "built-in-functions" 58 | : matcher.group("ARITHMETICFUNCTIONS") != null ? "arithmetic-functions" 59 | : null; 60 | } 61 | 62 | @Override 63 | public ArrayList getKeywords() { 64 | ArrayList keywordList = new ArrayList<>(); 65 | keywordList.addAll(Arrays.asList(KEYWORDS)); 66 | keywordList.addAll(Arrays.asList(PATTERNS)); 67 | keywordList.addAll(Arrays.asList(VARIABLES)); 68 | keywordList.addAll(Arrays.asList(BUILT_IN_FUNCTIONS)); 69 | keywordList.addAll(Arrays.asList(ARITHMETIC_FUNCTIONS)); 70 | Collections.sort(keywordList); 71 | return keywordList; 72 | } 73 | 74 | } 75 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/langs/Bibtex.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.langs; 7 | 8 | import java.util.ArrayList; 9 | import java.util.Arrays; 10 | import java.util.regex.Matcher; 11 | import java.util.regex.Pattern; 12 | import in.co.s13.syntaxtextareafx.meta.Language; 13 | import java.util.Collections; 14 | 15 | /** 16 | * 17 | * @author nika 18 | */ 19 | public class Bibtex implements Language { 20 | 21 | String ENTRY_TYPE[] = new String[]{"book","article","booklet","conference","inbook","incollection","inproceedings","manual","mastersthesis","lambda","misc","phdthesis","proceedings","techreport","unpublished"}; 22 | String FIELD[] = new String[]{"author","title","journal","year","volume","number","pages","month","note","key","publisher","editor","series","address","edition","howpublished","booktitle","organization","chapter","school","institution","type"}; 23 | 24 | @Override 25 | public Pattern generatePattern() { 26 | Pattern pattern; 27 | String ENTRY_TYPE_PATTERN; 28 | String FIELD_PATTERN; 29 | 30 | ENTRY_TYPE_PATTERN = "\\b(" + String.join("|", ENTRY_TYPE) + ")\\b"; 31 | FIELD_PATTERN = "\\b(" + String.join("|", FIELD) + ")\\b"; 32 | 33 | pattern = Pattern.compile( 34 | "(?" + ENTRY_TYPE_PATTERN + ")" 35 | + "|(?" + FIELD_PATTERN + ")" 36 | ); 37 | return pattern; 38 | } 39 | 40 | @Override 41 | public String getStyleClass(Matcher matcher) { 42 | return matcher.group("ENTRYTYPE") != null ? "entry-type" 43 | : matcher.group("FIELD") != null ? "field" 44 | : null; 45 | } 46 | 47 | @Override 48 | public ArrayList getKeywords() { 49 | ArrayList keywordList = new ArrayList<>(); 50 | keywordList.addAll(Arrays.asList(ENTRY_TYPE)); 51 | keywordList.addAll(Arrays.asList(FIELD)); 52 | Collections.sort(keywordList); 53 | return keywordList; 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/langs/Diff.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.langs; 7 | 8 | import java.util.ArrayList; 9 | import java.util.Arrays; 10 | import java.util.regex.Matcher; 11 | import java.util.regex.Pattern; 12 | import in.co.s13.syntaxtextareafx.meta.Language; 13 | import java.util.Collections; 14 | 15 | /** 16 | * 17 | * @author nika 18 | */ 19 | public class Diff implements Language { 20 | 21 | @Override 22 | public Pattern generatePattern() { 23 | Pattern pattern; 24 | String ADDITION_PATTERN; 25 | ADDITION_PATTERN = "(?m)^[\\+][^\n]*$" ; 26 | String REM_PATTERN; 27 | REM_PATTERN = "(?m)^[\\-][^\n]*$"; 28 | String ADDITION_ALT_PATTERN; 29 | ADDITION_ALT_PATTERN = "(?m)^\\>[^\n]*$"; 30 | String REM_ALT_PATTERN; 31 | REM_ALT_PATTERN = "(?m)^\\<[^\n]*$"; 32 | String DIFF_PATTERN; 33 | DIFF_PATTERN = "(?m)^\\%[^\n]*$"; 34 | String CHANGE_PATTERN; 35 | CHANGE_PATTERN = "(?m)^\\![^\n]*$"; 36 | String COMMON_PATTERN="(?m)^\\@@[^\n]*$"; 37 | pattern = Pattern.compile( 38 | "(?" + ADDITION_PATTERN + ")" 39 | + "|(?" + REM_PATTERN + ")" 40 | + "|(?" + ADDITION_ALT_PATTERN + ")" 41 | + "|(?" + REM_ALT_PATTERN + ")" 42 | + "|(?" + DIFF_PATTERN + ")" 43 | + "|(?" + CHANGE_PATTERN + ")" 44 | + "|(?" + COMMON_PATTERN + ")" 45 | ); 46 | return pattern; 47 | } 48 | 49 | @Override 50 | public String getStyleClass(Matcher matcher) { 51 | return matcher.group("ADD") != null ? "add" 52 | : matcher.group("REM") != null ? "rem" 53 | : matcher.group("ADDALT") != null ? "add" 54 | : matcher.group("REMALT") != null ? "rem" 55 | : matcher.group("DIFF") != null ? "diff" 56 | : matcher.group("CHANGE") != null ? "change" 57 | : matcher.group("COMMON") != null ? "common" 58 | : null; 59 | } 60 | 61 | @Override 62 | public ArrayList getKeywords() { 63 | ArrayList keywordList = new ArrayList<>(); 64 | Collections.sort(keywordList); 65 | return keywordList; 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/langs/Text.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.langs; 7 | 8 | import in.co.s13.syntaxtextareafx.meta.Language; 9 | import java.util.ArrayList; 10 | import java.util.regex.Matcher; 11 | import java.util.regex.Pattern; 12 | 13 | /** 14 | * 15 | * @author nika 16 | */ 17 | public class Text implements Language { 18 | 19 | @Override 20 | public Pattern generatePattern() { 21 | return Pattern.compile(""); 22 | } 23 | 24 | @Override 25 | public String getStyleClass(Matcher matcher) { 26 | return ""; 27 | } 28 | 29 | @Override 30 | public ArrayList getKeywords() { 31 | return new ArrayList<>(); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/meta/Language.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.meta; 7 | 8 | import java.util.ArrayList; 9 | import java.util.regex.Matcher; 10 | import java.util.regex.Pattern; 11 | 12 | /** 13 | * 14 | * @author nika 15 | */ 16 | public interface Language { 17 | /*** 18 | * Generates a Pattern for Syntax Area 19 | * which then be matched to highlight special keywords 20 | * @return 21 | */ 22 | public Pattern generatePattern(); 23 | /**** 24 | * Matches special keywords with css fields 25 | * @param matcher 26 | * @return 27 | */ 28 | public String getStyleClass(Matcher matcher); 29 | 30 | 31 | /*** 32 | * Return all special keywords for suggestions Auto complete 33 | * @return 34 | */ 35 | public ArrayList getKeywords(); 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/meta/Syntax.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package in.co.s13.syntaxtextareafx.meta; 7 | 8 | import java.util.ArrayList; 9 | import java.util.regex.Matcher; 10 | import java.util.regex.Pattern; 11 | 12 | /** 13 | * 14 | * @author nika 15 | */ 16 | public class Syntax { 17 | 18 | private Language language; 19 | 20 | public Syntax(Language language) { 21 | this.language = language; 22 | } 23 | 24 | public Pattern generatePattern() { 25 | return language.generatePattern(); 26 | } 27 | 28 | public String getStyleClass(Matcher matcher) { 29 | return language.getStyleClass(matcher); 30 | } 31 | 32 | public ArrayList getKeywords() { 33 | return language.getKeywords(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/R.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .reserved-classes { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .assignment-operator { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .delimiters { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .special-constants { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean { 22 | -fx-fill:#0074D9; 23 | -fx-font-weight: bold; 24 | } 25 | .integer-number { 26 | -fx-fill:#7FDBFF; 27 | -fx-font-weight: bold; 28 | } 29 | .floating-point { 30 | -fx-fill:#39CCCC; 31 | -fx-font-weight: bold; 32 | } 33 | .functions-base { 34 | -fx-fill:#3D9970; 35 | -fx-font-weight: bold; 36 | } 37 | .functions-graphics { 38 | -fx-fill:#2ECC40; 39 | -fx-font-weight: bold; 40 | } 41 | .functions-grDevices { 42 | -fx-fill:#01FF70; 43 | -fx-font-weight: bold; 44 | } 45 | .functions-methods { 46 | -fx-fill:#FFDC00; 47 | -fx-font-weight: bold; 48 | } 49 | .functions-stats { 50 | -fx-fill:#FF851B; 51 | -fx-font-weight: bold; 52 | } 53 | .functions-utils { 54 | -fx-fill:#FF4136; 55 | -fx-font-weight: bold; 56 | } 57 | .r { 58 | -fx-fill:#F012BE; 59 | -fx-font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/adb.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#39CCCC; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#3D9970; 7 | -fx-font-weight: bold; 8 | } 9 | .character-constant { 10 | -fx-fill:#2ECC40; 11 | -fx-font-weight: bold; 12 | } 13 | .preprocessor { 14 | -fx-fill:#01FF70; 15 | -fx-font-weight: bold; 16 | } 17 | .function { 18 | -fx-fill:#FFDC00; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#FF851B; 23 | -fx-font-weight: bold; 24 | } 25 | .storageclass { 26 | -fx-fill:#FF4136; 27 | -fx-font-weight: bold; 28 | } 29 | .type { 30 | -fx-fill:#F012BE; 31 | -fx-font-weight: bold; 32 | } 33 | .based-numeral { 34 | -fx-fill:#B10DC9; 35 | -fx-font-weight: bold; 36 | } 37 | .real { 38 | -fx-fill:#85144B; 39 | -fx-font-weight: bold; 40 | } 41 | .number { 42 | -fx-fill:#FFFFFF; 43 | -fx-font-weight: bold; 44 | } 45 | .boolean { 46 | -fx-fill:#AAAAAA; 47 | -fx-font-weight: bold; 48 | } 49 | .ada { 50 | -fx-fill:#111111; 51 | -fx-font-weight: bold; 52 | } 53 | .semicolon { 54 | -fx-font-weight: bold; 55 | } 56 | .paren { 57 | -fx-fill: firebrick; 58 | -fx-font-weight: bold; 59 | } 60 | .bracket { 61 | -fx-fill: darkgreen; 62 | -fx-font-weight: bold; 63 | } 64 | .brace { 65 | -fx-fill: teal; 66 | -fx-font-weight: bold; 67 | } 68 | .comment { 69 | -fx-fill: cadetblue; 70 | } 71 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ads.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#39CCCC; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#3D9970; 7 | -fx-font-weight: bold; 8 | } 9 | .character-constant { 10 | -fx-fill:#2ECC40; 11 | -fx-font-weight: bold; 12 | } 13 | .preprocessor { 14 | -fx-fill:#01FF70; 15 | -fx-font-weight: bold; 16 | } 17 | .function { 18 | -fx-fill:#FFDC00; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#FF851B; 23 | -fx-font-weight: bold; 24 | } 25 | .storageclass { 26 | -fx-fill:#FF4136; 27 | -fx-font-weight: bold; 28 | } 29 | .type { 30 | -fx-fill:#F012BE; 31 | -fx-font-weight: bold; 32 | } 33 | .based-numeral { 34 | -fx-fill:#B10DC9; 35 | -fx-font-weight: bold; 36 | } 37 | .real { 38 | -fx-fill:#85144B; 39 | -fx-font-weight: bold; 40 | } 41 | .number { 42 | -fx-fill:#FFFFFF; 43 | -fx-font-weight: bold; 44 | } 45 | .boolean { 46 | -fx-fill:#AAAAAA; 47 | -fx-font-weight: bold; 48 | } 49 | .ada { 50 | -fx-fill:#111111; 51 | -fx-font-weight: bold; 52 | } 53 | .semicolon { 54 | -fx-font-weight: bold; 55 | } 56 | .paren { 57 | -fx-fill: firebrick; 58 | -fx-font-weight: bold; 59 | } 60 | .bracket { 61 | -fx-fill: darkgreen; 62 | -fx-font-weight: bold; 63 | } 64 | .brace { 65 | -fx-fill: teal; 66 | -fx-font-weight: bold; 67 | } 68 | .comment { 69 | -fx-fill: cadetblue; 70 | } 71 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/as.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .string-2 { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .line-comment { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .block-comment { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .close-comment-outside-comment { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .externals { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .declarations { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .primitive-types { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .storage-class { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .scope-declarations { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .flow { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .memory { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | .future-reserved-words { 50 | -fx-fill:#FF4136; 51 | -fx-font-weight: bold; 52 | } 53 | .null-value { 54 | -fx-fill:#F012BE; 55 | -fx-font-weight: bold; 56 | } 57 | .boolean { 58 | -fx-fill:#B10DC9; 59 | -fx-font-weight: bold; 60 | } 61 | .numeric { 62 | -fx-fill:#85144B; 63 | -fx-font-weight: bold; 64 | } 65 | .actionscript { 66 | -fx-fill:#FFFFFF; 67 | -fx-font-weight: bold; 68 | } 69 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/asp.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .old-style-comment { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .string { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .preprocessor { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .keywords { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .functions { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .operators { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .objects { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .constants { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .types { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .special-constants { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .boolean { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .numeric { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .asp-block { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .asp { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/automake.css: -------------------------------------------------------------------------------- 1 | .subst { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .nosubcomment { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .comment { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .flags-assignment { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .keyword-assignment { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .primary-assignment { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .secondary-assignment { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .dir-assignment { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .assignment-rhs { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | .command { 38 | -fx-fill:#FFFFFF; 39 | -fx-font-weight: bold; 40 | } 41 | .assignment { 42 | -fx-fill:#AAAAAA; 43 | -fx-font-weight: bold; 44 | } 45 | .automake { 46 | -fx-fill:#111111; 47 | -fx-font-weight: bold; 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/awk.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .patterns { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .variables { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .built-in-functions { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .arithmetic-functions { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .field-variable { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .awk { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/bennugd.css: -------------------------------------------------------------------------------- 1 | .preprocessor { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .boolean { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .float { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .decimal-number { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .hexadecimal-number { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .globals { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .locals { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .operators { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .types { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .commonmacros { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .comment { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/bibtex.css: -------------------------------------------------------------------------------- 1 | .entry-type { 2 | -fx-fill:#39CCCC; 3 | -fx-font-weight: bold; 4 | } 5 | .field { 6 | -fx-fill:#3D9970; 7 | -fx-font-weight: bold; 8 | } 9 | .bibtex { 10 | -fx-fill:#2ECC40; 11 | -fx-font-weight: bold; 12 | } 13 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/bluespec.css: -------------------------------------------------------------------------------- 1 | .system-task { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .annotation { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .import-bvi { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .keyword { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .type { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .standard-interface { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .comment { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/boo.css: -------------------------------------------------------------------------------- 1 | .c-style-line-comment { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .comment { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .multiline-string { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .string { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .single-quoted-string { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .regex { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .namespace { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .primitives { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .definitions { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .keywords { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .special-variables { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .null-value { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | .boolean { 50 | -fx-fill:#FFDC00; 51 | -fx-font-weight: bold; 52 | } 53 | .numbers { 54 | -fx-fill:#FF851B; 55 | -fx-font-weight: bold; 56 | } 57 | .builtins { 58 | -fx-fill:#FF4136; 59 | -fx-font-weight: bold; 60 | } 61 | .boo { 62 | -fx-fill:#F012BE; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/c.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .operators { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .types { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .storage-class { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .boolean { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .common-defines { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .standard-streams { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .signals { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .comment { 34 | -fx-fill: cadetblue; 35 | } 36 | .string { 37 | -fx-fill:#FF851B; 38 | -fx-font-weight: bold; 39 | } 40 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cg.css: -------------------------------------------------------------------------------- 1 | .cg { 2 | -fx-fill:#39CCCC; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/changelog.css: -------------------------------------------------------------------------------- 1 | .changelog { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/chdr.css: -------------------------------------------------------------------------------- 1 | .chdr { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .printf { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .if0-comment { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .include { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .string { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .char { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .float { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .hexadecimal { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .invalid-hexadecimal { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | .octal { 42 | -fx-fill:#85144B; 43 | -fx-font-weight: bold; 44 | } 45 | .invalid-octal { 46 | -fx-fill:#FFFFFF; 47 | -fx-font-weight: bold; 48 | } 49 | .decimal { 50 | -fx-fill:#AAAAAA; 51 | -fx-font-weight: bold; 52 | } 53 | .keywords { 54 | -fx-fill:#111111; 55 | -fx-font-weight: bold; 56 | } 57 | .operators { 58 | -fx-fill:#001F3F; 59 | -fx-font-weight: bold; 60 | } 61 | .types { 62 | -fx-fill:#0074D9; 63 | -fx-font-weight: bold; 64 | } 65 | .storage-class { 66 | -fx-fill:#7FDBFF; 67 | -fx-font-weight: bold; 68 | } 69 | .boolean { 70 | -fx-fill:#39CCCC; 71 | -fx-font-weight: bold; 72 | } 73 | .common-defines { 74 | -fx-fill:#3D9970; 75 | -fx-font-weight: bold; 76 | } 77 | .standard-streams { 78 | -fx-fill:#2ECC40; 79 | -fx-font-weight: bold; 80 | } 81 | .signals { 82 | -fx-fill:#01FF70; 83 | -fx-font-weight: bold; 84 | } 85 | .c { 86 | -fx-fill:#FFDC00; 87 | -fx-font-weight: bold; 88 | } 89 | .comment { 90 | -fx-fill: cadetblue; 91 | } 92 | .string { 93 | -fx-fill:#FF851B; 94 | -fx-font-weight: bold; 95 | } 96 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cmake.css: -------------------------------------------------------------------------------- 1 | .builtin-command { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .deprecated-builtin-command { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .constant { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | .builtin-variable { 14 | -fx-fill:#FFFFFF; 15 | -fx-font-weight: bold; 16 | } 17 | .builtin-variable-2 { 18 | -fx-fill:#AAAAAA; 19 | -fx-font-weight: bold; 20 | } 21 | .operator { 22 | -fx-fill:#111111; 23 | -fx-font-weight: bold; 24 | } 25 | .control { 26 | -fx-fill:#001F3F; 27 | -fx-font-weight: bold; 28 | } 29 | .variable { 30 | -fx-fill:#0074D9; 31 | -fx-font-weight: bold; 32 | } 33 | .variable-assignment { 34 | -fx-fill:#7FDBFF; 35 | -fx-font-weight: bold; 36 | } 37 | .cmake { 38 | -fx-fill:#39CCCC; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cobol.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .bad-ident { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .bad-long-line { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .bad-comment-line { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .variable { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .string-double-quote { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .string-single-quote { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .number { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .constant { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .keyword { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | .section-name { 42 | -fx-fill:#85144B; 43 | -fx-font-weight: bold; 44 | } 45 | .division-name { 46 | -fx-fill:#FFFFFF; 47 | -fx-font-weight: bold; 48 | } 49 | .call { 50 | -fx-fill:#AAAAAA; 51 | -fx-font-weight: bold; 52 | } 53 | .cobol { 54 | -fx-fill:#111111; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cpp.css: -------------------------------------------------------------------------------- 1 | .cpp-proper { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .cpp { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .printf { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .if0-comment { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .include { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .preprocessor { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .string { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .char { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .float { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .hexadecimal { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .invalid-hexadecimal { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .octal { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .invalid-octal { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .decimal { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .keywords { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | .operators { 62 | -fx-fill:#001F3F; 63 | -fx-font-weight: bold; 64 | } 65 | .types { 66 | -fx-fill:#0074D9; 67 | -fx-font-weight: bold; 68 | } 69 | .storage-class { 70 | -fx-fill:#7FDBFF; 71 | -fx-font-weight: bold; 72 | } 73 | .boolean { 74 | -fx-fill:#39CCCC; 75 | -fx-font-weight: bold; 76 | } 77 | .common-defines { 78 | -fx-fill:#3D9970; 79 | -fx-font-weight: bold; 80 | } 81 | .standard-streams { 82 | -fx-fill:#2ECC40; 83 | -fx-font-weight: bold; 84 | } 85 | .signals { 86 | -fx-fill:#01FF70; 87 | -fx-font-weight: bold; 88 | } 89 | .c { 90 | -fx-fill:#FFDC00; 91 | -fx-font-weight: bold; 92 | } 93 | .comment { 94 | -fx-fill: cadetblue; 95 | } 96 | .string { 97 | -fx-fill:#FF851B; 98 | -fx-font-weight: bold; 99 | } 100 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cpphdr.css: -------------------------------------------------------------------------------- 1 | .cpphdr { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .printf { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .if0-comment { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .include { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .string { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .char { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .float { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .hexadecimal { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .invalid-hexadecimal { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | .octal { 42 | -fx-fill:#85144B; 43 | -fx-font-weight: bold; 44 | } 45 | .invalid-octal { 46 | -fx-fill:#FFFFFF; 47 | -fx-font-weight: bold; 48 | } 49 | .decimal { 50 | -fx-fill:#AAAAAA; 51 | -fx-font-weight: bold; 52 | } 53 | .keywords { 54 | -fx-fill:#111111; 55 | -fx-font-weight: bold; 56 | } 57 | .operators { 58 | -fx-fill:#001F3F; 59 | -fx-font-weight: bold; 60 | } 61 | .types { 62 | -fx-fill:#0074D9; 63 | -fx-font-weight: bold; 64 | } 65 | .storage-class { 66 | -fx-fill:#7FDBFF; 67 | -fx-font-weight: bold; 68 | } 69 | .boolean { 70 | -fx-fill:#39CCCC; 71 | -fx-font-weight: bold; 72 | } 73 | .common-defines { 74 | -fx-fill:#3D9970; 75 | -fx-font-weight: bold; 76 | } 77 | .standard-streams { 78 | -fx-fill:#2ECC40; 79 | -fx-font-weight: bold; 80 | } 81 | .signals { 82 | -fx-fill:#01FF70; 83 | -fx-font-weight: bold; 84 | } 85 | .c { 86 | -fx-fill:#FFDC00; 87 | -fx-font-weight: bold; 88 | } 89 | .comment { 90 | -fx-fill: cadetblue; 91 | } 92 | .string { 93 | -fx-fill:#FF851B; 94 | -fx-font-weight: bold; 95 | } 96 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/csharp.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .multiline-comment { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .if-false-comment { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .multiline-string { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#111111; 27 | -fx-font-weight: bold; 28 | } 29 | .primitives { 30 | -fx-fill:#001F3F; 31 | -fx-font-weight: bold; 32 | } 33 | .null-value { 34 | -fx-fill:#0074D9; 35 | -fx-font-weight: bold; 36 | } 37 | .boolean { 38 | -fx-fill:#7FDBFF; 39 | -fx-font-weight: bold; 40 | } 41 | .decimal { 42 | -fx-fill:#39CCCC; 43 | -fx-font-weight: bold; 44 | } 45 | .hexadecimal { 46 | -fx-fill:#3D9970; 47 | -fx-font-weight: bold; 48 | } 49 | .real { 50 | -fx-fill:#2ECC40; 51 | -fx-font-weight: bold; 52 | } 53 | .string { 54 | -fx-fill:#01FF70; 55 | -fx-font-weight: bold; 56 | } 57 | .char { 58 | -fx-fill:#FFDC00; 59 | -fx-font-weight: bold; 60 | } 61 | .c-sharp { 62 | -fx-fill:#FF851B; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/css.css: -------------------------------------------------------------------------------- 1 | .unicode-character-reference { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .selector-pseudo-elements { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .selector-pseudo-classes { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .at-rules { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .selector-id { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .selector-class { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .selector-tagname { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .hexadecimal-color { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .named-color { 34 | -fx-fill:#FFDC00; 35 | -fx-font-weight: bold; 36 | } 37 | .function { 38 | -fx-fill:#FF851B; 39 | -fx-font-weight: bold; 40 | } 41 | .dimension { 42 | -fx-fill:#FF4136; 43 | -fx-font-weight: bold; 44 | } 45 | .number { 46 | -fx-fill:#F012BE; 47 | -fx-font-weight: bold; 48 | } 49 | .unicode-range { 50 | -fx-fill:#B10DC9; 51 | -fx-font-weight: bold; 52 | } 53 | .importance-modifier { 54 | -fx-fill:#85144B; 55 | -fx-font-weight: bold; 56 | } 57 | .property-names { 58 | -fx-fill:#FFFFFF; 59 | -fx-font-weight: bold; 60 | } 61 | .known-property-values { 62 | -fx-fill:#AAAAAA; 63 | -fx-font-weight: bold; 64 | } 65 | .style-block { 66 | -fx-fill:#111111; 67 | -fx-font-weight: bold; 68 | } 69 | .punctuators { 70 | -fx-fill:#001F3F; 71 | -fx-font-weight: bold; 72 | } 73 | .attribute-value-delimiters { 74 | -fx-fill:#0074D9; 75 | -fx-font-weight: bold; 76 | } 77 | .operators { 78 | -fx-fill:#7FDBFF; 79 | -fx-font-weight: bold; 80 | } 81 | .selector-grammar { 82 | -fx-fill:#39CCCC; 83 | -fx-font-weight: bold; 84 | } 85 | .css { 86 | -fx-fill:#3D9970; 87 | -fx-font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/csv.css: -------------------------------------------------------------------------------- 1 | .decimal { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .floating-point { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .string { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .csv { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/cuda.css: -------------------------------------------------------------------------------- 1 | .cuda-keywords { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .cuda-types { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .cudaglobal { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .kernel-call { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .cudaatom { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .cudadev { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .cuda-runtime { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .cuda { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/d.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .nesting-comment { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .double-quoted-string { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | .single-quoted-string { 22 | -fx-fill:#0074D9; 23 | -fx-font-weight: bold; 24 | } 25 | .backtick-quoted-string { 26 | -fx-fill:#7FDBFF; 27 | -fx-font-weight: bold; 28 | } 29 | .keywords { 30 | -fx-fill:#39CCCC; 31 | -fx-font-weight: bold; 32 | } 33 | .types { 34 | -fx-fill:#3D9970; 35 | -fx-font-weight: bold; 36 | } 37 | .special-tokens { 38 | -fx-fill:#2ECC40; 39 | -fx-font-weight: bold; 40 | } 41 | .null-value { 42 | -fx-fill:#01FF70; 43 | -fx-font-weight: bold; 44 | } 45 | .boolean { 46 | -fx-fill:#FFDC00; 47 | -fx-font-weight: bold; 48 | } 49 | .float { 50 | -fx-fill:#FF851B; 51 | -fx-font-weight: bold; 52 | } 53 | .decimal { 54 | -fx-fill:#FF4136; 55 | -fx-font-weight: bold; 56 | } 57 | .binary { 58 | -fx-fill:#F012BE; 59 | -fx-font-weight: bold; 60 | } 61 | .octal { 62 | -fx-fill:#B10DC9; 63 | -fx-font-weight: bold; 64 | } 65 | .hexadecimal { 66 | -fx-fill:#85144B; 67 | -fx-font-weight: bold; 68 | } 69 | .d { 70 | -fx-fill:#FFFFFF; 71 | -fx-font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/def.css: -------------------------------------------------------------------------------- 1 | .decimal { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .octal { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .hexadecimal { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .float { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .in-comment { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .shell-like-comment { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .c-like-comment { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .c-like-comment-multiline { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .c-like-close-comment-outside-comment { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .line-continue { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .in-line-comment { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .shebang { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | .escape { 50 | -fx-fill:#FF4136; 51 | -fx-font-weight: bold; 52 | } 53 | .string { 54 | -fx-fill:#F012BE; 55 | -fx-font-weight: bold; 56 | } 57 | .single-quoted-string { 58 | -fx-fill:#B10DC9; 59 | -fx-font-weight: bold; 60 | } 61 | .def { 62 | -fx-fill:#85144B; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/default.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deepsidhu1313/SyntaxTextAreaFX/fa13a6e2bfb8b4c7d892abc79c1ff25e6d4f1269/src/in/co/s13/syntaxtextareafx/res/css/default/default.css -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/desktop.css: -------------------------------------------------------------------------------- 1 | .group { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .boolean { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .exec-parameter { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .encoding { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .number { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .standard-key { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .non-standard-key { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .key-categories { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .key { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .desktop { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/diff.css: -------------------------------------------------------------------------------- 1 | .diff { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .add { 6 | -fx-fill:#2fc676; 7 | -fx-background-color:#75cd9e; 8 | -fx-font-weight: bold; 9 | } 10 | .rem { 11 | -fx-fill:#ff7e7e; 12 | -fx-background-color:#ffa1a1; 13 | -fx-font-weight: bold; 14 | } 15 | .change { 16 | -fx-fill:#7eafff; 17 | -fx-background-color:#9cb8e7; 18 | -fx-font-weight: bold; 19 | } 20 | .common{ 21 | -fx-fill:#800083; 22 | -fx-background-color:#fea4ff; 23 | -fx-font-weight: bold; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/docbook.css: -------------------------------------------------------------------------------- 1 | .header-elements { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .formatting-elements { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .gui-elements { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .structural-elements { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .docbook-tags { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .docbook { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/dosbatch.css: -------------------------------------------------------------------------------- 1 | .comment { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#01FF70; 7 | -fx-font-weight: bold; 8 | } 9 | .keywords { 10 | -fx-fill:#FFDC00; 11 | -fx-font-weight: bold; 12 | } 13 | .commands { 14 | -fx-fill:#FF851B; 15 | -fx-font-weight: bold; 16 | } 17 | .dosbatch { 18 | -fx-fill:#FF4136; 19 | -fx-font-weight: bold; 20 | } 21 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/dot.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .keywords { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .attributes { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .dot { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/dpatch.css: -------------------------------------------------------------------------------- 1 | .dpatch { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/dtd.css: -------------------------------------------------------------------------------- 1 | .entity { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .decl-element { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .quoted-value { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .NDATA { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .decl-entity { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .decl-attlist { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .decl-notation { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .error { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .dtd { 34 | -fx-fill:#FFDC00; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/eiffel.css: -------------------------------------------------------------------------------- 1 | .single-quoted-string { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | .multi-line-string { 6 | -fx-fill:#FFDC00; 7 | -fx-font-weight: bold; 8 | } 9 | .double-quoted-string { 10 | -fx-fill:#FF851B; 11 | -fx-font-weight: bold; 12 | } 13 | .line-comment { 14 | -fx-fill:#FF4136; 15 | -fx-font-weight: bold; 16 | } 17 | .debug { 18 | -fx-fill:#F012BE; 19 | -fx-font-weight: bold; 20 | } 21 | .assertion { 22 | -fx-fill:#B10DC9; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#85144B; 27 | -fx-font-weight: bold; 28 | } 29 | .predefined-variables { 30 | -fx-fill:#FFFFFF; 31 | -fx-font-weight: bold; 32 | } 33 | .void-value { 34 | -fx-fill:#AAAAAA; 35 | -fx-font-weight: bold; 36 | } 37 | .boolean { 38 | -fx-fill:#111111; 39 | -fx-font-weight: bold; 40 | } 41 | .class-types { 42 | -fx-fill:#001F3F; 43 | -fx-font-weight: bold; 44 | } 45 | .number { 46 | -fx-fill:#0074D9; 47 | -fx-font-weight: bold; 48 | } 49 | .hexadecimal { 50 | -fx-fill:#7FDBFF; 51 | -fx-font-weight: bold; 52 | } 53 | .eiffel { 54 | -fx-fill:#39CCCC; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/erlang.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .keywords { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .operators { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .atom { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .character { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .float { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .base-n-number { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .decimal-number { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .builtins { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .compiler-directives { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .erlang { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/fcl.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .keyword { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .block { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .decimal { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .floating-point-number { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | .fcl { 22 | -fx-fill:#0074D9; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/fortran.css: -------------------------------------------------------------------------------- 1 | .if0-comment { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .include { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .preprocessor { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .openmp-directives { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .line-comment { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .operators { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .keywords { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | .read-write { 34 | -fx-fill:#01FF70; 35 | -fx-font-weight: bold; 36 | } 37 | .input-output { 38 | -fx-fill:#FFDC00; 39 | -fx-font-weight: bold; 40 | } 41 | .intrinsics { 42 | -fx-fill:#FF851B; 43 | -fx-font-weight: bold; 44 | } 45 | .types { 46 | -fx-fill:#FF4136; 47 | -fx-font-weight: bold; 48 | } 49 | .type-attributes { 50 | -fx-fill:#F012BE; 51 | -fx-font-weight: bold; 52 | } 53 | .attributes { 54 | -fx-fill:#B10DC9; 55 | -fx-font-weight: bold; 56 | } 57 | .floating-point-number { 58 | -fx-fill:#85144B; 59 | -fx-font-weight: bold; 60 | } 61 | .decimal { 62 | -fx-fill:#FFFFFF; 63 | -fx-font-weight: bold; 64 | } 65 | .boz-literal { 66 | -fx-fill:#AAAAAA; 67 | -fx-font-weight: bold; 68 | } 69 | .fortran { 70 | -fx-fill:#111111; 71 | -fx-font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/fsharp.css: -------------------------------------------------------------------------------- 1 | .escape-seq { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .multiline-comment { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | .if0-comment { 14 | -fx-fill:#FFFFFF; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor { 18 | -fx-fill:#AAAAAA; 19 | -fx-font-weight: bold; 20 | } 21 | .hex-number { 22 | -fx-fill:#111111; 23 | -fx-font-weight: bold; 24 | } 25 | .octal-number { 26 | -fx-fill:#001F3F; 27 | -fx-font-weight: bold; 28 | } 29 | .binary-number { 30 | -fx-fill:#0074D9; 31 | -fx-font-weight: bold; 32 | } 33 | .label { 34 | -fx-fill:#7FDBFF; 35 | -fx-font-weight: bold; 36 | } 37 | .if-false-comment { 38 | -fx-fill:#39CCCC; 39 | -fx-font-weight: bold; 40 | } 41 | .poly-variant { 42 | -fx-fill:#3D9970; 43 | -fx-font-weight: bold; 44 | } 45 | .modpath { 46 | -fx-fill:#2ECC40; 47 | -fx-font-weight: bold; 48 | } 49 | .variant { 50 | -fx-fill:#01FF70; 51 | -fx-font-weight: bold; 52 | } 53 | .string { 54 | -fx-fill:#FFDC00; 55 | -fx-font-weight: bold; 56 | } 57 | .character-constant { 58 | -fx-fill:#FF851B; 59 | -fx-font-weight: bold; 60 | } 61 | .type-var { 62 | -fx-fill:#FF4136; 63 | -fx-font-weight: bold; 64 | } 65 | .arraylit { 66 | -fx-fill:#F012BE; 67 | -fx-font-weight: bold; 68 | } 69 | .decimal { 70 | -fx-fill:#B10DC9; 71 | -fx-font-weight: bold; 72 | } 73 | .boolean-constant { 74 | -fx-fill:#85144B; 75 | -fx-font-weight: bold; 76 | } 77 | .keysymbol { 78 | -fx-fill:#FFFFFF; 79 | -fx-font-weight: bold; 80 | } 81 | .keywords { 82 | -fx-fill:#AAAAAA; 83 | -fx-font-weight: bold; 84 | } 85 | .fsharp { 86 | -fx-fill:#111111; 87 | -fx-font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/gap.css: -------------------------------------------------------------------------------- 1 | .character { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .keyword { 6 | -fx-fill:#01FF70; 7 | -fx-font-weight: bold; 8 | } 9 | .decimal { 10 | -fx-fill:#FFDC00; 11 | -fx-font-weight: bold; 12 | } 13 | .gap { 14 | -fx-fill:#FF851B; 15 | -fx-font-weight: bold; 16 | } 17 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/gdb-log.css: -------------------------------------------------------------------------------- 1 | .optimized-out { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .incomplete-sequence { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .prompt { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .thread-action { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .thread-header { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .signal-handler-frame { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .crash-frame { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .frame { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .frame-ending { 34 | -fx-fill:#FFDC00; 35 | -fx-font-weight: bold; 36 | } 37 | .gdb-log { 38 | -fx-fill:#FF851B; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/genie.css: -------------------------------------------------------------------------------- 1 | .multiline-string { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .double-quoted-string { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .single-quoted-string { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .regex { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .namespace { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | .primitives { 22 | -fx-fill:#0074D9; 23 | -fx-font-weight: bold; 24 | } 25 | .definitions { 26 | -fx-fill:#7FDBFF; 27 | -fx-font-weight: bold; 28 | } 29 | .keywords { 30 | -fx-fill:#39CCCC; 31 | -fx-font-weight: bold; 32 | } 33 | .special-variables { 34 | -fx-fill:#3D9970; 35 | -fx-font-weight: bold; 36 | } 37 | .null-value { 38 | -fx-fill:#2ECC40; 39 | -fx-font-weight: bold; 40 | } 41 | .boolean { 42 | -fx-fill:#01FF70; 43 | -fx-font-weight: bold; 44 | } 45 | .numbers { 46 | -fx-fill:#FFDC00; 47 | -fx-font-weight: bold; 48 | } 49 | .builtins { 50 | -fx-fill:#FF851B; 51 | -fx-font-weight: bold; 52 | } 53 | .genie { 54 | -fx-fill:#FF4136; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/glsl.css: -------------------------------------------------------------------------------- 1 | .preprocessor { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .common-macros { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .keywords { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .primitives { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .reserved-keywords-for-future-use { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .builtin-functions { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .builtin-variables { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .builtin-constants { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .builtin-uniform-states { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .glsl { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/go.css: -------------------------------------------------------------------------------- 1 | .printf { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .comment { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .comment-multiline { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .close-comment-outside-comment { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .quoted-string { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .backquote-string { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .char { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .imaginary { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .float { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .hexadecimal { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .invalid-hexadecimal { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .octal { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .invalid-octal { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .decimal { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .boolean { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | .keywords { 62 | -fx-fill:#001F3F; 63 | -fx-font-weight: bold; 64 | } 65 | .types { 66 | -fx-fill:#0074D9; 67 | -fx-font-weight: bold; 68 | } 69 | .builtin-constant { 70 | -fx-fill:#7FDBFF; 71 | -fx-font-weight: bold; 72 | } 73 | .builtin-function { 74 | -fx-fill:#39CCCC; 75 | -fx-font-weight: bold; 76 | } 77 | .go { 78 | -fx-fill:#3D9970; 79 | -fx-font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/gtk-doc.css: -------------------------------------------------------------------------------- 1 | .skip-asterisk { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .inline-docs-body { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .inline-docs-section { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/gtkrc.css: -------------------------------------------------------------------------------- 1 | .double-quoted-string { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .single-quoted-string { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .line-comment { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .keysymbol { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .number { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .keyword { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .variable { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .state { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .include-directive { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .boolean-value { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .gtkrc { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/haddock.css: -------------------------------------------------------------------------------- 1 | .haddock { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/haskell-literate.css: -------------------------------------------------------------------------------- 1 | .haskell-literate { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/haskell.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .pragma { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .variable { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .type-or-constructor { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .symbol { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .keysymbol { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .string { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | .char { 34 | -fx-fill:#01FF70; 35 | -fx-font-weight: bold; 36 | } 37 | .float { 38 | -fx-fill:#FFDC00; 39 | -fx-font-weight: bold; 40 | } 41 | .hexadecimal { 42 | -fx-fill:#FF851B; 43 | -fx-font-weight: bold; 44 | } 45 | .octal { 46 | -fx-fill:#FF4136; 47 | -fx-font-weight: bold; 48 | } 49 | .decimal { 50 | -fx-fill:#F012BE; 51 | -fx-font-weight: bold; 52 | } 53 | .keyword { 54 | -fx-fill:#B10DC9; 55 | -fx-font-weight: bold; 56 | } 57 | .body { 58 | -fx-fill:#85144B; 59 | -fx-font-weight: bold; 60 | } 61 | .haskell { 62 | -fx-fill:#FFFFFF; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/html.css: -------------------------------------------------------------------------------- 1 | .comment { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .dtd { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .embedded-lang-hook { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .headings { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .generic-tag { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .style { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .script { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .tag { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .html { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/idl-exelis.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .string-doublequote { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .string-singlequote { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .sectional { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .operators { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .keyword { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .functions { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .include-pragma { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .function { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | .types { 38 | -fx-fill:#FFFFFF; 39 | -fx-font-weight: bold; 40 | } 41 | .float { 42 | -fx-fill:#AAAAAA; 43 | -fx-font-weight: bold; 44 | } 45 | .decimal { 46 | -fx-fill:#111111; 47 | -fx-font-weight: bold; 48 | } 49 | .idl-exelis { 50 | -fx-fill:#001F3F; 51 | -fx-font-weight: bold; 52 | } 53 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/idl.css: -------------------------------------------------------------------------------- 1 | .block-comment { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .sectional { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .string { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .include-pragma { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .types { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .preprocessor-definitions { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .idl { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/imagej.css: -------------------------------------------------------------------------------- 1 | .double-quoted-string { 2 | -fx-fill:#39CCCC; 3 | -fx-font-weight: bold; 4 | } 5 | .single-quoted-string { 6 | -fx-fill:#3D9970; 7 | -fx-font-weight: bold; 8 | } 9 | .operator { 10 | -fx-fill:#2ECC40; 11 | -fx-font-weight: bold; 12 | } 13 | .storage-type { 14 | -fx-fill:#01FF70; 15 | -fx-font-weight: bold; 16 | } 17 | .boolean { 18 | -fx-fill:#FFDC00; 19 | -fx-font-weight: bold; 20 | } 21 | .keyword { 22 | -fx-fill:#FF851B; 23 | -fx-font-weight: bold; 24 | } 25 | .command { 26 | -fx-fill:#FF4136; 27 | -fx-font-weight: bold; 28 | } 29 | .builtin { 30 | -fx-fill:#F012BE; 31 | -fx-font-weight: bold; 32 | } 33 | .imagej { 34 | -fx-fill:#B10DC9; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ini.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .group { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .non-standard-key { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .language { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .variable { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean-value { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .single-quoted-string { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .double-quoted-string { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .integer { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .decimal-number { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .ini { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/j.css: -------------------------------------------------------------------------------- 1 | .comment { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .error { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .number { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .noun { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .verb { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | .adverb { 26 | -fx-fill:#111111; 27 | -fx-font-weight: bold; 28 | } 29 | .conjunction { 30 | -fx-fill:#001F3F; 31 | -fx-font-weight: bold; 32 | } 33 | .parens { 34 | -fx-fill:#0074D9; 35 | -fx-font-weight: bold; 36 | } 37 | .exparg { 38 | -fx-fill:#7FDBFF; 39 | -fx-font-weight: bold; 40 | } 41 | .control { 42 | -fx-fill:#39CCCC; 43 | -fx-font-weight: bold; 44 | } 45 | .expdef { 46 | -fx-fill:#3D9970; 47 | -fx-font-weight: bold; 48 | } 49 | .noundef { 50 | -fx-fill:#2ECC40; 51 | -fx-font-weight: bold; 52 | } 53 | .labtext { 54 | -fx-fill:#01FF70; 55 | -fx-font-weight: bold; 56 | } 57 | .notes { 58 | -fx-fill:#FFDC00; 59 | -fx-font-weight: bold; 60 | } 61 | .note { 62 | -fx-fill:#FF851B; 63 | -fx-font-weight: bold; 64 | } 65 | .global { 66 | -fx-fill:#FF4136; 67 | -fx-font-weight: bold; 68 | } 69 | .local { 70 | -fx-fill:#F012BE; 71 | -fx-font-weight: bold; 72 | } 73 | .j { 74 | -fx-fill:#B10DC9; 75 | -fx-font-weight: bold; 76 | } 77 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/jade.css: -------------------------------------------------------------------------------- 1 | .doctype { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .attribute-name { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .entity { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .character-reference { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .unallowed-chars { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .attribute-value { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .attributes { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .tags { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .attribute-id { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .attribute-class { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .line-comment { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .jade-executable { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | .interpolated { 50 | -fx-fill:#FFDC00; 51 | -fx-font-weight: bold; 52 | } 53 | .jade-filter { 54 | -fx-fill:#FF851B; 55 | -fx-font-weight: bold; 56 | } 57 | .jade { 58 | -fx-fill:#FF4136; 59 | -fx-font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/java.css: -------------------------------------------------------------------------------- 1 | 2 | .char { 3 | -fx-fill:#FF4136; 4 | -fx-font-weight: bold; 5 | } 6 | .externals { 7 | -fx-fill:#F012BE; 8 | -fx-font-weight: bold; 9 | } 10 | .declarations { 11 | -fx-fill:#B10DC9; 12 | -fx-font-weight: bold; 13 | } 14 | .primitives { 15 | -fx-fill:#85144B; 16 | -fx-font-weight: bold; 17 | } 18 | .storageclass { 19 | -fx-fill:#85144b; 20 | -fx-font-weight: bold; 21 | } 22 | .scopedeclarations { 23 | -fx-fill:#85144b; 24 | -fx-font-weight: bold; 25 | } 26 | .flow { 27 | -fx-fill:#85144b; 28 | -fx-font-weight: bold; 29 | } 30 | .memory { 31 | -fx-fill:#001F3F; 32 | -fx-font-weight: bold; 33 | } 34 | .future { 35 | -fx-fill:#0074D9; 36 | -fx-font-weight: bold; 37 | } 38 | .nullvalue { 39 | -fx-fill:#7FDBFF; 40 | -fx-font-weight: bold; 41 | } 42 | .boolean { 43 | -fx-fill:#39CCCC; 44 | -fx-font-weight: bold; 45 | } 46 | .numeric { 47 | -fx-fill:#3D9970; 48 | -fx-font-weight: bold; 49 | } 50 | .java { 51 | -fx-fill:#2ECC40; 52 | -fx-font-weight: bold; 53 | } 54 | .semicolon { 55 | -fx-font-weight: bold; 56 | } 57 | .paren { 58 | -fx-fill: red; 59 | -fx-font-weight: bold; 60 | } 61 | .bracket { 62 | -fx-fill: darkgreen; 63 | -fx-font-weight: bold; 64 | } 65 | .brace { 66 | -fx-fill: teal; 67 | -fx-font-weight: bold; 68 | } 69 | .comment { 70 | -fx-fill: cadetblue; 71 | } 72 | .string { 73 | -fx-fill:#FF851B; 74 | -fx-font-weight: bold; 75 | } 76 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/javascript.css: -------------------------------------------------------------------------------- 1 | .escape { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .regex-bracketed { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .regex-simple { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .undefined-value { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .null-value { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean { 22 | -fx-fill:#0074D9; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#7FDBFF; 27 | -fx-font-weight: bold; 28 | } 29 | .unofficial-keywords { 30 | -fx-fill:#39CCCC; 31 | -fx-font-weight: bold; 32 | } 33 | .types { 34 | -fx-fill:#3D9970; 35 | -fx-font-weight: bold; 36 | } 37 | .functions { 38 | -fx-fill:#2ECC40; 39 | -fx-font-weight: bold; 40 | } 41 | .properties { 42 | -fx-fill:#01FF70; 43 | -fx-font-weight: bold; 44 | } 45 | .constructors { 46 | -fx-fill:#FFDC00; 47 | -fx-font-weight: bold; 48 | } 49 | .future-words { 50 | -fx-fill:#FF851B; 51 | -fx-font-weight: bold; 52 | } 53 | .js { 54 | -fx-fill:#FF4136; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/json.css: -------------------------------------------------------------------------------- 1 | .array { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .object { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .string { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .decimal { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .float { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .catchall { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .value { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .json { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/julia.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .character { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .number { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | .boolean { 14 | -fx-fill:#FFFFFF; 15 | -fx-font-weight: bold; 16 | } 17 | .math-constant { 18 | -fx-fill:#AAAAAA; 19 | -fx-font-weight: bold; 20 | } 21 | .special-constant { 22 | -fx-fill:#111111; 23 | -fx-font-weight: bold; 24 | } 25 | .operator { 26 | -fx-fill:#001F3F; 27 | -fx-font-weight: bold; 28 | } 29 | .punctuation { 30 | -fx-fill:#0074D9; 31 | -fx-font-weight: bold; 32 | } 33 | .keyword { 34 | -fx-fill:#7FDBFF; 35 | -fx-font-weight: bold; 36 | } 37 | .external-command { 38 | -fx-fill:#39CCCC; 39 | -fx-font-weight: bold; 40 | } 41 | .builtin-function { 42 | -fx-fill:#3D9970; 43 | -fx-font-weight: bold; 44 | } 45 | .module { 46 | -fx-fill:#2ECC40; 47 | -fx-font-weight: bold; 48 | } 49 | .type { 50 | -fx-fill:#01FF70; 51 | -fx-font-weight: bold; 52 | } 53 | .julia { 54 | -fx-fill:#FFDC00; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/latex.css: -------------------------------------------------------------------------------- 1 | .comment { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .verbatim-env { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .R-block { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .lstinline-curly-brackets { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .lstinline-square-brackets { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .lstinline { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .verbatim-inline { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .verbatim { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .common-commands { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .include { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | .generic-command { 42 | -fx-fill:#85144B; 43 | -fx-font-weight: bold; 44 | } 45 | .specific-commands { 46 | -fx-fill:#FFFFFF; 47 | -fx-font-weight: bold; 48 | } 49 | .special-char { 50 | -fx-fill:#AAAAAA; 51 | -fx-font-weight: bold; 52 | } 53 | .curly-braces-pair { 54 | -fx-fill:#111111; 55 | -fx-font-weight: bold; 56 | } 57 | .headings { 58 | -fx-fill:#001F3F; 59 | -fx-font-weight: bold; 60 | } 61 | .math-command { 62 | -fx-fill:#0074D9; 63 | -fx-font-weight: bold; 64 | } 65 | .math-spacing { 66 | -fx-fill:#7FDBFF; 67 | -fx-font-weight: bold; 68 | } 69 | .math-brackets { 70 | -fx-fill:#39CCCC; 71 | -fx-font-weight: bold; 72 | } 73 | .math-super-sub-script { 74 | -fx-fill:#3D9970; 75 | -fx-font-weight: bold; 76 | } 77 | .in-math { 78 | -fx-fill:#2ECC40; 79 | -fx-font-weight: bold; 80 | } 81 | .math-1 { 82 | -fx-fill:#01FF70; 83 | -fx-font-weight: bold; 84 | } 85 | .math-2 { 86 | -fx-fill:#FFDC00; 87 | -fx-font-weight: bold; 88 | } 89 | .math-env { 90 | -fx-fill:#FF851B; 91 | -fx-font-weight: bold; 92 | } 93 | .inline-math-1 { 94 | -fx-fill:#FF4136; 95 | -fx-font-weight: bold; 96 | } 97 | .inline-math-2 { 98 | -fx-fill:#F012BE; 99 | -fx-font-weight: bold; 100 | } 101 | .math { 102 | -fx-fill:#B10DC9; 103 | -fx-font-weight: bold; 104 | } 105 | .latex { 106 | -fx-fill:#85144B; 107 | -fx-font-weight: bold; 108 | } 109 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/lex.css: -------------------------------------------------------------------------------- 1 | .inline-c { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .top-block { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .c-with-brackets { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .indented-lines-c-code { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .definitions { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .definition { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .option-or-scope { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .rule-section { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .rule { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .start-condition { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | .start-condition-block { 42 | -fx-fill:#7FDBFF; 43 | -fx-font-weight: bold; 44 | } 45 | .escaped-char { 46 | -fx-fill:#39CCCC; 47 | -fx-font-weight: bold; 48 | } 49 | .square-brackets { 50 | -fx-fill:#3D9970; 51 | -fx-font-weight: bold; 52 | } 53 | .round-brackets { 54 | -fx-fill:#2ECC40; 55 | -fx-font-weight: bold; 56 | } 57 | .user-code { 58 | -fx-fill:#01FF70; 59 | -fx-font-weight: bold; 60 | } 61 | .lex { 62 | -fx-fill:#FFDC00; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/libtool.css: -------------------------------------------------------------------------------- 1 | .libtool { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/llvm.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .functions { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .constant { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .boolean { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .types { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .integertype { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .variable { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .identifier { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .numeric { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .string { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .line-comment { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .llvm { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/lua.css: -------------------------------------------------------------------------------- 1 | .lua-escape { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .label { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .string { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .multi-line-string { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .block-comment { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .line-comment { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .functions { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .lua-reserved { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .nil-value { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .boolean { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | .lua { 46 | -fx-fill:#B10DC9; 47 | -fx-font-weight: bold; 48 | } 49 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/makefile.css: -------------------------------------------------------------------------------- 1 | .variable-1 { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .variable-2 { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .variable { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .sh-variable { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .assignment-rhs { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .command { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .directives { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .functions { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .makefile { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/mallard.css: -------------------------------------------------------------------------------- 1 | .page-element { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .section-element { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .block-elements { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .inline-elements { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .mallard-tags { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .mallard { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/markdown.css: -------------------------------------------------------------------------------- 1 | .atx-header { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .setext-header { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .horizontal-rule { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .list { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .code-block { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .backtick-code-span1 { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .backticks-code-span2 { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .blockquote { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .automatic-link { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .inline-link { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .reference-link { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | .link-definition { 46 | -fx-fill:#B10DC9; 47 | -fx-font-weight: bold; 48 | } 49 | .inline-image { 50 | -fx-fill:#85144B; 51 | -fx-font-weight: bold; 52 | } 53 | .reference-image { 54 | -fx-fill:#FFFFFF; 55 | -fx-font-weight: bold; 56 | } 57 | .underscores-emphasis { 58 | -fx-fill:#AAAAAA; 59 | -fx-font-weight: bold; 60 | } 61 | .asterisks-emphasis { 62 | -fx-fill:#111111; 63 | -fx-font-weight: bold; 64 | } 65 | .underscores-strong-emphasis { 66 | -fx-fill:#001F3F; 67 | -fx-font-weight: bold; 68 | } 69 | .asterisks-strong-emphasis { 70 | -fx-fill:#0074D9; 71 | -fx-font-weight: bold; 72 | } 73 | .backslash-escape { 74 | -fx-fill:#7FDBFF; 75 | -fx-font-weight: bold; 76 | } 77 | .line-break { 78 | -fx-fill:#39CCCC; 79 | -fx-font-weight: bold; 80 | } 81 | .markdown-syntax { 82 | -fx-fill:#3D9970; 83 | -fx-font-weight: bold; 84 | } 85 | .markdown { 86 | -fx-fill:#2ECC40; 87 | -fx-font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/matlab.css: -------------------------------------------------------------------------------- 1 | .block-comment { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .builtin { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .matlab { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/mediawiki.css: -------------------------------------------------------------------------------- 1 | .double-emphasis { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .strong-emphasis { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .light-emphasis { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .signature { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .url { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .internal-link { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .external-link { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .line { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .list { 34 | -fx-fill:#FFDC00; 35 | -fx-font-weight: bold; 36 | } 37 | .glossary-term { 38 | -fx-fill:#FF851B; 39 | -fx-font-weight: bold; 40 | } 41 | .glossary-definition { 42 | -fx-fill:#FF4136; 43 | -fx-font-weight: bold; 44 | } 45 | .magic-word-1 { 46 | -fx-fill:#F012BE; 47 | -fx-font-weight: bold; 48 | } 49 | .magic-word-2 { 50 | -fx-fill:#B10DC9; 51 | -fx-font-weight: bold; 52 | } 53 | .table { 54 | -fx-fill:#85144B; 55 | -fx-font-weight: bold; 56 | } 57 | .preformatted { 58 | -fx-fill:#FFFFFF; 59 | -fx-font-weight: bold; 60 | } 61 | .redirect { 62 | -fx-fill:#AAAAAA; 63 | -fx-font-weight: bold; 64 | } 65 | .title { 66 | -fx-fill:#111111; 67 | -fx-font-weight: bold; 68 | } 69 | .template { 70 | -fx-fill:#001F3F; 71 | -fx-font-weight: bold; 72 | } 73 | .mediawiki-syntax { 74 | -fx-fill:#0074D9; 75 | -fx-font-weight: bold; 76 | } 77 | .mediawiki { 78 | -fx-fill:#7FDBFF; 79 | -fx-font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/meson.css: -------------------------------------------------------------------------------- 1 | .multiline-string { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .builtin-command { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .operator { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .meson { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/modelica.css: -------------------------------------------------------------------------------- 1 | .double-quoted-string { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .operator { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .class-type { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .data-type { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .default-attribute { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .decimal { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .floating-point-number { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .keyword { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .builtin { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | .modelica { 42 | -fx-fill:#7FDBFF; 43 | -fx-font-weight: bold; 44 | } 45 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/mxml.css: -------------------------------------------------------------------------------- 1 | .actionscript { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .mxml { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/nemerle.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .if-false-comment { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .character { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .string { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .keywords { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .types { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .null-value { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | .boolean { 42 | -fx-fill:#7FDBFF; 43 | -fx-font-weight: bold; 44 | } 45 | .float { 46 | -fx-fill:#39CCCC; 47 | -fx-font-weight: bold; 48 | } 49 | .decimal { 50 | -fx-fill:#3D9970; 51 | -fx-font-weight: bold; 52 | } 53 | .binary { 54 | -fx-fill:#2ECC40; 55 | -fx-font-weight: bold; 56 | } 57 | .octal { 58 | -fx-fill:#01FF70; 59 | -fx-font-weight: bold; 60 | } 61 | .hexadecimal { 62 | -fx-fill:#FFDC00; 63 | -fx-font-weight: bold; 64 | } 65 | .nemerle { 66 | -fx-fill:#FF851B; 67 | -fx-font-weight: bold; 68 | } 69 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/nemo_action.css: -------------------------------------------------------------------------------- 1 | .group { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .language { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .boolean { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .exec-parameter { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .encoding { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .number { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .standard-key { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .non-standard-key { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | .key { 34 | -fx-fill:#01FF70; 35 | -fx-font-weight: bold; 36 | } 37 | .nemo_action { 38 | -fx-fill:#FFDC00; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/netrexx.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .char { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .line-comment { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .externals { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .options { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .primitive-types { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .special { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .visibility { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .modifiers { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | .keywords { 38 | -fx-fill:#FFFFFF; 39 | -fx-font-weight: bold; 40 | } 41 | .sub-keywords { 42 | -fx-fill:#AAAAAA; 43 | -fx-font-weight: bold; 44 | } 45 | .builtin-function { 46 | -fx-fill:#111111; 47 | -fx-font-weight: bold; 48 | } 49 | .numeric { 50 | -fx-fill:#001F3F; 51 | -fx-font-weight: bold; 52 | } 53 | .netrexx { 54 | -fx-fill:#0074D9; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/nsis.css: -------------------------------------------------------------------------------- 1 | .operator { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .variable { 6 | -fx-fill:#01FF70; 7 | -fx-font-weight: bold; 8 | } 9 | .variable-assignment { 10 | -fx-fill:#FFDC00; 11 | -fx-font-weight: bold; 12 | } 13 | .string { 14 | -fx-fill:#FF851B; 15 | -fx-font-weight: bold; 16 | } 17 | .comment { 18 | -fx-fill:#FF4136; 19 | -fx-font-weight: bold; 20 | } 21 | .nsis { 22 | -fx-fill:#F012BE; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/objc.css: -------------------------------------------------------------------------------- 1 | .objc-header { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .objc-source { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .objc { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .printf { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .if0-comment { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .include { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .preprocessor { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .string { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .char { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .float { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .hexadecimal { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | .invalid-hexadecimal { 46 | -fx-fill:#B10DC9; 47 | -fx-font-weight: bold; 48 | } 49 | .octal { 50 | -fx-fill:#85144B; 51 | -fx-font-weight: bold; 52 | } 53 | .invalid-octal { 54 | -fx-fill:#FFFFFF; 55 | -fx-font-weight: bold; 56 | } 57 | .decimal { 58 | -fx-fill:#AAAAAA; 59 | -fx-font-weight: bold; 60 | } 61 | .keywords { 62 | -fx-fill:#111111; 63 | -fx-font-weight: bold; 64 | } 65 | .operators { 66 | -fx-fill:#001F3F; 67 | -fx-font-weight: bold; 68 | } 69 | .types { 70 | -fx-fill:#0074D9; 71 | -fx-font-weight: bold; 72 | } 73 | .storage-class { 74 | -fx-fill:#7FDBFF; 75 | -fx-font-weight: bold; 76 | } 77 | .boolean { 78 | -fx-fill:#39CCCC; 79 | -fx-font-weight: bold; 80 | } 81 | .common-defines { 82 | -fx-fill:#3D9970; 83 | -fx-font-weight: bold; 84 | } 85 | .standard-streams { 86 | -fx-fill:#2ECC40; 87 | -fx-font-weight: bold; 88 | } 89 | .signals { 90 | -fx-fill:#01FF70; 91 | -fx-font-weight: bold; 92 | } 93 | .c { 94 | -fx-fill:#FFDC00; 95 | -fx-font-weight: bold; 96 | } 97 | .comment { 98 | -fx-fill: cadetblue; 99 | } 100 | .string { 101 | -fx-fill:#FF851B; 102 | -fx-font-weight: bold; 103 | } 104 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/objj.css: -------------------------------------------------------------------------------- 1 | .headers { 2 | -fx-fill:#FFDC00; 3 | -fx-font-weight: bold; 4 | } 5 | .sources { 6 | -fx-fill:#FF851B; 7 | -fx-font-weight: bold; 8 | } 9 | .objj { 10 | -fx-fill:#FF4136; 11 | -fx-font-weight: bold; 12 | } 13 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ocaml.css: -------------------------------------------------------------------------------- 1 | .escape-seq { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .ocaml { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ocl.css: -------------------------------------------------------------------------------- 1 | .ocl { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/octave.css: -------------------------------------------------------------------------------- 1 | .block-comment { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .line-continue { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .single-quoted-string { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .operator { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .data-type { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .function-handle { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .storage-type { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .boolean { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .reserved-constant { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .package-manager { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | .keyword { 46 | -fx-fill:#B10DC9; 47 | -fx-font-weight: bold; 48 | } 49 | .builtin { 50 | -fx-fill:#85144B; 51 | -fx-font-weight: bold; 52 | } 53 | .octave { 54 | -fx-fill:#FFFFFF; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ooc.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .block-comment { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .close-comment-outside-comment { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .externals { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .declarations { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .primitive-types { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .storage-class { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .scope-declarations { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .flow { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .memory { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .future-reserved-words { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .null-value { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .boolean { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .float { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | .hexadecimal { 62 | -fx-fill:#001F3F; 63 | -fx-font-weight: bold; 64 | } 65 | .octal { 66 | -fx-fill:#0074D9; 67 | -fx-font-weight: bold; 68 | } 69 | .decimal { 70 | -fx-fill:#7FDBFF; 71 | -fx-font-weight: bold; 72 | } 73 | .ooc { 74 | -fx-fill:#39CCCC; 75 | -fx-font-weight: bold; 76 | } 77 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/opal.css: -------------------------------------------------------------------------------- 1 | .comment { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | .decimal { 6 | -fx-fill:#FFDC00; 7 | -fx-font-weight: bold; 8 | } 9 | .comment-multiline { 10 | -fx-fill:#FF851B; 11 | -fx-font-weight: bold; 12 | } 13 | .close-comment-outside-comment { 14 | -fx-fill:#FF4136; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#F012BE; 19 | -fx-font-weight: bold; 20 | } 21 | .module-handler { 22 | -fx-fill:#B10DC9; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#85144B; 27 | -fx-font-weight: bold; 28 | } 29 | .keysymbol { 30 | -fx-fill:#FFFFFF; 31 | -fx-font-weight: bold; 32 | } 33 | .types { 34 | -fx-fill:#AAAAAA; 35 | -fx-font-weight: bold; 36 | } 37 | .boolean { 38 | -fx-fill:#111111; 39 | -fx-font-weight: bold; 40 | } 41 | .opal { 42 | -fx-fill:#001F3F; 43 | -fx-font-weight: bold; 44 | } 45 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/opencl.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .data-types { 6 | -fx-fill:#01FF70; 7 | -fx-font-weight: bold; 8 | } 9 | .global-functions { 10 | -fx-fill:#FFDC00; 11 | -fx-font-weight: bold; 12 | } 13 | .device-functions { 14 | -fx-fill:#FF851B; 15 | -fx-font-weight: bold; 16 | } 17 | .device-casts { 18 | -fx-fill:#FF4136; 19 | -fx-font-weight: bold; 20 | } 21 | .opencl-constants { 22 | -fx-fill:#F012BE; 23 | -fx-font-weight: bold; 24 | } 25 | .opencl { 26 | -fx-fill:#B10DC9; 27 | -fx-font-weight: bold; 28 | } 29 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/pascal.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .line-comment { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .block-comment-1 { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .block-comment-2 { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .preprocessor-defines { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .general-format { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .functions-and-function-modifiers { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .boolean-bitwise-operators { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .math-operators { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .loop-flow-and-exceptions-keywords { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .type-class-and-object-keywords { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .builtin-types { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .builtin-functions { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .builtin-values { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .number { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | .hex-number { 62 | -fx-fill:#001F3F; 63 | -fx-font-weight: bold; 64 | } 65 | .pascal { 66 | -fx-fill:#0074D9; 67 | -fx-font-weight: bold; 68 | } 69 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/perl.css: -------------------------------------------------------------------------------- 1 | .perl { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .error { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .operator { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .plain-variable { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .special-variable { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .variable { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .in-pattern { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .in-pattern-curly-no-ve { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .in-pattern-curly { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .in-pattern-square-no-ve { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | .in-pattern-square { 42 | -fx-fill:#B10DC9; 43 | -fx-font-weight: bold; 44 | } 45 | .in-pattern-round-no-ve { 46 | -fx-fill:#85144B; 47 | -fx-font-weight: bold; 48 | } 49 | .in-pattern-round { 50 | -fx-fill:#FFFFFF; 51 | -fx-font-weight: bold; 52 | } 53 | .in-pattern-angle-no-ve { 54 | -fx-fill:#AAAAAA; 55 | -fx-font-weight: bold; 56 | } 57 | .in-pattern-angle { 58 | -fx-fill:#111111; 59 | -fx-font-weight: bold; 60 | } 61 | .simple-pattern { 62 | -fx-fill:#001F3F; 63 | -fx-font-weight: bold; 64 | } 65 | .simple-pattern-no-ve { 66 | -fx-fill:#0074D9; 67 | -fx-font-weight: bold; 68 | } 69 | .double-pattern { 70 | -fx-fill:#7FDBFF; 71 | -fx-font-weight: bold; 72 | } 73 | .double-pattern-no-ve { 74 | -fx-fill:#39CCCC; 75 | -fx-font-weight: bold; 76 | } 77 | .single-quoted-string { 78 | -fx-fill:#3D9970; 79 | -fx-font-weight: bold; 80 | } 81 | .double-quoted-string { 82 | -fx-fill:#2ECC40; 83 | -fx-font-weight: bold; 84 | } 85 | .word-list { 86 | -fx-fill:#01FF70; 87 | -fx-font-weight: bold; 88 | } 89 | .regular-expression { 90 | -fx-fill:#FFDC00; 91 | -fx-font-weight: bold; 92 | } 93 | .system-command { 94 | -fx-fill:#FF851B; 95 | -fx-font-weight: bold; 96 | } 97 | .match { 98 | -fx-fill:#FF4136; 99 | -fx-font-weight: bold; 100 | } 101 | .substitution { 102 | -fx-fill:#F012BE; 103 | -fx-font-weight: bold; 104 | } 105 | .transliteration { 106 | -fx-fill:#B10DC9; 107 | -fx-font-weight: bold; 108 | } 109 | .match-slashslash { 110 | -fx-fill:#85144B; 111 | -fx-font-weight: bold; 112 | } 113 | .here-doc-no-ve { 114 | -fx-fill:#FFFFFF; 115 | -fx-font-weight: bold; 116 | } 117 | .here-doc { 118 | -fx-fill:#AAAAAA; 119 | -fx-font-weight: bold; 120 | } 121 | .sub { 122 | -fx-fill:#111111; 123 | -fx-font-weight: bold; 124 | } 125 | .file-descriptor { 126 | -fx-fill:#001F3F; 127 | -fx-font-weight: bold; 128 | } 129 | .control { 130 | -fx-fill:#0074D9; 131 | -fx-font-weight: bold; 132 | } 133 | .include-statement { 134 | -fx-fill:#7FDBFF; 135 | -fx-font-weight: bold; 136 | } 137 | .keyword { 138 | -fx-fill:#39CCCC; 139 | -fx-font-weight: bold; 140 | } 141 | .builtin { 142 | -fx-fill:#3D9970; 143 | -fx-font-weight: bold; 144 | } 145 | .asserted-comment { 146 | -fx-fill:#2ECC40; 147 | -fx-font-weight: bold; 148 | } 149 | .line-directive { 150 | -fx-fill:#01FF70; 151 | -fx-font-weight: bold; 152 | } 153 | .in-pod { 154 | -fx-fill:#FFDC00; 155 | -fx-font-weight: bold; 156 | } 157 | .pod-escape { 158 | -fx-fill:#FF851B; 159 | -fx-font-weight: bold; 160 | } 161 | .pod-heading { 162 | -fx-fill:#FF4136; 163 | -fx-font-weight: bold; 164 | } 165 | .pod { 166 | -fx-fill:#F012BE; 167 | -fx-font-weight: bold; 168 | } 169 | .data { 170 | -fx-fill:#B10DC9; 171 | -fx-font-weight: bold; 172 | } 173 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/php.css: -------------------------------------------------------------------------------- 1 | .bash-line-comment { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | .cpp-line-comment { 6 | -fx-fill:#FFDC00; 7 | -fx-font-weight: bold; 8 | } 9 | .c-block-comment { 10 | -fx-fill:#FF851B; 11 | -fx-font-weight: bold; 12 | } 13 | .close-comment-outside-comment { 14 | -fx-fill:#FF4136; 15 | -fx-font-weight: bold; 16 | } 17 | .escape { 18 | -fx-fill:#F012BE; 19 | -fx-font-weight: bold; 20 | } 21 | .variable { 22 | -fx-fill:#B10DC9; 23 | -fx-font-weight: bold; 24 | } 25 | .array-operators { 26 | -fx-fill:#85144B; 27 | -fx-font-weight: bold; 28 | } 29 | .string-var { 30 | -fx-fill:#FFFFFF; 31 | -fx-font-weight: bold; 32 | } 33 | .double-quoted-string { 34 | -fx-fill:#AAAAAA; 35 | -fx-font-weight: bold; 36 | } 37 | .single-quoted-string { 38 | -fx-fill:#111111; 39 | -fx-font-weight: bold; 40 | } 41 | .backtick-string { 42 | -fx-fill:#001F3F; 43 | -fx-font-weight: bold; 44 | } 45 | .here-doc-string { 46 | -fx-fill:#0074D9; 47 | -fx-font-weight: bold; 48 | } 49 | .now-doc-string { 50 | -fx-fill:#7FDBFF; 51 | -fx-font-weight: bold; 52 | } 53 | .identifier { 54 | -fx-fill:#39CCCC; 55 | -fx-font-weight: bold; 56 | } 57 | .keywords { 58 | -fx-fill:#3D9970; 59 | -fx-font-weight: bold; 60 | } 61 | .common-function { 62 | -fx-fill:#2ECC40; 63 | -fx-font-weight: bold; 64 | } 65 | .operators { 66 | -fx-fill:#01FF70; 67 | -fx-font-weight: bold; 68 | } 69 | .type { 70 | -fx-fill:#FFDC00; 71 | -fx-font-weight: bold; 72 | } 73 | .null-value { 74 | -fx-fill:#FF851B; 75 | -fx-font-weight: bold; 76 | } 77 | .boolean { 78 | -fx-fill:#FF4136; 79 | -fx-font-weight: bold; 80 | } 81 | .float { 82 | -fx-fill:#F012BE; 83 | -fx-font-weight: bold; 84 | } 85 | .decimal-number { 86 | -fx-fill:#B10DC9; 87 | -fx-font-weight: bold; 88 | } 89 | .octal-number { 90 | -fx-fill:#85144B; 91 | -fx-font-weight: bold; 92 | } 93 | .hexadecimal-number { 94 | -fx-fill:#FFFFFF; 95 | -fx-font-weight: bold; 96 | } 97 | .php-block { 98 | -fx-fill:#AAAAAA; 99 | -fx-font-weight: bold; 100 | } 101 | .php { 102 | -fx-fill:#111111; 103 | -fx-font-weight: bold; 104 | } 105 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/pig.css: -------------------------------------------------------------------------------- 1 | .datatype { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .boolean-literal { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .line-comment { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .reserved-words { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .builtin-functions { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .pig { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/pkgconfig.css: -------------------------------------------------------------------------------- 1 | .var-value { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .pkgconfig { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/po.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .format { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .location { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .keyword { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .gettext-translation { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/prolog.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#01FF70; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#FFDC00; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#FF851B; 11 | -fx-font-weight: bold; 12 | } 13 | .variable { 14 | -fx-fill:#FF4136; 15 | -fx-font-weight: bold; 16 | } 17 | .operators { 18 | -fx-fill:#F012BE; 19 | -fx-font-weight: bold; 20 | } 21 | .special-operators { 22 | -fx-fill:#B10DC9; 23 | -fx-font-weight: bold; 24 | } 25 | .escaped-character { 26 | -fx-fill:#85144B; 27 | -fx-font-weight: bold; 28 | } 29 | .string { 30 | -fx-fill:#FFFFFF; 31 | -fx-font-weight: bold; 32 | } 33 | .string2 { 34 | -fx-fill:#AAAAAA; 35 | -fx-font-weight: bold; 36 | } 37 | .number { 38 | -fx-fill:#111111; 39 | -fx-font-weight: bold; 40 | } 41 | .arith { 42 | -fx-fill:#001F3F; 43 | -fx-font-weight: bold; 44 | } 45 | .keyword { 46 | -fx-fill:#0074D9; 47 | -fx-font-weight: bold; 48 | } 49 | .prolog { 50 | -fx-fill:#7FDBFF; 51 | -fx-font-weight: bold; 52 | } 53 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/protobuf.css: -------------------------------------------------------------------------------- 1 | .syntax { 2 | -fx-fill:#FFDC00; 3 | -fx-font-weight: bold; 4 | } 5 | .package { 6 | -fx-fill:#FF851B; 7 | -fx-font-weight: bold; 8 | } 9 | .import { 10 | -fx-fill:#FF4136; 11 | -fx-font-weight: bold; 12 | } 13 | .variable { 14 | -fx-fill:#F012BE; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#B10DC9; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#85144B; 23 | -fx-font-weight: bold; 24 | } 25 | .types { 26 | -fx-fill:#FFFFFF; 27 | -fx-font-weight: bold; 28 | } 29 | .boolean { 30 | -fx-fill:#AAAAAA; 31 | -fx-font-weight: bold; 32 | } 33 | .proto { 34 | -fx-fill:#111111; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/puppet.css: -------------------------------------------------------------------------------- 1 | .keywords { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .keywords-inline { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .resources { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .objects { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .parameters { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .metaparameters { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .functions { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .values { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .variables { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .variables-with-brackets { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .global-variables { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .class-names { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | .syntax { 50 | -fx-fill:#FFDC00; 51 | -fx-font-weight: bold; 52 | } 53 | .blocks { 54 | -fx-fill:#FF851B; 55 | -fx-font-weight: bold; 56 | } 57 | .puppet { 58 | -fx-fill:#FF4136; 59 | -fx-font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/python.css: -------------------------------------------------------------------------------- 1 | .format { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .escaped-char { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .multiline-double-quoted-string { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .multiline-single-quoted-string { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .double-quoted-string { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .single-quoted-string { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .multiline-double-quoted-raw-string { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .multiline-single-quoted-raw-string { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .double-quoted-raw-string { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .single-quoted-raw-string { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .string-conversion { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .special-variables { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | .boolean { 50 | -fx-fill:#FFDC00; 51 | -fx-font-weight: bold; 52 | } 53 | .complex { 54 | -fx-fill:#FF851B; 55 | -fx-font-weight: bold; 56 | } 57 | .float { 58 | -fx-fill:#FF4136; 59 | -fx-font-weight: bold; 60 | } 61 | .decimal { 62 | -fx-fill:#F012BE; 63 | -fx-font-weight: bold; 64 | } 65 | .octal { 66 | -fx-fill:#B10DC9; 67 | -fx-font-weight: bold; 68 | } 69 | .hex { 70 | -fx-fill:#85144B; 71 | -fx-font-weight: bold; 72 | } 73 | .module-handler-from { 74 | -fx-fill:#FFFFFF; 75 | -fx-font-weight: bold; 76 | } 77 | .module-handler { 78 | -fx-fill:#AAAAAA; 79 | -fx-font-weight: bold; 80 | } 81 | .function-definition { 82 | -fx-fill:#111111; 83 | -fx-font-weight: bold; 84 | } 85 | .class-definition { 86 | -fx-fill:#001F3F; 87 | -fx-font-weight: bold; 88 | } 89 | .decorator { 90 | -fx-fill:#0074D9; 91 | -fx-font-weight: bold; 92 | } 93 | .keywords { 94 | -fx-fill:#7FDBFF; 95 | -fx-font-weight: bold; 96 | } 97 | .only-keywords-2x { 98 | -fx-fill:#39CCCC; 99 | -fx-font-weight: bold; 100 | } 101 | .builtin-constants { 102 | -fx-fill:#3D9970; 103 | -fx-font-weight: bold; 104 | } 105 | .builtin-objects { 106 | -fx-fill:#2ECC40; 107 | -fx-font-weight: bold; 108 | } 109 | .builtin-functions { 110 | -fx-fill:#01FF70; 111 | -fx-font-weight: bold; 112 | } 113 | .only-builtin-functions-2x { 114 | -fx-fill:#FFDC00; 115 | -fx-font-weight: bold; 116 | } 117 | .python { 118 | -fx-fill:#FF851B; 119 | -fx-font-weight: bold; 120 | } 121 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/python3.css: -------------------------------------------------------------------------------- 1 | .multiline-double-quoted-string { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .multiline-single-quoted-string { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .double-quoted-string { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .single-quoted-string { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .multiline-double-quoted-raw-string { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .multiline-single-quoted-raw-string { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | .double-quoted-raw-string { 26 | -fx-fill:#111111; 27 | -fx-font-weight: bold; 28 | } 29 | .single-quoted-raw-string { 30 | -fx-fill:#001F3F; 31 | -fx-font-weight: bold; 32 | } 33 | .python3 { 34 | -fx-fill:#0074D9; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/rpmspec.css: -------------------------------------------------------------------------------- 1 | .define { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .conditional-define { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .header { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .section { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .spec-macro { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .directory-macro { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .command-macro { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .conditional-macro { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | .other-macro { 34 | -fx-fill:#01FF70; 35 | -fx-font-weight: bold; 36 | } 37 | .flow { 38 | -fx-fill:#FFDC00; 39 | -fx-font-weight: bold; 40 | } 41 | .rpm-var { 42 | -fx-fill:#FF851B; 43 | -fx-font-weight: bold; 44 | } 45 | .command-switch { 46 | -fx-fill:#FF4136; 47 | -fx-font-weight: bold; 48 | } 49 | .changelog-section { 50 | -fx-fill:#F012BE; 51 | -fx-font-weight: bold; 52 | } 53 | .rpmspec { 54 | -fx-fill:#B10DC9; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/rst.css: -------------------------------------------------------------------------------- 1 | .directive { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .footnotes { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .link-target { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .comment { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .comment-single { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .title-adornment { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .bullet { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .enumerator { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .field { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .strong-emphasis { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | .emphasis { 42 | -fx-fill:#7FDBFF; 43 | -fx-font-weight: bold; 44 | } 45 | .link { 46 | -fx-fill:#39CCCC; 47 | -fx-font-weight: bold; 48 | } 49 | .substitution { 50 | -fx-fill:#3D9970; 51 | -fx-font-weight: bold; 52 | } 53 | .literals { 54 | -fx-fill:#2ECC40; 55 | -fx-font-weight: bold; 56 | } 57 | .url { 58 | -fx-fill:#01FF70; 59 | -fx-font-weight: bold; 60 | } 61 | .rst { 62 | -fx-fill:#FFDC00; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/ruby.css: -------------------------------------------------------------------------------- 1 | .escape { 2 | -fx-fill:#FF851B; 3 | -fx-font-weight: bold; 4 | } 5 | .multiline-comment { 6 | -fx-fill:#FF4136; 7 | -fx-font-weight: bold; 8 | } 9 | .attribute-definitions { 10 | -fx-fill:#F012BE; 11 | -fx-font-weight: bold; 12 | } 13 | .definitions { 14 | -fx-fill:#B10DC9; 15 | -fx-font-weight: bold; 16 | } 17 | .module-handlers { 18 | -fx-fill:#85144B; 19 | -fx-font-weight: bold; 20 | } 21 | .keywords { 22 | -fx-fill:#FFFFFF; 23 | -fx-font-weight: bold; 24 | } 25 | .builtins { 26 | -fx-fill:#AAAAAA; 27 | -fx-font-weight: bold; 28 | } 29 | .special-variables { 30 | -fx-fill:#111111; 31 | -fx-font-weight: bold; 32 | } 33 | .predefined-variables { 34 | -fx-fill:#001F3F; 35 | -fx-font-weight: bold; 36 | } 37 | .global-variables { 38 | -fx-fill:#0074D9; 39 | -fx-font-weight: bold; 40 | } 41 | .class-variables { 42 | -fx-fill:#7FDBFF; 43 | -fx-font-weight: bold; 44 | } 45 | .instance-variables { 46 | -fx-fill:#39CCCC; 47 | -fx-font-weight: bold; 48 | } 49 | .symbols { 50 | -fx-fill:#3D9970; 51 | -fx-font-weight: bold; 52 | } 53 | .regexp-variables { 54 | -fx-fill:#2ECC40; 55 | -fx-font-weight: bold; 56 | } 57 | .constants { 58 | -fx-fill:#01FF70; 59 | -fx-font-weight: bold; 60 | } 61 | .nil-value { 62 | -fx-fill:#FFDC00; 63 | -fx-font-weight: bold; 64 | } 65 | .boolean { 66 | -fx-fill:#FF851B; 67 | -fx-font-weight: bold; 68 | } 69 | .float { 70 | -fx-fill:#FF4136; 71 | -fx-font-weight: bold; 72 | } 73 | .decimal { 74 | -fx-fill:#F012BE; 75 | -fx-font-weight: bold; 76 | } 77 | .hex { 78 | -fx-fill:#B10DC9; 79 | -fx-font-weight: bold; 80 | } 81 | .octal { 82 | -fx-fill:#85144B; 83 | -fx-font-weight: bold; 84 | } 85 | .binary { 86 | -fx-fill:#FFFFFF; 87 | -fx-font-weight: bold; 88 | } 89 | .numeric-literal { 90 | -fx-fill:#AAAAAA; 91 | -fx-font-weight: bold; 92 | } 93 | .simple-interpolation { 94 | -fx-fill:#111111; 95 | -fx-font-weight: bold; 96 | } 97 | .complex-interpolation { 98 | -fx-fill:#001F3F; 99 | -fx-font-weight: bold; 100 | } 101 | .inside-interpolated-string { 102 | -fx-fill:#0074D9; 103 | -fx-font-weight: bold; 104 | } 105 | .double-quoted-string { 106 | -fx-fill:#7FDBFF; 107 | -fx-font-weight: bold; 108 | } 109 | .single-quoted-string { 110 | -fx-fill:#39CCCC; 111 | -fx-font-weight: bold; 112 | } 113 | .backtick-quoted-string { 114 | -fx-fill:#3D9970; 115 | -fx-font-weight: bold; 116 | } 117 | .here-doc-string { 118 | -fx-fill:#2ECC40; 119 | -fx-font-weight: bold; 120 | } 121 | .here-doc-indented-string { 122 | -fx-fill:#01FF70; 123 | -fx-font-weight: bold; 124 | } 125 | .here-doc-single-quoted-string { 126 | -fx-fill:#FFDC00; 127 | -fx-font-weight: bold; 128 | } 129 | .here-doc-double-quoted-string { 130 | -fx-fill:#FF851B; 131 | -fx-font-weight: bold; 132 | } 133 | .interpolated-literal { 134 | -fx-fill:#FF4136; 135 | -fx-font-weight: bold; 136 | } 137 | .non-interpolated-literal { 138 | -fx-fill:#F012BE; 139 | -fx-font-weight: bold; 140 | } 141 | .regex-bracketed { 142 | -fx-fill:#B10DC9; 143 | -fx-font-weight: bold; 144 | } 145 | .regex-alt-form { 146 | -fx-fill:#85144B; 147 | -fx-font-weight: bold; 148 | } 149 | .regex-simple { 150 | -fx-fill:#FFFFFF; 151 | -fx-font-weight: bold; 152 | } 153 | .ruby { 154 | -fx-fill:#AAAAAA; 155 | -fx-font-weight: bold; 156 | } 157 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/rust.css: -------------------------------------------------------------------------------- 1 | .function { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .type { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .keywords { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .types { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .self { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean { 22 | -fx-fill:#2ECC40; 23 | -fx-font-weight: bold; 24 | } 25 | .number { 26 | -fx-fill:#01FF70; 27 | -fx-font-weight: bold; 28 | } 29 | .scope { 30 | -fx-fill:#FFDC00; 31 | -fx-font-weight: bold; 32 | } 33 | .macro { 34 | -fx-fill:#FF851B; 35 | -fx-font-weight: bold; 36 | } 37 | .lifetime { 38 | -fx-fill:#FF4136; 39 | -fx-font-weight: bold; 40 | } 41 | .string-escape { 42 | -fx-fill:#F012BE; 43 | -fx-font-weight: bold; 44 | } 45 | .byte-string-escape { 46 | -fx-fill:#B10DC9; 47 | -fx-font-weight: bold; 48 | } 49 | .raw-string { 50 | -fx-fill:#85144B; 51 | -fx-font-weight: bold; 52 | } 53 | .string { 54 | -fx-fill:#FFFFFF; 55 | -fx-font-weight: bold; 56 | } 57 | .byte-string { 58 | -fx-fill:#AAAAAA; 59 | -fx-font-weight: bold; 60 | } 61 | .char { 62 | -fx-fill:#111111; 63 | -fx-font-weight: bold; 64 | } 65 | .byte { 66 | -fx-fill:#001F3F; 67 | -fx-font-weight: bold; 68 | } 69 | .attribute { 70 | -fx-fill:#0074D9; 71 | -fx-font-weight: bold; 72 | } 73 | .rust { 74 | -fx-fill:#7FDBFF; 75 | -fx-font-weight: bold; 76 | } 77 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/scala.css: -------------------------------------------------------------------------------- 1 | .string { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .multiline-string { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .operators { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | .character { 14 | -fx-fill:#FFFFFF; 15 | -fx-font-weight: bold; 16 | } 17 | .character-error { 18 | -fx-fill:#AAAAAA; 19 | -fx-font-weight: bold; 20 | } 21 | .symbol { 22 | -fx-fill:#111111; 23 | -fx-font-weight: bold; 24 | } 25 | .block-comment { 26 | -fx-fill:#001F3F; 27 | -fx-font-weight: bold; 28 | } 29 | .numeric { 30 | -fx-fill:#0074D9; 31 | -fx-font-weight: bold; 32 | } 33 | .annotation { 34 | -fx-fill:#7FDBFF; 35 | -fx-font-weight: bold; 36 | } 37 | .xmltag { 38 | -fx-fill:#39CCCC; 39 | -fx-font-weight: bold; 40 | } 41 | .literal-identifier { 42 | -fx-fill:#3D9970; 43 | -fx-font-weight: bold; 44 | } 45 | .external { 46 | -fx-fill:#2ECC40; 47 | -fx-font-weight: bold; 48 | } 49 | .declaration { 50 | -fx-fill:#01FF70; 51 | -fx-font-weight: bold; 52 | } 53 | .primitive-type { 54 | -fx-fill:#FFDC00; 55 | -fx-font-weight: bold; 56 | } 57 | .library-type { 58 | -fx-fill:#FF851B; 59 | -fx-font-weight: bold; 60 | } 61 | .modifier { 62 | -fx-fill:#FF4136; 63 | -fx-font-weight: bold; 64 | } 65 | .flow { 66 | -fx-fill:#F012BE; 67 | -fx-font-weight: bold; 68 | } 69 | .memory { 70 | -fx-fill:#B10DC9; 71 | -fx-font-weight: bold; 72 | } 73 | .special { 74 | -fx-fill:#85144B; 75 | -fx-font-weight: bold; 76 | } 77 | .scala { 78 | -fx-fill:#FFFFFF; 79 | -fx-font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/scheme.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .keyword { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .function { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .boolean-value { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .scheme { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/scilab.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .double-quoted-string { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .single-quoted-string { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .boolean { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .reserved-constant { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .keyword { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .floating-point-number { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .function { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .scilab { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/sh.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .double-quoted-string { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .single-quoted-string { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | .subshell { 14 | -fx-fill:#FFFFFF; 15 | -fx-font-weight: bold; 16 | } 17 | .backtick-subshell { 18 | -fx-fill:#AAAAAA; 19 | -fx-font-weight: bold; 20 | } 21 | .punctuator { 22 | -fx-fill:#111111; 23 | -fx-font-weight: bold; 24 | } 25 | .function { 26 | -fx-fill:#001F3F; 27 | -fx-font-weight: bold; 28 | } 29 | .redirection { 30 | -fx-fill:#0074D9; 31 | -fx-font-weight: bold; 32 | } 33 | .here-doc { 34 | -fx-fill:#7FDBFF; 35 | -fx-font-weight: bold; 36 | } 37 | .operator { 38 | -fx-fill:#39CCCC; 39 | -fx-font-weight: bold; 40 | } 41 | .short-parameter-expansion { 42 | -fx-fill:#3D9970; 43 | -fx-font-weight: bold; 44 | } 45 | .parameter-expansion { 46 | -fx-fill:#2ECC40; 47 | -fx-font-weight: bold; 48 | } 49 | .variable { 50 | -fx-fill:#01FF70; 51 | -fx-font-weight: bold; 52 | } 53 | .variable-definition { 54 | -fx-fill:#FFDC00; 55 | -fx-font-weight: bold; 56 | } 57 | .built-in-command-1 { 58 | -fx-fill:#FF851B; 59 | -fx-font-weight: bold; 60 | } 61 | .for-command { 62 | -fx-fill:#FF4136; 63 | -fx-font-weight: bold; 64 | } 65 | .built-in-command-2 { 66 | -fx-fill:#F012BE; 67 | -fx-font-weight: bold; 68 | } 69 | .built-in-command { 70 | -fx-fill:#B10DC9; 71 | -fx-font-weight: bold; 72 | } 73 | .common-command { 74 | -fx-fill:#85144B; 75 | -fx-font-weight: bold; 76 | } 77 | .case { 78 | -fx-fill:#FFFFFF; 79 | -fx-font-weight: bold; 80 | } 81 | .sh { 82 | -fx-fill:#AAAAAA; 83 | -fx-font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/sml.css: -------------------------------------------------------------------------------- 1 | .escaped-character { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .comment { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .character { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .string { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .integer { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .integer-hex { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .word { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .word-hex { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .real { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .boolean { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .special-var { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .keywords { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | .top-level-types { 50 | -fx-fill:#FF4136; 51 | -fx-font-weight: bold; 52 | } 53 | .sml { 54 | -fx-fill:#F012BE; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/sparql.css: -------------------------------------------------------------------------------- 1 | .var { 2 | -fx-fill:#FFFFFF; 3 | -fx-font-weight: bold; 4 | } 5 | .booleans { 6 | -fx-fill:#AAAAAA; 7 | -fx-font-weight: bold; 8 | } 9 | .a { 10 | -fx-fill:#111111; 11 | -fx-font-weight: bold; 12 | } 13 | .operators { 14 | -fx-fill:#001F3F; 15 | -fx-font-weight: bold; 16 | } 17 | .iri { 18 | -fx-fill:#0074D9; 19 | -fx-font-weight: bold; 20 | } 21 | .qnames { 22 | -fx-fill:#7FDBFF; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#39CCCC; 27 | -fx-font-weight: bold; 28 | } 29 | .functions { 30 | -fx-fill:#3D9970; 31 | -fx-font-weight: bold; 32 | } 33 | .namespaces { 34 | -fx-fill:#2ECC40; 35 | -fx-font-weight: bold; 36 | } 37 | .datatypes { 38 | -fx-fill:#01FF70; 39 | -fx-font-weight: bold; 40 | } 41 | .classes { 42 | -fx-fill:#FFDC00; 43 | -fx-font-weight: bold; 44 | } 45 | .predicates { 46 | -fx-fill:#FF851B; 47 | -fx-font-weight: bold; 48 | } 49 | .individuals { 50 | -fx-fill:#FF4136; 51 | -fx-font-weight: bold; 52 | } 53 | .sparql { 54 | -fx-fill:#F012BE; 55 | -fx-font-weight: bold; 56 | } 57 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/sql.css: -------------------------------------------------------------------------------- 1 | .oracle-built-in-datatypes { 2 | -fx-fill:#2ECC40; 3 | -fx-font-weight: bold; 4 | } 5 | .ansi-datatypes { 6 | -fx-fill:#01FF70; 7 | -fx-font-weight: bold; 8 | } 9 | .sql-ds-and-db2-datatypes { 10 | -fx-fill:#FFDC00; 11 | -fx-font-weight: bold; 12 | } 13 | .oracle-supplied-types { 14 | -fx-fill:#FF851B; 15 | -fx-font-weight: bold; 16 | } 17 | .text-literals { 18 | -fx-fill:#FF4136; 19 | -fx-font-weight: bold; 20 | } 21 | .integer-literals { 22 | -fx-fill:#F012BE; 23 | -fx-font-weight: bold; 24 | } 25 | .number-literals { 26 | -fx-fill:#B10DC9; 27 | -fx-font-weight: bold; 28 | } 29 | .size-clause { 30 | -fx-fill:#85144B; 31 | -fx-font-weight: bold; 32 | } 33 | .unlimited { 34 | -fx-fill:#FFFFFF; 35 | -fx-font-weight: bold; 36 | } 37 | .block-comment { 38 | -fx-fill:#AAAAAA; 39 | -fx-font-weight: bold; 40 | } 41 | .line-comment { 42 | -fx-fill:#111111; 43 | -fx-font-weight: bold; 44 | } 45 | .numeric-functions { 46 | -fx-fill:#001F3F; 47 | -fx-font-weight: bold; 48 | } 49 | .character-functions-returning-character-values { 50 | -fx-fill:#0074D9; 51 | -fx-font-weight: bold; 52 | } 53 | .nls-character-functions { 54 | -fx-fill:#7FDBFF; 55 | -fx-font-weight: bold; 56 | } 57 | .character-functions-returning-number-values { 58 | -fx-fill:#39CCCC; 59 | -fx-font-weight: bold; 60 | } 61 | .datetime-functions { 62 | -fx-fill:#3D9970; 63 | -fx-font-weight: bold; 64 | } 65 | .general-comparison-functions { 66 | -fx-fill:#2ECC40; 67 | -fx-font-weight: bold; 68 | } 69 | .conversion-functions { 70 | -fx-fill:#01FF70; 71 | -fx-font-weight: bold; 72 | } 73 | .large-object-functions { 74 | -fx-fill:#FFDC00; 75 | -fx-font-weight: bold; 76 | } 77 | .collection-functions { 78 | -fx-fill:#FF851B; 79 | -fx-font-weight: bold; 80 | } 81 | .hierarchical-function { 82 | -fx-fill:#FF4136; 83 | -fx-font-weight: bold; 84 | } 85 | .data-mining-functions { 86 | -fx-fill:#F012BE; 87 | -fx-font-weight: bold; 88 | } 89 | .xml-functions { 90 | -fx-fill:#B10DC9; 91 | -fx-font-weight: bold; 92 | } 93 | .encoding-and-decoding-functions { 94 | -fx-fill:#85144B; 95 | -fx-font-weight: bold; 96 | } 97 | .null-related-functions { 98 | -fx-fill:#FFFFFF; 99 | -fx-font-weight: bold; 100 | } 101 | .environment-and-identifier-functions { 102 | -fx-fill:#AAAAAA; 103 | -fx-font-weight: bold; 104 | } 105 | .aggregate-functions { 106 | -fx-fill:#111111; 107 | -fx-font-weight: bold; 108 | } 109 | .analytic-functions { 110 | -fx-fill:#001F3F; 111 | -fx-font-weight: bold; 112 | } 113 | .object-reference-functions { 114 | -fx-fill:#0074D9; 115 | -fx-font-weight: bold; 116 | } 117 | .model-functions { 118 | -fx-fill:#7FDBFF; 119 | -fx-font-weight: bold; 120 | } 121 | .ansi-reserved-words { 122 | -fx-fill:#39CCCC; 123 | -fx-font-weight: bold; 124 | } 125 | .oracle-reserved-words { 126 | -fx-fill:#3D9970; 127 | -fx-font-weight: bold; 128 | } 129 | .sql-statements { 130 | -fx-fill:#2ECC40; 131 | -fx-font-weight: bold; 132 | } 133 | .operators { 134 | -fx-fill:#01FF70; 135 | -fx-font-weight: bold; 136 | } 137 | .conditions { 138 | -fx-fill:#FFDC00; 139 | -fx-font-weight: bold; 140 | } 141 | .sql-plus-at-sign { 142 | -fx-fill:#FF851B; 143 | -fx-font-weight: bold; 144 | } 145 | .sql-plus-double-at-sign { 146 | -fx-fill:#FF4136; 147 | -fx-font-weight: bold; 148 | } 149 | .sql-plus-slash { 150 | -fx-fill:#F012BE; 151 | -fx-font-weight: bold; 152 | } 153 | .sql-plus-commands { 154 | -fx-fill:#B10DC9; 155 | -fx-font-weight: bold; 156 | } 157 | .sql { 158 | -fx-fill:#85144B; 159 | -fx-font-weight: bold; 160 | } 161 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/sweave.css: -------------------------------------------------------------------------------- 1 | .inline-R { 2 | -fx-fill:#F012BE; 3 | -fx-font-weight: bold; 4 | } 5 | .R-block { 6 | -fx-fill:#B10DC9; 7 | -fx-font-weight: bold; 8 | } 9 | .sweave { 10 | -fx-fill:#85144B; 11 | -fx-font-weight: bold; 12 | } 13 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/systemverilog.css: -------------------------------------------------------------------------------- 1 | .compiler-directive { 2 | -fx-fill:#85144B; 3 | -fx-font-weight: bold; 4 | } 5 | .system-task { 6 | -fx-fill:#FFFFFF; 7 | -fx-font-weight: bold; 8 | } 9 | .keyword { 10 | -fx-fill:#AAAAAA; 11 | -fx-font-weight: bold; 12 | } 13 | .type { 14 | -fx-fill:#111111; 15 | -fx-font-weight: bold; 16 | } 17 | .systemverilog { 18 | -fx-fill:#001F3F; 19 | -fx-font-weight: bold; 20 | } 21 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/t2t.css: -------------------------------------------------------------------------------- 1 | .header { 2 | -fx-fill:#111111; 3 | -fx-font-weight: bold; 4 | } 5 | .options { 6 | -fx-fill:#001F3F; 7 | -fx-font-weight: bold; 8 | } 9 | .comment { 10 | -fx-fill:#0074D9; 11 | -fx-font-weight: bold; 12 | } 13 | .sections { 14 | -fx-fill:#7FDBFF; 15 | -fx-font-weight: bold; 16 | } 17 | .italic { 18 | -fx-fill:#39CCCC; 19 | -fx-font-weight: bold; 20 | } 21 | .bold { 22 | -fx-fill:#3D9970; 23 | -fx-font-weight: bold; 24 | } 25 | .verbatim { 26 | -fx-fill:#2ECC40; 27 | -fx-font-weight: bold; 28 | } 29 | .verbatim-block { 30 | -fx-fill:#01FF70; 31 | -fx-font-weight: bold; 32 | } 33 | .t2t { 34 | -fx-fill:#FFDC00; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/tcl.css: -------------------------------------------------------------------------------- 1 | .variable { 2 | -fx-fill:#FFDC00; 3 | -fx-font-weight: bold; 4 | } 5 | .keyword { 6 | -fx-fill:#FF851B; 7 | -fx-font-weight: bold; 8 | } 9 | .tcl { 10 | -fx-fill:#FF4136; 11 | -fx-font-weight: bold; 12 | } 13 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/texinfo.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .escaped-characters { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .macro-parameters { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .macros-b { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .macros-dollar { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .macros { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .indexing { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .file-attributes-b { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .file-attributes-dollar { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | .file-attributes { 42 | -fx-fill:#85144B; 43 | -fx-font-weight: bold; 44 | } 45 | .generated-content { 46 | -fx-fill:#FFFFFF; 47 | -fx-font-weight: bold; 48 | } 49 | .include { 50 | -fx-fill:#AAAAAA; 51 | -fx-font-weight: bold; 52 | } 53 | .markup-inline { 54 | -fx-fill:#111111; 55 | -fx-font-weight: bold; 56 | } 57 | .markup-block-b { 58 | -fx-fill:#001F3F; 59 | -fx-font-weight: bold; 60 | } 61 | .markup-block-dollar { 62 | -fx-fill:#0074D9; 63 | -fx-font-weight: bold; 64 | } 65 | .markup-block { 66 | -fx-fill:#7FDBFF; 67 | -fx-font-weight: bold; 68 | } 69 | .sectioning { 70 | -fx-fill:#39CCCC; 71 | -fx-font-weight: bold; 72 | } 73 | .formatting { 74 | -fx-fill:#3D9970; 75 | -fx-font-weight: bold; 76 | } 77 | .characters { 78 | -fx-fill:#2ECC40; 79 | -fx-font-weight: bold; 80 | } 81 | .keyword { 82 | -fx-fill:#01FF70; 83 | -fx-font-weight: bold; 84 | } 85 | .texinfo { 86 | -fx-fill:#FFDC00; 87 | -fx-font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/text.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deepsidhu1313/SyntaxTextAreaFX/fa13a6e2bfb8b4c7d892abc79c1ff25e6d4f1269/src/in/co/s13/syntaxtextareafx/res/css/default/text.css -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/thrift.css: -------------------------------------------------------------------------------- 1 | .ordinal { 2 | -fx-fill:#0074D9; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#7FDBFF; 7 | -fx-font-weight: bold; 8 | } 9 | .line-comment { 10 | -fx-fill:#39CCCC; 11 | -fx-font-weight: bold; 12 | } 13 | .hash-line-comment { 14 | -fx-fill:#3D9970; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#2ECC40; 19 | -fx-font-weight: bold; 20 | } 21 | .single-quote-string { 22 | -fx-fill:#01FF70; 23 | -fx-font-weight: bold; 24 | } 25 | .keywords { 26 | -fx-fill:#FFDC00; 27 | -fx-font-weight: bold; 28 | } 29 | .types { 30 | -fx-fill:#FF851B; 31 | -fx-font-weight: bold; 32 | } 33 | .reserved { 34 | -fx-fill:#FF4136; 35 | -fx-font-weight: bold; 36 | } 37 | .thrift { 38 | -fx-fill:#F012BE; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/vala.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#B10DC9; 3 | -fx-font-weight: bold; 4 | } 5 | .multiline-comment { 6 | -fx-fill:#85144B; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#FFFFFF; 11 | -fx-font-weight: bold; 12 | } 13 | .multiline-double-quoted-string { 14 | -fx-fill:#AAAAAA; 15 | -fx-font-weight: bold; 16 | } 17 | .multiline-string { 18 | -fx-fill:#111111; 19 | -fx-font-weight: bold; 20 | } 21 | .multiline-string-templates { 22 | -fx-fill:#001F3F; 23 | -fx-font-weight: bold; 24 | } 25 | .if0-comment { 26 | -fx-fill:#0074D9; 27 | -fx-font-weight: bold; 28 | } 29 | .directive { 30 | -fx-fill:#7FDBFF; 31 | -fx-font-weight: bold; 32 | } 33 | .at-identifier { 34 | -fx-fill:#39CCCC; 35 | -fx-font-weight: bold; 36 | } 37 | .keywords { 38 | -fx-fill:#3D9970; 39 | -fx-font-weight: bold; 40 | } 41 | .primitives { 42 | -fx-fill:#2ECC40; 43 | -fx-font-weight: bold; 44 | } 45 | .attributes { 46 | -fx-fill:#01FF70; 47 | -fx-font-weight: bold; 48 | } 49 | .null-value { 50 | -fx-fill:#FFDC00; 51 | -fx-font-weight: bold; 52 | } 53 | .boolean { 54 | -fx-fill:#FF851B; 55 | -fx-font-weight: bold; 56 | } 57 | .type-declaration { 58 | -fx-fill:#FF4136; 59 | -fx-font-weight: bold; 60 | } 61 | .vala { 62 | -fx-fill:#F012BE; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/vbnet.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#FF4136; 3 | -fx-font-weight: bold; 4 | } 5 | .old-style-comment { 6 | -fx-fill:#F012BE; 7 | -fx-font-weight: bold; 8 | } 9 | .string { 10 | -fx-fill:#B10DC9; 11 | -fx-font-weight: bold; 12 | } 13 | .preprocessor { 14 | -fx-fill:#85144B; 15 | -fx-font-weight: bold; 16 | } 17 | .keywords { 18 | -fx-fill:#FFFFFF; 19 | -fx-font-weight: bold; 20 | } 21 | .types { 22 | -fx-fill:#AAAAAA; 23 | -fx-font-weight: bold; 24 | } 25 | .special-constants { 26 | -fx-fill:#111111; 27 | -fx-font-weight: bold; 28 | } 29 | .boolean { 30 | -fx-fill:#001F3F; 31 | -fx-font-weight: bold; 32 | } 33 | .vbnet { 34 | -fx-fill:#0074D9; 35 | -fx-font-weight: bold; 36 | } 37 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/verilog.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .block-comment { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .close-comment-outside-comment { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .printf { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .compiler-directive { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .ieee-system-task { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .lrm-additional-system-task { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .keywords { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | .gates { 38 | -fx-fill:#FFFFFF; 39 | -fx-font-weight: bold; 40 | } 41 | .types { 42 | -fx-fill:#AAAAAA; 43 | -fx-font-weight: bold; 44 | } 45 | .binary-number { 46 | -fx-fill:#111111; 47 | -fx-font-weight: bold; 48 | } 49 | .octal-number { 50 | -fx-fill:#001F3F; 51 | -fx-font-weight: bold; 52 | } 53 | .decimal-number { 54 | -fx-fill:#0074D9; 55 | -fx-font-weight: bold; 56 | } 57 | .hexadecimal-number { 58 | -fx-fill:#7FDBFF; 59 | -fx-font-weight: bold; 60 | } 61 | .real-number { 62 | -fx-fill:#39CCCC; 63 | -fx-font-weight: bold; 64 | } 65 | .integer-number { 66 | -fx-fill:#3D9970; 67 | -fx-font-weight: bold; 68 | } 69 | .verilog { 70 | -fx-fill:#2ECC40; 71 | -fx-font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/vhdl.css: -------------------------------------------------------------------------------- 1 | .line-comment { 2 | -fx-fill:#7FDBFF; 3 | -fx-font-weight: bold; 4 | } 5 | .string { 6 | -fx-fill:#39CCCC; 7 | -fx-font-weight: bold; 8 | } 9 | .character { 10 | -fx-fill:#3D9970; 11 | -fx-font-weight: bold; 12 | } 13 | .keywords { 14 | -fx-fill:#2ECC40; 15 | -fx-font-weight: bold; 16 | } 17 | .types { 18 | -fx-fill:#01FF70; 19 | -fx-font-weight: bold; 20 | } 21 | .boolean { 22 | -fx-fill:#FFDC00; 23 | -fx-font-weight: bold; 24 | } 25 | .base-n-number { 26 | -fx-fill:#FF851B; 27 | -fx-font-weight: bold; 28 | } 29 | .real { 30 | -fx-fill:#FF4136; 31 | -fx-font-weight: bold; 32 | } 33 | .number { 34 | -fx-fill:#F012BE; 35 | -fx-font-weight: bold; 36 | } 37 | .vhdl { 38 | -fx-fill:#B10DC9; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/xml.css: -------------------------------------------------------------------------------- 1 | .entity { 2 | -fx-fill:#3D9970; 3 | -fx-font-weight: bold; 4 | } 5 | .character-reference { 6 | -fx-fill:#2ECC40; 7 | -fx-font-weight: bold; 8 | } 9 | .unallowed-chars { 10 | -fx-fill:#01FF70; 11 | -fx-font-weight: bold; 12 | } 13 | .comment { 14 | -fx-fill:#FFDC00; 15 | -fx-font-weight: bold; 16 | } 17 | .doctype { 18 | -fx-fill:#FF851B; 19 | -fx-font-weight: bold; 20 | } 21 | .cdata { 22 | -fx-fill:#FF4136; 23 | -fx-font-weight: bold; 24 | } 25 | .processing-instruction { 26 | -fx-fill:#F012BE; 27 | -fx-font-weight: bold; 28 | } 29 | .namespace { 30 | -fx-fill:#B10DC9; 31 | -fx-font-weight: bold; 32 | } 33 | .attribute-name { 34 | -fx-fill:#85144B; 35 | -fx-font-weight: bold; 36 | } 37 | .attribute-value { 38 | -fx-fill:#FFFFFF; 39 | -fx-font-weight: bold; 40 | } 41 | .element-name { 42 | -fx-fill:#AAAAAA; 43 | -fx-font-weight: bold; 44 | } 45 | .prolog { 46 | -fx-fill:#111111; 47 | -fx-font-weight: bold; 48 | } 49 | .start-tag { 50 | -fx-fill:#001F3F; 51 | -fx-font-weight: bold; 52 | } 53 | .end-tag { 54 | -fx-fill:#0074D9; 55 | -fx-font-weight: bold; 56 | } 57 | .close-tag-outside-tag { 58 | -fx-fill:#7FDBFF; 59 | -fx-font-weight: bold; 60 | } 61 | .xml { 62 | -fx-fill:#39CCCC; 63 | -fx-font-weight: bold; 64 | } 65 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/xslt.css: -------------------------------------------------------------------------------- 1 | .namespace { 2 | -fx-fill:#001F3F; 3 | -fx-font-weight: bold; 4 | } 5 | .xslt-namespace { 6 | -fx-fill:#0074D9; 7 | -fx-font-weight: bold; 8 | } 9 | .elements { 10 | -fx-fill:#7FDBFF; 11 | -fx-font-weight: bold; 12 | } 13 | .xslt-tags { 14 | -fx-fill:#39CCCC; 15 | -fx-font-weight: bold; 16 | } 17 | .xslt { 18 | -fx-fill:#3D9970; 19 | -fx-font-weight: bold; 20 | } 21 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/yacc.css: -------------------------------------------------------------------------------- 1 | .inline-c { 2 | -fx-fill:#AAAAAA; 3 | -fx-font-weight: bold; 4 | } 5 | .options { 6 | -fx-fill:#111111; 7 | -fx-font-weight: bold; 8 | } 9 | .token { 10 | -fx-fill:#001F3F; 11 | -fx-font-weight: bold; 12 | } 13 | .before-grammar { 14 | -fx-fill:#0074D9; 15 | -fx-font-weight: bold; 16 | } 17 | .after-grammar { 18 | -fx-fill:#7FDBFF; 19 | -fx-font-weight: bold; 20 | } 21 | .c-with-brackets { 22 | -fx-fill:#39CCCC; 23 | -fx-font-weight: bold; 24 | } 25 | .rule-code { 26 | -fx-fill:#3D9970; 27 | -fx-font-weight: bold; 28 | } 29 | .rule { 30 | -fx-fill:#2ECC40; 31 | -fx-font-weight: bold; 32 | } 33 | .grammar { 34 | -fx-fill:#01FF70; 35 | -fx-font-weight: bold; 36 | } 37 | .yacc { 38 | -fx-fill:#FFDC00; 39 | -fx-font-weight: bold; 40 | } 41 | -------------------------------------------------------------------------------- /src/in/co/s13/syntaxtextareafx/res/css/default/yaml.css: -------------------------------------------------------------------------------- 1 | .scalar { 2 | -fx-fill:#FFDC00; 3 | -fx-font-weight: bold; 4 | } 5 | .alias { 6 | -fx-fill:#FF851B; 7 | -fx-font-weight: bold; 8 | } 9 | .tag { 10 | -fx-fill:#FF4136; 11 | -fx-font-weight: bold; 12 | } 13 | .anchor { 14 | -fx-fill:#F012BE; 15 | -fx-font-weight: bold; 16 | } 17 | .string { 18 | -fx-fill:#B10DC9; 19 | -fx-font-weight: bold; 20 | } 21 | .unquoted-string { 22 | -fx-fill:#85144B; 23 | -fx-font-weight: bold; 24 | } 25 | .inline-unquoted { 26 | -fx-fill:#FFFFFF; 27 | -fx-font-weight: bold; 28 | } 29 | .inline-null { 30 | -fx-fill:#AAAAAA; 31 | -fx-font-weight: bold; 32 | } 33 | .bool { 34 | -fx-fill:#111111; 35 | -fx-font-weight: bold; 36 | } 37 | .inline-bool { 38 | -fx-fill:#001F3F; 39 | -fx-font-weight: bold; 40 | } 41 | .inline-int { 42 | -fx-fill:#0074D9; 43 | -fx-font-weight: bold; 44 | } 45 | .int { 46 | -fx-fill:#7FDBFF; 47 | -fx-font-weight: bold; 48 | } 49 | .inline-float { 50 | -fx-fill:#39CCCC; 51 | -fx-font-weight: bold; 52 | } 53 | .float { 54 | -fx-fill:#3D9970; 55 | -fx-font-weight: bold; 56 | } 57 | .comment { 58 | -fx-fill:#2ECC40; 59 | -fx-font-weight: bold; 60 | } 61 | .inline-sequence { 62 | -fx-fill:#01FF70; 63 | -fx-font-weight: bold; 64 | } 65 | .inline-map { 66 | -fx-fill:#FFDC00; 67 | -fx-font-weight: bold; 68 | } 69 | .map { 70 | -fx-fill:#FF851B; 71 | -fx-font-weight: bold; 72 | } 73 | .sequence { 74 | -fx-fill:#FF4136; 75 | -fx-font-weight: bold; 76 | } 77 | .document { 78 | -fx-fill:#F012BE; 79 | -fx-font-weight: bold; 80 | } 81 | .directive { 82 | -fx-fill:#B10DC9; 83 | -fx-font-weight: bold; 84 | } 85 | .yaml { 86 | -fx-fill:#85144B; 87 | -fx-font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /src/org/json/CookieList.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /* 4 | Copyright (c) 2002 JSON.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The Software shall be used for Good, not Evil. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | */ 26 | 27 | import java.util.Iterator; 28 | 29 | /** 30 | * Convert a web browser cookie list string to a JSONObject and back. 31 | * @author JSON.org 32 | * @version 2015-12-09 33 | */ 34 | public class CookieList { 35 | 36 | /** 37 | * Convert a cookie list into a JSONObject. A cookie list is a sequence 38 | * of name/value pairs. The names are separated from the values by '='. 39 | * The pairs are separated by ';'. The names and the values 40 | * will be unescaped, possibly converting '+' and '%' sequences. 41 | * 42 | * To add a cookie to a cooklist, 43 | * cookielistJSONObject.put(cookieJSONObject.getString("name"), 44 | * cookieJSONObject.getString("value")); 45 | * @param string A cookie list string 46 | * @return A JSONObject 47 | * @throws JSONException 48 | */ 49 | public static JSONObject toJSONObject(String string) throws JSONException { 50 | JSONObject jo = new JSONObject(); 51 | JSONTokener x = new JSONTokener(string); 52 | while (x.more()) { 53 | String name = Cookie.unescape(x.nextTo('=')); 54 | x.next('='); 55 | jo.put(name, Cookie.unescape(x.nextTo(';'))); 56 | x.next(); 57 | } 58 | return jo; 59 | } 60 | 61 | /** 62 | * Convert a JSONObject into a cookie list. A cookie list is a sequence 63 | * of name/value pairs. The names are separated from the values by '='. 64 | * The pairs are separated by ';'. The characters '%', '+', '=', and ';' 65 | * in the names and values are replaced by "%hh". 66 | * @param jo A JSONObject 67 | * @return A cookie list string 68 | * @throws JSONException 69 | */ 70 | public static String toString(JSONObject jo) throws JSONException { 71 | boolean b = false; 72 | Iterator keys = jo.keys(); 73 | String string; 74 | StringBuilder sb = new StringBuilder(); 75 | while (keys.hasNext()) { 76 | string = keys.next(); 77 | if (!jo.isNull(string)) { 78 | if (b) { 79 | sb.append(';'); 80 | } 81 | sb.append(Cookie.escape(string)); 82 | sb.append("="); 83 | sb.append(Cookie.escape(jo.getString(string))); 84 | b = true; 85 | } 86 | } 87 | return sb.toString(); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /src/org/json/HTTPTokener.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /* 4 | Copyright (c) 2002 JSON.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The Software shall be used for Good, not Evil. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | */ 26 | 27 | /** 28 | * The HTTPTokener extends the JSONTokener to provide additional methods 29 | * for the parsing of HTTP headers. 30 | * @author JSON.org 31 | * @version 2015-12-09 32 | */ 33 | public class HTTPTokener extends JSONTokener { 34 | 35 | /** 36 | * Construct an HTTPTokener from a string. 37 | * @param string A source string. 38 | */ 39 | public HTTPTokener(String string) { 40 | super(string); 41 | } 42 | 43 | 44 | /** 45 | * Get the next token or string. This is used in parsing HTTP headers. 46 | * @throws JSONException 47 | * @return A String. 48 | */ 49 | public String nextToken() throws JSONException { 50 | char c; 51 | char q; 52 | StringBuilder sb = new StringBuilder(); 53 | do { 54 | c = next(); 55 | } while (Character.isWhitespace(c)); 56 | if (c == '"' || c == '\'') { 57 | q = c; 58 | for (;;) { 59 | c = next(); 60 | if (c < ' ') { 61 | throw syntaxError("Unterminated string."); 62 | } 63 | if (c == q) { 64 | return sb.toString(); 65 | } 66 | sb.append(c); 67 | } 68 | } 69 | for (;;) { 70 | if (c == 0 || Character.isWhitespace(c)) { 71 | return sb.toString(); 72 | } 73 | sb.append(c); 74 | c = next(); 75 | } 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /src/org/json/JSONException.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /** 4 | * The JSONException is thrown by the JSON.org classes when things are amiss. 5 | * 6 | * @author JSON.org 7 | * @version 2015-12-09 8 | */ 9 | public class JSONException extends RuntimeException { 10 | /** Serialization ID */ 11 | private static final long serialVersionUID = 0; 12 | 13 | /** 14 | * Constructs a JSONException with an explanatory message. 15 | * 16 | * @param message 17 | * Detail about the reason for the exception. 18 | */ 19 | public JSONException(final String message) { 20 | super(message); 21 | } 22 | 23 | /** 24 | * Constructs a JSONException with an explanatory message and cause. 25 | * 26 | * @param message 27 | * Detail about the reason for the exception. 28 | * @param cause 29 | * The cause. 30 | */ 31 | public JSONException(final String message, final Throwable cause) { 32 | super(message, cause); 33 | } 34 | 35 | /** 36 | * Constructs a new JSONException with the specified cause. 37 | * 38 | * @param cause 39 | * The cause. 40 | */ 41 | public JSONException(final Throwable cause) { 42 | super(cause.getMessage(), cause); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/org/json/JSONPointerException.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /* 4 | Copyright (c) 2002 JSON.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The Software shall be used for Good, not Evil. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | */ 26 | 27 | /** 28 | * The JSONPointerException is thrown by {@link JSONPointer} if an error occurs 29 | * during evaluating a pointer. 30 | * 31 | * @author JSON.org 32 | * @version 2016-05-13 33 | */ 34 | public class JSONPointerException extends JSONException { 35 | private static final long serialVersionUID = 8872944667561856751L; 36 | 37 | public JSONPointerException(String message) { 38 | super(message); 39 | } 40 | 41 | public JSONPointerException(String message, Throwable cause) { 42 | super(message, cause); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/org/json/JSONString.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | /** 3 | * The JSONString interface allows a toJSONString() 4 | * method so that a class can change the behavior of 5 | * JSONObject.toString(), JSONArray.toString(), 6 | * and JSONWriter.value(Object). The 7 | * toJSONString method will be used instead of the default behavior 8 | * of using the Object's toString() method and quoting the result. 9 | */ 10 | public interface JSONString { 11 | /** 12 | * The toJSONString method allows a class to produce its own JSON 13 | * serialization. 14 | * 15 | * @return A strictly syntactically correct JSON text. 16 | */ 17 | public String toJSONString(); 18 | } 19 | -------------------------------------------------------------------------------- /src/org/json/JSONStringer.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /* 4 | Copyright (c) 2006 JSON.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The Software shall be used for Good, not Evil. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | */ 26 | 27 | import java.io.StringWriter; 28 | 29 | /** 30 | * JSONStringer provides a quick and convenient way of producing JSON text. 31 | * The texts produced strictly conform to JSON syntax rules. No whitespace is 32 | * added, so the results are ready for transmission or storage. Each instance of 33 | * JSONStringer can produce one JSON text. 34 | *

35 | * A JSONStringer instance provides a value method for appending 36 | * values to the 37 | * text, and a key 38 | * method for adding keys before values in objects. There are array 39 | * and endArray methods that make and bound array values, and 40 | * object and endObject methods which make and bound 41 | * object values. All of these methods return the JSONWriter instance, 42 | * permitting cascade style. For example,

43 |  * myString = new JSONStringer()
44 |  *     .object()
45 |  *         .key("JSON")
46 |  *         .value("Hello, World!")
47 |  *     .endObject()
48 |  *     .toString();
which produces the string
49 |  * {"JSON":"Hello, World!"}
50 | *

51 | * The first method called must be array or object. 52 | * There are no methods for adding commas or colons. JSONStringer adds them for 53 | * you. Objects and arrays can be nested up to 20 levels deep. 54 | *

55 | * This can sometimes be easier than using a JSONObject to build a string. 56 | * @author JSON.org 57 | * @version 2015-12-09 58 | */ 59 | public class JSONStringer extends JSONWriter { 60 | /** 61 | * Make a fresh JSONStringer. It can be used to build one JSON text. 62 | */ 63 | public JSONStringer() { 64 | super(new StringWriter()); 65 | } 66 | 67 | /** 68 | * Return the JSON text. This method is used to obtain the product of the 69 | * JSONStringer instance. It will return null if there was a 70 | * problem in the construction of the JSON text (such as the calls to 71 | * array were not properly balanced with calls to 72 | * endArray). 73 | * @return The JSON text. 74 | */ 75 | public String toString() { 76 | return this.mode == 'd' ? this.writer.toString() : null; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/org/json/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002 JSON.org 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | The Software shall be used for Good, not Evil. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/org/json/Property.java: -------------------------------------------------------------------------------- 1 | package org.json; 2 | 3 | /* 4 | Copyright (c) 2002 JSON.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The Software shall be used for Good, not Evil. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | */ 26 | 27 | import java.util.Enumeration; 28 | import java.util.Iterator; 29 | import java.util.Properties; 30 | 31 | /** 32 | * Converts a Property file data into JSONObject and back. 33 | * @author JSON.org 34 | * @version 2015-05-05 35 | */ 36 | public class Property { 37 | /** 38 | * Converts a property file object into a JSONObject. The property file object is a table of name value pairs. 39 | * @param properties java.util.Properties 40 | * @return JSONObject 41 | * @throws JSONException 42 | */ 43 | public static JSONObject toJSONObject(java.util.Properties properties) throws JSONException { 44 | JSONObject jo = new JSONObject(); 45 | if (properties != null && !properties.isEmpty()) { 46 | Enumeration enumProperties = properties.propertyNames(); 47 | while(enumProperties.hasMoreElements()) { 48 | String name = (String)enumProperties.nextElement(); 49 | jo.put(name, properties.getProperty(name)); 50 | } 51 | } 52 | return jo; 53 | } 54 | 55 | /** 56 | * Converts the JSONObject into a property file object. 57 | * @param jo JSONObject 58 | * @return java.util.Properties 59 | * @throws JSONException 60 | */ 61 | public static Properties toProperties(JSONObject jo) throws JSONException { 62 | Properties properties = new Properties(); 63 | if (jo != null) { 64 | Iterator keys = jo.keys(); 65 | while (keys.hasNext()) { 66 | String name = keys.next(); 67 | properties.put(name, jo.getString(name)); 68 | } 69 | } 70 | return properties; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/syntaxtextarea/SyntaxTextArea.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package syntaxtextarea; 7 | 8 | import in.co.s13.syntaxtextareafx.SyntaxTextAreaFX; 9 | import javafx.application.Application; 10 | import javafx.event.ActionEvent; 11 | import javafx.event.EventHandler; 12 | import javafx.scene.Scene; 13 | import javafx.scene.control.Button; 14 | import javafx.scene.layout.StackPane; 15 | import javafx.stage.Stage; 16 | 17 | /** 18 | * 19 | * @author nika 20 | */ 21 | public class SyntaxTextArea extends Application { 22 | 23 | @Override 24 | public void start(Stage primaryStage) { 25 | SyntaxTextAreaFX ta= new SyntaxTextAreaFX("test/sample.c"); 26 | 27 | StackPane root = new StackPane(); 28 | root.getChildren().add(ta.getNode()); 29 | 30 | Scene scene = new Scene(root, 300, 250); 31 | 32 | primaryStage.setTitle("Hello World!"); 33 | primaryStage.setScene(scene); 34 | primaryStage.show(); 35 | } 36 | 37 | /** 38 | * @param args the command line arguments 39 | */ 40 | public static void main(String[] args) { 41 | launch(args); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /test/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { 3 | // Prints "Hello, World" in the terminal window. 4 | System.out.println("Hello, World"); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /test/sample.as: -------------------------------------------------------------------------------- 1 | /* Click to Go to Web Page 2 | Clicking on the specified symbol instance loads the URL in a new 3 | browser window. 4 | 5 | Instructions: 6 | 1. Replace with the desired URL address. 7 | Keep the quotation marks (""). 8 | */ 9 | 10 | movieClip_2.addEventListener(MouseEvent.CLICK, 11 | fl_ClickToGoToWebPage); 12 | 13 | function fl_ClickToGoToWebPage(event:MouseEvent):void 14 | { 15 | navigateToURL(new 16 | URLRequest(""), "_blank"); 17 | } 18 | -------------------------------------------------------------------------------- /test/sample.boo: -------------------------------------------------------------------------------- 1 | import System 2 | name = Console.ReadLine() 3 | print "Hello, $name" 4 | -------------------------------------------------------------------------------- /test/sample.c: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // REMARKS: To build a test run for the suggesting engine 4 | // 5 | //----------------------------------------- 6 | 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include "table.h" 14 | #include "engine.h" 15 | #include "suggest.h" 16 | 17 | //------------------------------------------------------------------------------------- 18 | // CONSTANTS and TYPES 19 | //------------------------------------------------------------------------------------- 20 | //------------------------------------------------------------------------------------- 21 | // VARIABLES 22 | //------------------------------------------------------------------------------------- 23 | 24 | static int testsPassed = 0; 25 | static int testsFailed = 0; 26 | static int currentSize = 0; 27 | 28 | //------------------------------------------------------------------------------------- 29 | // PROTOTYPES 30 | //------------------------------------------------------------------------------------- 31 | 32 | void testFileProcessing(); 33 | 34 | //------------------------------------------------------------------------------------- 35 | // FUNCTIONS 36 | //------------------------------------------------------------------------------------- 37 | 38 | 39 | int main( int argc, char *argv[] ) 40 | { 41 | printf( "Beginning tests...\n\n" ); 42 | testFileProcessing(); 43 | printf( "\nTests done.....\n" ); 44 | 45 | return EXIT_SUCCESS; 46 | } 47 | 48 | //this function will test boundary conditions for a list of size one 49 | 50 | void testFileProcessing() 51 | { 52 | char *testString = "Neville"; 53 | char fileName = "test.txt"; 54 | 55 | if(processFile(filename, testString) != NULL) 56 | { 57 | printf("test passed"); 58 | testsPassed++; 59 | } 60 | 61 | else 62 | { 63 | printf("test failed"); 64 | testsFailed++; 65 | } 66 | } 67 | --------------------------------------------------------------------------------