removed jsyntaxpane compiled classes
|
Before Width: | Height: | Size: 733 B |
|
Before Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 675 B |
|
Before Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 601 B |
|
Before Width: | Height: | Size: 570 B |
|
Before Width: | Height: | Size: 366 B |
|
Before Width: | Height: | Size: 656 B |
|
Before Width: | Height: | Size: 633 B |
|
Before Width: | Height: | Size: 556 B |
|
Before Width: | Height: | Size: 779 B |
|
Before Width: | Height: | Size: 767 B |
|
Before Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 779 B |
|
Before Width: | Height: | Size: 768 B |
|
Before Width: | Height: | Size: 620 B |
|
Before Width: | Height: | Size: 542 B |
|
Before Width: | Height: | Size: 863 B |
|
Before Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 807 B |
|
Before Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 776 B |
|
Before Width: | Height: | Size: 702 B |
|
Before Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 683 B |
|
Before Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 655 B |
|
Before Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 263 B |
|
Before Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 561 B |
|
Before Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 591 B |
|
Before Width: | Height: | Size: 673 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 410 B |
|
Before Width: | Height: | Size: 631 B |
|
Before Width: | Height: | Size: 626 B |
|
Before Width: | Height: | Size: 628 B |
|
Before Width: | Height: | Size: 547 B |
|
Before Width: | Height: | Size: 633 B |
|
Before Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 553 B |
|
Before Width: | Height: | Size: 650 B |
|
Before Width: | Height: | Size: 436 B |
@@ -1,118 +0,0 @@
|
||||
DefaultAction.copy-to-clipboard.MenuText = Copy
|
||||
DefaultAction.cut-to-clipboard.MenuText = Cut
|
||||
DefaultAction.paste-from-clipboard.MenuText = Paste
|
||||
DefaultAction.select-all.MenuText = Select All
|
||||
|
||||
Action.find.MenuText = Find
|
||||
Action.find.ToolTip= Display Find And Replace Dialog
|
||||
Action.find-next.MenuText = Find Next
|
||||
Action.find-next.ToolTip = Repeat Last Find
|
||||
Action.goto-line.MenuText = Goto Line Number
|
||||
Action.goto-line.ToolTip = Goto Line Number
|
||||
Action.indent.MenuText = Indent
|
||||
Action.unindent.MenuText = Un-Indent
|
||||
Action.undo.MenuText = Undo
|
||||
Action.redo.MenuText = Redo
|
||||
Action.delete-lines.MenuText = Delete Line(s)
|
||||
Action.dup-lines-up.MenuText = DUplicate Lines Above
|
||||
Action.dup-lines-down.MenuText = Duplicate Lines Below
|
||||
Action.toggle-lines.MenuText = Toggle Line Numbers
|
||||
Action.show-abbs.MenuText = Show abbreviations
|
||||
Action.show-abbs.ToolTip = Show abbreviations
|
||||
Action.complete-word.MenuText = Complete Word
|
||||
Action.jump-to-pair.MenuText = Jump to Pair
|
||||
Action.toggle-comments.MenuText = Toggle Comments
|
||||
|
||||
# !!!! FFDec translators - please do not edit anything below this line !!!
|
||||
#==========================================================================
|
||||
|
||||
Components = jsyntaxpane.components.PairsMarker, \
|
||||
jsyntaxpane.components.LineNumbersRuler
|
||||
# This is the color to highlight tokens whenever the cursor is on them
|
||||
TokenMarker.Color = 0xffeeaa
|
||||
# Colors for PairMarkers
|
||||
PairMarker.Color = 0xffbb77
|
||||
#
|
||||
# Right Margin for LineNumbers border in pixels, Default = 5
|
||||
LineNumbers.RightMargin = 7
|
||||
# Foreground for line numbers, Default = Black
|
||||
LineNumbers.Foreground = 0x333300
|
||||
# Background for line numbers, Default = White
|
||||
LineNumbers.Background = 0xeeeeff
|
||||
# Color to use for highlighting current line background
|
||||
LineNumbers.CurrentBack = 0xccccee
|
||||
# Default color for the Caret, Black
|
||||
CaretColor = 0x000000
|
||||
# Actions:
|
||||
Action.quick-find = jsyntaxpane.actions.QuickFindAction, control F
|
||||
Action.find = jsyntaxpane.actions.FindReplaceAction, control H
|
||||
Action.find-next = jsyntaxpane.actions.FindNextAction, F3
|
||||
Action.goto-line = jsyntaxpane.actions.GotoLineAction, control G
|
||||
|
||||
Action.indent = jsyntaxpane.actions.IndentAction, TAB
|
||||
Action.indent.Abbreviations = ${class_path}/abbreviations.properties
|
||||
Action.unindent = jsyntaxpane.actions.UnindentAction, shift TAB
|
||||
|
||||
Action.jindent = jsyntaxpane.actions.JIndentAction, ENTER
|
||||
Action.undo = jsyntaxpane.actions.UndoAction, menu Z
|
||||
Action.redo = jsyntaxpane.actions.RedoAction, menu Y
|
||||
Action.delete-lines = jsyntaxpane.actions.DeleteLinesAction, control E
|
||||
Action.dup-lines-up = jsyntaxpane.actions.DuplicateLinesAction, shift control UP
|
||||
Action.dup-lines-down = jsyntaxpane.actions.DuplicateLinesAction, shift control DOWN
|
||||
|
||||
Action.toggle-lines = jsyntaxpane.actions.ToggleComponentAction, control F2
|
||||
Action.toggle-lines.Component = jsyntaxpane.components.LineNumbersRuler
|
||||
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.SmallIcon = comment.png
|
||||
Action.jump-to-pair = jsyntaxpane.actions.JumpToPairAction, control OPEN_BRACKET
|
||||
Action.complete-word = jsyntaxpane.actions.CompleteWordAction, control K
|
||||
|
||||
Action.smart-home = jsyntaxpane.actions.SmartHomeAction, HOME
|
||||
Action.smart-home-select = jsyntaxpane.actions.SmartHomeSelectAction, shift HOME
|
||||
Action.show-abbs = jsyntaxpane.actions.ShowAbbsAction, F8
|
||||
|
||||
#
|
||||
# View configuration:
|
||||
TextAA = ON
|
||||
DEFAULT_EDIT_MENU= \
|
||||
cut-to-clipboard , \
|
||||
copy-to-clipboard , \
|
||||
paste-from-clipboard , \
|
||||
- , \
|
||||
select-all , \
|
||||
- , \
|
||||
undo , \
|
||||
redo , \
|
||||
- , \
|
||||
find , \
|
||||
find-next , \
|
||||
goto-line , \
|
||||
jump-to-pair , \
|
||||
- , \
|
||||
complete-word
|
||||
|
||||
# Default Popup Menu
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
goto-line , \
|
||||
toggle-comments
|
||||
# TokenType attributes
|
||||
Style.OPERATOR = 0x000000, 0
|
||||
Style.DELIMITER = 0x000000, 1
|
||||
Style.KEYWORD = 0x3333ee, 0
|
||||
Style.KEYWORD2 = 0x3333ee, 3
|
||||
Style.TYPE = 0x000000, 2
|
||||
Style.TYPE2 = 0x000000, 1
|
||||
Style.TYPE3 = 0x000000, 3
|
||||
Style.STRING = 0xcc6600, 0
|
||||
Style.STRING2 = 0xcc6600, 1
|
||||
Style.NUMBER = 0x999933, 1
|
||||
Style.REGEX = 0xcc6600, 0
|
||||
Style.IDENTIFIER = 0x000000, 0
|
||||
Style.COMMENT = 0x339933, 2
|
||||
Style.COMMENT2 = 0x339933, 3
|
||||
Style.DEFAULT = 0x000000, 0
|
||||
Style.WARNING = 0xCC0000, 0
|
||||
Style.ERROR = 0xCC0000, 3
|
||||
@@ -1,31 +0,0 @@
|
||||
# This file contains the default content types and the SyntaxKit class names
|
||||
# that will be used for them.
|
||||
# The keys are content types, and the values are the fully qualified class
|
||||
# names
|
||||
text/c=jsyntaxpane.syntaxkits.CSyntaxKit
|
||||
text/cpp=jsyntaxpane.syntaxkits.CppSyntaxKit
|
||||
text/java=jsyntaxpane.syntaxkits.JavaSyntaxKit
|
||||
text/groovy=jsyntaxpane.syntaxkits.GroovySyntaxKit
|
||||
text/javascript=jsyntaxpane.syntaxkits.JavaScriptSyntaxKit
|
||||
text/js=jsyntaxpane.syntaxkits.JavaScriptSyntaxKit
|
||||
text/json=jsyntaxpane.syntaxkits.JavaScriptSyntaxKit
|
||||
text/xml=jsyntaxpane.syntaxkits.XmlSyntaxKit
|
||||
text/sql=jsyntaxpane.syntaxkits.SqlSyntaxKit
|
||||
text/properties=jsyntaxpane.syntaxkits.PropertiesSyntaxKit
|
||||
text/python=jsyntaxpane.syntaxkits.PythonSyntaxKit
|
||||
text/tal=jsyntaxpane.syntaxkits.TALSyntaxKit
|
||||
text/jflex=jsyntaxpane.syntaxkits.JFlexSyntaxKit
|
||||
text/ruby=jsyntaxpane.syntaxkits.RubySyntaxKit
|
||||
text/scala=jsyntaxpane.syntaxkits.ScalaSyntaxKit
|
||||
text/clojure=jsyntaxpane.syntaxkits.ClojureSyntaxKit
|
||||
text/dosbatch=jsyntaxpane.syntaxkits.DOSBatchSyntaxKit
|
||||
text/bash=jsyntaxpane.syntaxkits.BashSyntaxKit
|
||||
text/xpath=jsyntaxpane.syntaxkits.XPathSyntaxKit
|
||||
text/xhtml=jsyntaxpane.syntaxkits.XHTMLSyntaxKit
|
||||
text/lua=jsyntaxpane.syntaxkits.LuaSyntaxKit
|
||||
text/plain=jsyntaxpane.syntaxkits.PlainSyntaxKit
|
||||
text/flasm3=jsyntaxpane.syntaxkits.Flasm3SyntaxKit
|
||||
text/flasm3_methodinfo=jsyntaxpane.syntaxkits.Flasm3MethodInfoSyntaxKit
|
||||
text/flasm=jsyntaxpane.syntaxkits.FlasmSyntaxKit
|
||||
text/actionscript=jsyntaxpane.syntaxkits.ActionScriptSyntaxKit
|
||||
text/swf_text=jsyntaxpane.syntaxkits.SWFTextSyntaxKit
|
||||
@@ -1,8 +0,0 @@
|
||||
// Import the needed java packages and classes
|
||||
importPackage(java.util);
|
||||
importClass(javax.swing.JOptionPane)
|
||||
|
||||
function putDate() {
|
||||
TARGET.replaceSelection("This is a dummy proc that inserts the Current Date:\n" + new Date());
|
||||
TARGET.replaceSelection("\nTab Size of doc = " + AU.getTabSize(TARGET));
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
#
|
||||
# ActionScript
|
||||
#
|
||||
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
Action.close-curly = jsyntaxpane.actions.JUnindentAction, typed }
|
||||
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
indent , \
|
||||
unindent , \
|
||||
- , \
|
||||
toggle-comments , \
|
||||
- , \
|
||||
toggle-lines
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#
|
||||
# BashSyntaxKit Specifics
|
||||
#
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control NUMBER_SIGN
|
||||
Action.toggle-comments.LineComments = "# "
|
||||
@@ -1,5 +0,0 @@
|
||||
#
|
||||
# ClojureSyntaxKit
|
||||
#
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.LineComments = "; "
|
||||
@@ -1,5 +0,0 @@
|
||||
#
|
||||
# DOS Batch Specifics
|
||||
#
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control NUMBER_SIGN
|
||||
Action.toggle-comments.LineComments = "rem "
|
||||
@@ -1,4 +0,0 @@
|
||||
# This file contains the code templates that will be used by the Java Syntax
|
||||
# editor kit.
|
||||
# The keys are the completion strings, and the values are the full expansion
|
||||
# of the text. The #{p:TEXT} will be replaced
|
||||
@@ -1,179 +0,0 @@
|
||||
add
|
||||
add_d
|
||||
add_i
|
||||
applytype
|
||||
astype
|
||||
astypelate
|
||||
bitand
|
||||
bitnot
|
||||
bitor
|
||||
bitxor
|
||||
bkpt
|
||||
bkptline
|
||||
call
|
||||
callinterface
|
||||
callmethod
|
||||
callproperty
|
||||
callproplex
|
||||
callpropvoid
|
||||
callstatic
|
||||
callsuper
|
||||
callsuperid
|
||||
callsupervoid
|
||||
checkfilter
|
||||
coerce
|
||||
coerce_a
|
||||
coerce_b
|
||||
coerce_d
|
||||
coerce_i
|
||||
coerce_o
|
||||
coerce_s
|
||||
coerce_u
|
||||
concat
|
||||
construct
|
||||
constructprop
|
||||
constructsuper
|
||||
convert_b
|
||||
convert_i
|
||||
convert_d
|
||||
convert_o
|
||||
convert_u
|
||||
convert_s
|
||||
debug
|
||||
debugfile
|
||||
debugline
|
||||
declocal
|
||||
declocal_i
|
||||
decrement
|
||||
decrement_i
|
||||
deleteproperty
|
||||
deletepropertylate
|
||||
divide
|
||||
dup
|
||||
dxns
|
||||
dxnslate
|
||||
equals
|
||||
exception
|
||||
exceptionend
|
||||
exceptionstart
|
||||
exceptiontarget
|
||||
esc_xattr
|
||||
esc_xelem
|
||||
finddef
|
||||
findpropglobalstrict
|
||||
findpropglobal
|
||||
findproperty
|
||||
findpropstrict
|
||||
getdescentants
|
||||
getglobalscope
|
||||
getglobalslot
|
||||
getlex
|
||||
getlocal
|
||||
getlocal_0
|
||||
getlocal_1
|
||||
getlocal_2
|
||||
getlocal_3
|
||||
getouterscope
|
||||
getproperty
|
||||
getscopeobject
|
||||
getslot
|
||||
getsuper
|
||||
greaterequals
|
||||
greaterthan
|
||||
hasnext
|
||||
hasnext2
|
||||
ifeq
|
||||
iffalse
|
||||
ifge
|
||||
ifgt
|
||||
ifle
|
||||
iflt
|
||||
ifnge
|
||||
ifngt
|
||||
ifnle
|
||||
ifnlt
|
||||
ifne
|
||||
ifstricteq
|
||||
ifstrictne
|
||||
iftrue
|
||||
in
|
||||
inclocal
|
||||
inclocal_i
|
||||
increment
|
||||
increment_i
|
||||
initproperty
|
||||
instanceof
|
||||
istype
|
||||
istypelate
|
||||
jump
|
||||
kill
|
||||
label
|
||||
lessequals
|
||||
lessthan
|
||||
lf32
|
||||
lf64
|
||||
li8
|
||||
li16
|
||||
li32
|
||||
lookupswitch
|
||||
lshift
|
||||
modulo
|
||||
multiply
|
||||
multiply_i
|
||||
negate
|
||||
negate_i
|
||||
newactivation
|
||||
newarray
|
||||
newcatch
|
||||
newclass
|
||||
newfunction
|
||||
newobject
|
||||
nextname
|
||||
nextvalue
|
||||
nop
|
||||
not
|
||||
pop
|
||||
popscope
|
||||
pushbyte
|
||||
pushconstant
|
||||
pushdouble
|
||||
pushfalse
|
||||
pushint
|
||||
pushnamespace
|
||||
pushnan
|
||||
pushnull
|
||||
pushscope
|
||||
pushshort
|
||||
pushstring
|
||||
pushtrue
|
||||
pushuint
|
||||
pushundefined
|
||||
pushwith
|
||||
returnvalue
|
||||
returnvoid
|
||||
rshift
|
||||
setlocal
|
||||
setlocal_0
|
||||
setlocal_1
|
||||
setlocal_2
|
||||
setlocal_3
|
||||
setglobalslot
|
||||
setproperty
|
||||
setpropertylate
|
||||
setslot
|
||||
setsuper
|
||||
sf32
|
||||
sf64
|
||||
si8
|
||||
si16
|
||||
si32
|
||||
strictequals
|
||||
subtract
|
||||
subtract_i
|
||||
swap
|
||||
sxi1
|
||||
sxi8
|
||||
sxi16
|
||||
throw
|
||||
typeof
|
||||
urshift
|
||||
@@ -1,40 +0,0 @@
|
||||
Action.combo-completion.MenuText = Pick an instruction
|
||||
Action.toggle-token-marker.MenuText = Toggle Token Marker
|
||||
|
||||
# !!!! FFDec translators - please do not edit anything below this line !!!
|
||||
#==========================================================================
|
||||
|
||||
#
|
||||
# JavaSyntaxKit Specific properties.
|
||||
#
|
||||
Components = jsyntaxpane.components.LineNumbersRuler, \
|
||||
jsyntaxpane.components.TokenMarker
|
||||
TokenMarker.TokenTypes = IDENTIFIER, TYPE, TYPE2, TYPE3
|
||||
#
|
||||
# Performs single color selection (Default = false)
|
||||
#
|
||||
SingleColorSelect = true
|
||||
RightMarginColumn = 80
|
||||
RightMarginColor = 0xdddddd
|
||||
#
|
||||
# Java Actions
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
#Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.toggle-token-marker = jsyntaxpane.actions.ToggleComponentAction, control F3
|
||||
Action.toggle-token-marker.Component = jsyntaxpane.components.TokenMarker
|
||||
#Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
# For completions, you have to define the Action (key to trigger completions):
|
||||
Action.combo-completion = jsyntaxpane.actions.ComboCompletionAction, control SPACE
|
||||
Action.combo-completion.ItemsURL=${class_path}/combocompletions.txt
|
||||
#
|
||||
# These are the completions to be in the IntelliSense completion dialog
|
||||
# comma separated values.
|
||||
# Vertical bars: if there is one, it will position the cursor. If there are
|
||||
# two, they will be start and end of selection
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
toggle-lines , \
|
||||
toggle-token-marker
|
||||
@@ -1,4 +0,0 @@
|
||||
# This file contains the code templates that will be used by the Java Syntax
|
||||
# editor kit.
|
||||
# The keys are the completion strings, and the values are the full expansion
|
||||
# of the text. The #{p:TEXT} will be replaced
|
||||
@@ -1,40 +0,0 @@
|
||||
Action.toggle-token-marker.MenuText = Toggle Token Marker
|
||||
|
||||
# !!!! FFDec translators - please do not edit anything below this line !!!
|
||||
#==========================================================================
|
||||
|
||||
#
|
||||
# JavaSyntaxKit Specific properties.
|
||||
#
|
||||
Components = jsyntaxpane.components.LineNumbersRuler, \
|
||||
jsyntaxpane.components.TokenMarker
|
||||
TokenMarker.TokenTypes = IDENTIFIER, TYPE, TYPE2, TYPE3
|
||||
#
|
||||
# Performs single color selection (Default = false)
|
||||
#
|
||||
SingleColorSelect = true
|
||||
RightMarginColumn = 80
|
||||
RightMarginColor = 0xdddddd
|
||||
#
|
||||
# Java Actions
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
#Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.toggle-token-marker = jsyntaxpane.actions.ToggleComponentAction, control F3
|
||||
Action.toggle-token-marker.Component = jsyntaxpane.components.TokenMarker
|
||||
#Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
# For completions, you have to define the Action (key to trigger completions):
|
||||
Action.combo-completion = jsyntaxpane.actions.ComboCompletionAction, control SPACE
|
||||
Action.combo-completion.MenuText = Completions
|
||||
Action.combo-completion.ItemsURL=${class_path}/combocompletions.txt
|
||||
#
|
||||
# These are the completions to be in the IntelliSense completion dialog
|
||||
# comma separated values.
|
||||
# Vertical bars: if there is one, it will position the cursor. If there are
|
||||
# two, they will be start and end of selection
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
toggle-lines , \
|
||||
toggle-token-marker
|
||||
@@ -1,41 +0,0 @@
|
||||
# This file contains the code templates that will be used by the Java Syntax
|
||||
# editor kit.
|
||||
# The keys are the completion strings, and the values are the full expansion
|
||||
# of the text. The #{p:TEXT} will be replaced
|
||||
pu=public
|
||||
pr=private
|
||||
st=static
|
||||
cl=class #{p:TheClass} {\n}
|
||||
St=String
|
||||
In=Integer
|
||||
Bo=Boolean
|
||||
bo=boolean
|
||||
fl=float
|
||||
ch=char
|
||||
wh=while
|
||||
ex=extends
|
||||
im=implements
|
||||
Ex=Exception
|
||||
en=enum #{p:TheEnum} {\n}
|
||||
re=return
|
||||
df=default:
|
||||
cs=case #{p:value}:\n break;
|
||||
sw=switch(#{p:expr}){\n case 1:\n break;\n}
|
||||
iof=instanceof
|
||||
trc=try {\n #{p:statements;}\n} catch (Exception e) {\n}
|
||||
th=throw
|
||||
thn=throw new
|
||||
ths=throws
|
||||
fori=for(int i=0; i<#{p:max}; i++) {\n // statement\n}
|
||||
fore=for(#{p:Object} o: items) {\n // statement\n}
|
||||
ife=if(#{p:condition}) {\n // When true\n} else {\n // when false\n}
|
||||
iff=if(#{p:condition}) {\n // When true\n}
|
||||
sout=System.out.println("#{p:text}");
|
||||
serr=System.err.println("#{p:Error text}");
|
||||
psvm=public static void main(String[] args) {\n #{p:}\n}
|
||||
psfs=public static final String #{p:CONST} = "";
|
||||
psfi=public static final int #{p:CONST} = 0;
|
||||
psfb=public static final boolean #{p:CONST} = true;
|
||||
Psfs=private static final String #{p:CONST} = "";
|
||||
Psfi=private static final int #{p:CONST} = 0;
|
||||
IAE=IllegalArgumentException
|
||||
@@ -1,5 +0,0 @@
|
||||
#
|
||||
# Other Java type actions for other languages:
|
||||
#
|
||||
Style.COMMENT = 0x666666, 2
|
||||
Style.COMMENT2 = 0x666666, 3
|
||||
@@ -1,28 +0,0 @@
|
||||
#
|
||||
# JavaScript
|
||||
#
|
||||
Action.execute-script = jsyntaxpane.actions.ScriptRunnerAction, control R
|
||||
Action.execute-script.ScriptExtension = js
|
||||
Action.execute-script.MenuText = Execute Script
|
||||
Action.execute-script.ToolTip = Execute JavaScript in internal JRE
|
||||
Action.execute-script.SmallIcon = play.png
|
||||
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
Action.close-curly = jsyntaxpane.actions.JUnindentAction, typed }
|
||||
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
indent , \
|
||||
unindent , \
|
||||
- , \
|
||||
toggle-comments , \
|
||||
- , \
|
||||
toggle-lines , \
|
||||
- , \
|
||||
execute-script
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# This file contains the code templates that will be used by the Java Syntax
|
||||
# editor kit.
|
||||
# The keys are the completion strings, and the values are the full expansion
|
||||
# of the text. The #{p:TEXT} will be replaced
|
||||
pu=public
|
||||
pr=private
|
||||
st=static
|
||||
cl=class #{p:TheClass} {\n}
|
||||
St=String
|
||||
In=Integer
|
||||
Bo=Boolean
|
||||
bo=boolean
|
||||
fl=float
|
||||
ch=char
|
||||
wh=while
|
||||
ex=extends
|
||||
im=implements
|
||||
Ex=Exception
|
||||
en=enum #{p:TheEnum} {\n}
|
||||
re=return
|
||||
df=default:
|
||||
cs=case #{p:value}:\n break;
|
||||
sw=switch(#{p:expr}){\n case 1:\n break;\n}
|
||||
iof=instanceof
|
||||
trc=try {\n #{p:statements;}\n} catch (Exception e) {\n}
|
||||
th=throw
|
||||
thn=throw new
|
||||
ths=throws
|
||||
fori=for(int i=0; i<#{p:max}; i++) {\n // statement\n}
|
||||
fore=for(#{p:Object} o: items) {\n // statement\n}
|
||||
ife=if(#{p:condition}) {\n // When true\n} else {\n // when false\n}
|
||||
iff=if(#{p:condition}) {\n // When true\n}
|
||||
sout=System.out.println("#{p:text}");
|
||||
serr=System.err.println("#{p:Error text}");
|
||||
psvm=public static void main(String[] args) {\n #{p:}\n}
|
||||
psfs=public static final String #{p:CONST} = "";
|
||||
psfi=public static final int #{p:CONST} = 0;
|
||||
psfb=public static final boolean #{p:CONST} = true;
|
||||
Psfs=private static final String #{p:CONST} = "";
|
||||
Psfi=private static final int #{p:CONST} = 0;
|
||||
IAE=IllegalArgumentException
|
||||
/*=/* #{p:} */
|
||||
/**=/**\n * #{p:}\n */
|
||||
@@ -1,18 +0,0 @@
|
||||
public
|
||||
protected
|
||||
private
|
||||
class
|
||||
static
|
||||
toString()
|
||||
equals(|)
|
||||
hashCode()
|
||||
JTextField
|
||||
JEditorPane
|
||||
JTextPane
|
||||
JComboBox
|
||||
JList
|
||||
JTree
|
||||
jsyntaxpane
|
||||
setContentType("text/|lang|")
|
||||
setProperty("|key|")
|
||||
for(int i=0; i < |max|; i++) {\n\t// loop body \n}
|
||||
@@ -1,86 +0,0 @@
|
||||
#
|
||||
# JavaSyntaxKit Specific properties.
|
||||
#
|
||||
Components = jsyntaxpane.components.PairsMarker, \
|
||||
jsyntaxpane.components.LineNumbersRuler, \
|
||||
jsyntaxpane.components.TokenMarker
|
||||
TokenMarker.TokenTypes = IDENTIFIER, TYPE, TYPE2, TYPE3
|
||||
#
|
||||
# Performs single color selection (Default = false)
|
||||
#
|
||||
SingleColorSelect = true
|
||||
RightMarginColumn = 80
|
||||
RightMarginColor = 0xdddddd
|
||||
#
|
||||
# Java Actions
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.toggle-token-marker = jsyntaxpane.actions.ToggleComponentAction, control F3
|
||||
Action.toggle-token-marker.MenuText = Toggle Token Marker
|
||||
Action.toggle-token-marker.Component = jsyntaxpane.components.TokenMarker
|
||||
Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
Action.close-curly = jsyntaxpane.actions.JUnindentAction, typed }
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
# For completions, you have to define the Action (key to trigger completions):
|
||||
Action.combo-completion = jsyntaxpane.actions.ComboCompletionAction, control SPACE
|
||||
Action.combo-completion.MenuText = Completions
|
||||
Action.combo-completion.ItemsURL=${class_path}/combocompletions.txt
|
||||
Action.reflect = jsyntaxpane.actions.ReflectCompletionAction, control I, shift F1
|
||||
Action.reflect.MenuText = Reflections
|
||||
# Enclose selection: Try Catch
|
||||
Action.surround-try = jsyntaxpane.actions.TemplateAction, control T
|
||||
Action.surround-try.MenuText = try catch block
|
||||
Action.surround-try.ToolTip = Surround selection with a try catch block
|
||||
Action.surround-try.Template = try {\n #{selection}\n} catch (#{p:Exception} ex) {\n} finally {\n}
|
||||
Action.surround-try.WholeLines= true
|
||||
Action.surround-while = jsyntaxpane.actions.TemplateAction, control W
|
||||
Action.surround-while.MenuText = while loop
|
||||
Action.surround-while.ToolTip = Surround selection in while loop
|
||||
Action.surround-while.Template = while(#{p:condition}) {\n #{selection}\n}
|
||||
Action.surround-while.WholeLines = true
|
||||
Action.surround-debug = jsyntaxpane.actions.TemplateAction, control D
|
||||
Action.surround-debug.MenuText = Debug Expression
|
||||
Action.surround-debug.ToolTip = Output expression to System.out
|
||||
Action.surround-debug.Template = System.out.println("The value of #{selection} = " + (#{selection}));
|
||||
Action.surround-debug.WholeLines = false
|
||||
Action.surround-debug.MustHaveSelection = true
|
||||
Action.surround-if = jsyntaxpane.actions.TemplateAction, control I
|
||||
Action.surround-if.MenuText = Surround with If
|
||||
Action.surround-if.ToolTip = Surround expression with If condition
|
||||
Action.surround-if.Template = if(#{p:condition}) {\n #{selection}\n}\n
|
||||
Action.surround-if.WholeLines = true
|
||||
Action.surround-if.MustHaveSelection = true
|
||||
Action.surround-comment = jsyntaxpane.actions.TemplateAction
|
||||
Action.surround-comment.MenuText = Block comment
|
||||
Action.surround-comment.ToolTip = Surround lines with block comments
|
||||
Action.surround-comment.Template = /*\n#{selection}\n*/
|
||||
Action.surround-comment.WholeLines = true
|
||||
Action.surround-comment.MustHaveSelection = true
|
||||
Action.insert-date = jsyntaxpane.actions.ScriptAction, F12
|
||||
Action.insert-date.Function = putDate
|
||||
Script.insert-date.URL = jsyntaxpane/scripts/insertdate.js
|
||||
#
|
||||
# These are the completions to be in the IntelliSense completion dialog
|
||||
# comma separated values.
|
||||
# Vertical bars: if there is one, it will position the cursor. If there are
|
||||
# two, they will be start and end of selection
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
indent , \
|
||||
unindent , \
|
||||
- , \
|
||||
toggle-comments , \
|
||||
- , \
|
||||
reflect , \
|
||||
>Surround with , \
|
||||
surround-try , \
|
||||
surround-while , \
|
||||
surround-debug , \
|
||||
surround-if , \
|
||||
surround-comment , \
|
||||
< , \
|
||||
toggle-lines , \
|
||||
toggle-token-marker
|
||||
@@ -1,30 +0,0 @@
|
||||
and
|
||||
break
|
||||
do
|
||||
else
|
||||
else \n\t#{p:block}
|
||||
elseif
|
||||
elseif (#{p:exp}) then \n\t#{p:block}
|
||||
end
|
||||
false
|
||||
for
|
||||
for #{p:var}=#{p:num},#{p:max} do \n\t|block \nend
|
||||
for #{p:namelist} in #{p:explist} do \n\t#{p:block} \nend
|
||||
function
|
||||
function #{p:name} () \n\nend
|
||||
if
|
||||
if (#{p:exp}) then \n\t#{p:block} \nend
|
||||
in
|
||||
local
|
||||
local function #{p:name} () \n\nend
|
||||
nil
|
||||
not
|
||||
or
|
||||
repeat
|
||||
repeat \n\t#{p:block} \nuntil #{p:exp}
|
||||
return
|
||||
then
|
||||
true
|
||||
until
|
||||
while
|
||||
while (#{p:exp}) do \n\t#{p:block} \nend
|
||||
@@ -1,23 +0,0 @@
|
||||
#
|
||||
# Lua Properties:
|
||||
#
|
||||
|
||||
# For completions, you have to define the Action (key to trigger completions):
|
||||
Action.combo-completion = jsyntaxpane.actions.ComboCompletionAction, control SPACE
|
||||
Action.combo-completion.MenuText = Completions
|
||||
Action.combo-completion.ItemsURL=${class_path}/combocompletions.txt
|
||||
|
||||
# auto fill-in actions
|
||||
Action.parenthesis = jsyntaxpane.actions.PairAction, typed (
|
||||
Action.brackets = jsyntaxpane.actions.PairAction, typed [
|
||||
Action.quotes = jsyntaxpane.actions.PairAction, typed '
|
||||
Action.double-quotes = jsyntaxpane.actions.PairAction, typed "
|
||||
Action.close-curly = jsyntaxpane.actions.JUnindentAction, typed }
|
||||
|
||||
# Style is one of: 0 = plain, 1=bold, 2=italic, 3=bold/italic
|
||||
Style.OPERATOR = 0x000000, 0
|
||||
Style.KEYWORD = 0x3333ee, 0
|
||||
Style.STRING = 0xcc6600, 0
|
||||
Style.NUMBER = 0x999933, 1
|
||||
Style.IDENTIFIER = 0x000000, 0
|
||||
Style.COMMENT = 0x339933, 2
|
||||
@@ -1,19 +0,0 @@
|
||||
#
|
||||
# Plain / Empty Document
|
||||
#
|
||||
Components = jsyntaxpane.components.LineNumbersRuler
|
||||
PopupMenu = \
|
||||
cut-to-clipboard , \
|
||||
copy-to-clipboard , \
|
||||
paste-from-clipboard , \
|
||||
- , \
|
||||
select-all , \
|
||||
- , \
|
||||
undo , \
|
||||
redo , \
|
||||
- , \
|
||||
find , \
|
||||
find-next , \
|
||||
goto-line , \
|
||||
- , \
|
||||
complete-word
|
||||
@@ -1,2 +0,0 @@
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.LineComments = "# "
|
||||
@@ -1,14 +0,0 @@
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control NUMBER_SIGN
|
||||
Action.toggle-comments.LineComments = "# "
|
||||
Action.indent.WordRegex=\\w+|\\/(\\*)+
|
||||
Action.jindent = jsyntaxpane.actions.PythonIndentAction, ENTER
|
||||
# Action.unindent = jsyntaxpane.actions.PythonUnindentAction, shift TAB
|
||||
Action.unindent.MenuText = Un-Indent
|
||||
Action.unindent.Tooltip = Un-Indent block
|
||||
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
indent , \
|
||||
unindent
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#
|
||||
# Ruby
|
||||
#
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control NUMBER_SIGN
|
||||
Action.toggle-comments.LineComments = "# "
|
||||
Action.complete-word.WordsRegexp = \\w+(\\?)?
|
||||
@@ -1,2 +0,0 @@
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.LineComments = "# "
|
||||
@@ -1,2 +0,0 @@
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.LineComments = "-- "
|
||||
@@ -1,2 +0,0 @@
|
||||
Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH
|
||||
Action.toggle-comments.LineComments = "-- "
|
||||
@@ -1,18 +0,0 @@
|
||||
#
|
||||
# XHTMLSyntaxKit
|
||||
#
|
||||
Action.html-preview = jsyntaxpane.actions.HTMLPreviewAction, F1
|
||||
Action.html-preview.MenuText = Preview HTML
|
||||
Action.html-preview.ToolTip = Preview in Java Swing internal Viewer, with auto update
|
||||
Action.toggle-comments = jsyntaxpane.actions.TemplateAction, control SLASH
|
||||
Action.toggle-comments.MenuText = Comment Block
|
||||
Action.toggle-comments.SmallIcon = comment.png
|
||||
Action.toggle-comments.MustHaveSelection = true
|
||||
Action.toggle-comments.Template = <!-- #{selection} -->
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
toggle-comments , \
|
||||
html-preview , \
|
||||
- , \
|
||||
toggle-lines
|
||||
@@ -1,24 +0,0 @@
|
||||
Components = jsyntaxpane.components.PairsMarker, \
|
||||
jsyntaxpane.components.LineNumbersRuler
|
||||
PairMarker.Color = 0xffeeaa
|
||||
Action.toggle-comments = jsyntaxpane.actions.TemplateAction, control SLASH
|
||||
Action.toggle-comments.MenuText = Comment Block
|
||||
Action.toggle-comments.SmallIcon = comment.png
|
||||
Action.toggle-comments.MustHaveSelection = true
|
||||
Action.toggle-comments.Template = <!-- #{selection} -->
|
||||
Action.prettify = jsyntaxpane.actions.XmlPrettifyAction, control P
|
||||
Action.prettify.MenuText = Reformat XML
|
||||
Action.prettify.ToolTip = Reformat XML
|
||||
# The XmlPrettifyAction takes these config parameters:
|
||||
# IndentAmount = int (amount of spaces for indentation, default = 4)
|
||||
# StandAlone = yes/no, default = yes. see OutputKeys.STANDALONE
|
||||
# OmitDeclaration = yes/no, default = yes. see OutputKeys.OMIT_XML_DECLARATION
|
||||
# Indent = yes/no, default = yes. see OutputKeys.INDENT
|
||||
Action.prettify.IndentAmount = 2
|
||||
Action.tag-close = jsyntaxpane.actions.XmlTagCompleteAction, typed >
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
toggle-comments , \
|
||||
prettify , \
|
||||
toggle-lines
|
||||
@@ -1,4 +0,0 @@
|
||||
PopupMenu = \
|
||||
${DEFAULT_EDIT_MENU} , \
|
||||
- , \
|
||||
Toggle Line Numbers = toggle-lines
|
||||