Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
DataEditorX
Commits
fce39f6b
Commit
fce39f6b
authored
Jan 11, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update log; rewrite diy script init
parent
43f833b1
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
75 additions
and
46 deletions
+75
-46
DataEditorX/Core/CardEdit.cs
DataEditorX/Core/CardEdit.cs
+3
-3
DataEditorX/CountLimitForm.Designer.cs
DataEditorX/CountLimitForm.Designer.cs
+13
-8
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+12
-0
DataEditorX/EffectCreatorForm.Designer.cs
DataEditorX/EffectCreatorForm.Designer.cs
+35
-34
DataEditorX/EffectCreatorForm.cs
DataEditorX/EffectCreatorForm.cs
+5
-0
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/changed.txt
DataEditorX/changed.txt
+5
-0
DataEditorX/packages.config
DataEditorX/packages.config
+1
-0
No files found.
DataEditorX/Core/CardEdit.cs
View file @
fce39f6b
...
...
@@ -314,10 +314,10 @@ public bool OpenScript(bool openinthis, string addrequire)
{
// DIY script
sw
.
WriteLine
(
"--"
+
c
.
name
);
sw
.
WriteLine
(
"local
m
="
+
id
.
ToString
());
sw
.
WriteLine
(
"local
cm
=_G[\"c\"..m]"
);
sw
.
WriteLine
(
"local
id
="
+
id
.
ToString
());
sw
.
WriteLine
(
"local
this
=_G[\"c\"..m]"
);
sw
.
WriteLine
(
"Duel.LoadScript(\""
+
addrequire
+
".lua\")"
);
sw
.
WriteLine
(
"function
cm
.initial_effect(c)"
);
sw
.
WriteLine
(
"function
this
.initial_effect(c)"
);
sw
.
WriteLine
(
"\t"
);
sw
.
WriteLine
(
"end"
);
}
...
...
DataEditorX/CountLimitForm.Designer.cs
View file @
fce39f6b
...
...
@@ -49,7 +49,7 @@ private void InitializeComponent()
this
.
checkIsOath
.
AutoSize
=
true
;
this
.
checkIsOath
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
20
);
this
.
checkIsOath
.
Name
=
"checkIsOath"
;
this
.
checkIsOath
.
Size
=
new
System
.
Drawing
.
Size
(
2
76
,
16
);
this
.
checkIsOath
.
Size
=
new
System
.
Drawing
.
Size
(
2
68
,
16
);
this
.
checkIsOath
.
TabIndex
=
0
;
this
.
checkIsOath
.
Text
=
"誓约效果(发动被无效不计数,效果被无效计数)"
;
this
.
checkIsOath
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -72,7 +72,7 @@ private void InitializeComponent()
// label2
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
1
56
,
64
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
1
32
,
65
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
12
);
this
.
label2
.
TabIndex
=
7
;
...
...
@@ -83,21 +83,26 @@ private void InitializeComponent()
this
.
checkIsSingle
.
AutoSize
=
true
;
this
.
checkIsSingle
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
86
);
this
.
checkIsSingle
.
Name
=
"checkIsSingle"
;
this
.
checkIsSingle
.
Size
=
new
System
.
Drawing
.
Size
(
2
40
,
16
);
this
.
checkIsSingle
.
Size
=
new
System
.
Drawing
.
Size
(
2
36
,
16
);
this
.
checkIsSingle
.
TabIndex
=
3
;
this
.
checkIsSingle
.
Text
=
"与其他效果共用次数,且没有同名卡限制"
;
this
.
checkIsSingle
.
UseVisualStyleBackColor
=
true
;
//
// numericUpDown1
//
this
.
numericUpDown1
.
Location
=
new
System
.
Drawing
.
Point
(
215
,
61
);
this
.
numericUpDown1
.
Increment
=
new
decimal
(
new
int
[]
{
100
,
0
,
0
,
0
});
this
.
numericUpDown1
.
Location
=
new
System
.
Drawing
.
Point
(
185
,
61
);
this
.
numericUpDown1
.
Maximum
=
new
decimal
(
new
int
[]
{
10000
,
0
,
0
,
0
});
this
.
numericUpDown1
.
Name
=
"numericUpDown1"
;
this
.
numericUpDown1
.
Size
=
new
System
.
Drawing
.
Size
(
57
,
21
);
this
.
numericUpDown1
.
Size
=
new
System
.
Drawing
.
Size
(
57
,
19
);
this
.
numericUpDown1
.
TabIndex
=
6
;
//
// checkIsHasCode
...
...
@@ -105,7 +110,7 @@ private void InitializeComponent()
this
.
checkIsHasCode
.
AutoSize
=
true
;
this
.
checkIsHasCode
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
64
);
this
.
checkIsHasCode
.
Name
=
"checkIsHasCode"
;
this
.
checkIsHasCode
.
Size
=
new
System
.
Drawing
.
Size
(
10
8
,
16
);
this
.
checkIsHasCode
.
Size
=
new
System
.
Drawing
.
Size
(
10
9
,
16
);
this
.
checkIsHasCode
.
TabIndex
=
2
;
this
.
checkIsHasCode
.
Text
=
"同名卡1回合X次"
;
this
.
checkIsHasCode
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -115,7 +120,7 @@ private void InitializeComponent()
this
.
checkIsInDuel
.
AutoSize
=
true
;
this
.
checkIsInDuel
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
42
);
this
.
checkIsInDuel
.
Name
=
"checkIsInDuel"
;
this
.
checkIsInDuel
.
Size
=
new
System
.
Drawing
.
Size
(
12
6
,
16
);
this
.
checkIsInDuel
.
Size
=
new
System
.
Drawing
.
Size
(
12
7
,
16
);
this
.
checkIsInDuel
.
TabIndex
=
1
;
this
.
checkIsInDuel
.
Text
=
"决斗中只能发动X次"
;
this
.
checkIsInDuel
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -152,7 +157,7 @@ private void InitializeComponent()
0
,
0
});
this
.
numCount
.
Name
=
"numCount"
;
this
.
numCount
.
Size
=
new
System
.
Drawing
.
Size
(
57
,
21
);
this
.
numCount
.
Size
=
new
System
.
Drawing
.
Size
(
57
,
19
);
this
.
numCount
.
TabIndex
=
4
;
this
.
numCount
.
Value
=
new
decimal
(
new
int
[]
{
1
,
...
...
DataEditorX/DataEditorX.csproj
View file @
fce39f6b
...
...
@@ -62,6 +62,9 @@
<Reference
Include=
"FastColoredTextBox, Version=2.16.24.0, Culture=neutral, PublicKeyToken=fb8aa12b994ef61b, processorArchitecture=MSIL"
>
<HintPath>
..\packages\FCTB.2.16.24\lib\FastColoredTextBox.dll
</HintPath>
</Reference>
<Reference
Include=
"ICSharpCode.AvalonEdit, Version=6.1.3.50, Culture=neutral, PublicKeyToken=9cc39be672370310, processorArchitecture=MSIL"
>
<HintPath>
..\packages\AvalonEdit.6.1.3.50\lib\net45\ICSharpCode.AvalonEdit.dll
</HintPath>
</Reference>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"Microsoft.VisualBasic"
/>
<Reference
Include=
"Neo.Lua, Version=5.3.0.0, Culture=neutral, PublicKeyToken=fdb0cd4fe8a6e3b2, processorArchitecture=MSIL"
>
...
...
@@ -97,6 +100,12 @@
<Reference
Include=
"WindowsBase"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"CodeEditForm_Avalon.cs"
>
<SubType>
Form
</SubType>
</Compile>
<Compile
Include=
"CodeEditForm_Avalon.Designer.cs"
>
<DependentUpon>
CodeEditForm_Avalon.cs
</DependentUpon>
</Compile>
<Compile
Include=
"CodeEditForm.cs"
>
<SubType>
Form
</SubType>
</Compile>
...
...
@@ -258,6 +267,9 @@
</None>
</ItemGroup>
<ItemGroup>
<EmbeddedResource
Include=
"CodeEditForm_Avalon.resx"
>
<DependentUpon>
CodeEditForm_Avalon.cs
</DependentUpon>
</EmbeddedResource>
<EmbeddedResource
Include=
"CodeEditForm.resx"
>
<DependentUpon>
CodeEditForm.cs
</DependentUpon>
</EmbeddedResource>
...
...
DataEditorX/EffectCreatorForm.Designer.cs
View file @
fce39f6b
This diff is collapsed.
Click to expand it.
DataEditorX/EffectCreatorForm.cs
View file @
fce39f6b
...
...
@@ -342,5 +342,10 @@ private void checkReset_CheckedChanged(object sender, EventArgs e)
}
}
}
private
void
checkHintTiming_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
}
}
}
DataEditorX/Properties/AssemblyInfo.cs
View file @
fce39f6b
...
...
@@ -27,4 +27,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"3.0.
0.5
"
)]
[
assembly
:
AssemblyVersion
(
"3.0.
1.0
"
)]
DataEditorX/changed.txt
View file @
fce39f6b
★更新历史
3.0.1.0
更新了一个新的编辑器。现在能正常显示中文了。
旧编辑器仍可使用,请在菜单里进行切换。
初始化中的m / cm更名为id / this。
现在可以初始化各种不同的类型了。
3.0.0.6
你现在可以在选项菜单中调整函数提示的字体及其大小了。
现在当滚动到文本末尾时,仍然可以继续向下滚动。
...
...
DataEditorX/packages.config
View file @
fce39f6b
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"AvalonEdit"
version
=
"6.1.3.50"
targetFramework
=
"net46"
/>
<
package
id
=
"DockPanelSuite"
version
=
"3.0.6"
targetFramework
=
"net46"
/>
<
package
id
=
"DockPanelSuite.ThemeVS2015"
version
=
"3.0.6"
targetFramework
=
"net46"
/>
<
package
id
=
"EntityFramework"
version
=
"6.4.4"
targetFramework
=
"net46"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment