Commit 65399193 authored by keyongyu's avatar keyongyu

2.2.4.1

parent f4145c82
......@@ -19,12 +19,16 @@ namespace FastColoredTextBoxNS
public class FastColoredTextBoxEx : FastColoredTextBox
{
Point lastMouseCoord;
public FastColoredTextBoxEx() : base()
{
}
public new event EventHandler<ToolTipNeededEventArgs> ToolTipNeeded;
protected override void OnMouseMove(MouseEventArgs e)
{
base.OnMouseMove(e);
lastMouseCoord = e.Location;
}
protected override void OnToolTip()
{
if (ToolTip == null)
......
......@@ -104,11 +104,11 @@ string levelString()
string redesc()
{
return desc
.Replace(",",",\n")
//.Replace(",",",\n")
.Replace("。","。\n")
.Replace("?","?\n")
.Replace(",",",\n")
.Replace(".",".\n")
//.Replace(",",",\n")
//.Replace(".",".\n")
.Replace("?","?\n");
}
public bool EqualsData(Card other)
......
......@@ -365,11 +365,11 @@ public static string GetSelectSQL(Card c)
if(c.ot>0)
sb.Append(" and datas.ot = "+c.ot.ToString());
if(c.attribute>0)
sb.Append(" and datas.attribute & "+c.attribute.ToString()+" = "+c.attribute.ToString());
sb.Append(" and datas.attribute = "+c.attribute.ToString());
if(c.level>0)
sb.Append(" and datas.level & "+toInt(c.level)+" = "+toInt(c.level));
sb.Append(" and (datas.level & 255) = "+toInt(c.level));
if(c.race>0)
sb.Append(" and datas.race & "+toInt(c.race)+" = "+toInt(c.race));
sb.Append(" and datas.race = "+toInt(c.race));
if(c.type>0)
sb.Append(" and datas.type & "+toInt(c.type)+" = "+toInt(c.type));
if(c.category>0)
......
......@@ -81,7 +81,7 @@ public enum LMSG : uint
CheckText,
CompareOK,
OpenFile,
OpenFileFilter,
ScriptFilter,
NewFile,
SaveFileOK,
IfSaveScript,
......
......@@ -352,7 +352,10 @@ void Menuitem_openClick(object sender, EventArgs e)
using(OpenFileDialog dlg=new OpenFileDialog())
{
dlg.Title=LANG.GetMsg(LMSG.OpenFile);
dlg.Filter=LANG.GetMsg(LMSG.OpenFileFilter);
if(GetActive() !=null)
dlg.Filter=LANG.GetMsg(LMSG.CdbType);
else
dlg.Filter=LANG.GetMsg(LMSG.ScriptFilter);
if(dlg.ShowDialog()==DialogResult.OK)
{
string file=dlg.FileName;
......@@ -374,7 +377,10 @@ void Menuitem_newClick(object sender, EventArgs e)
using(SaveFileDialog dlg=new SaveFileDialog())
{
dlg.Title=LANG.GetMsg(LMSG.NewFile);
dlg.Filter=LANG.GetMsg(LMSG.OpenFileFilter);
if(GetActive() !=null)
dlg.Filter=LANG.GetMsg(LMSG.CdbType);
else
dlg.Filter=LANG.GetMsg(LMSG.ScriptFilter);
if(dlg.ShowDialog()==DialogResult.OK)
{
string file=dlg.FileName;
......
......@@ -28,4 +28,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("2.2.4.0")]
[assembly: AssemblyVersion("2.2.4.1")]
......@@ -65,7 +65,7 @@
0x40 是否对比卡片信息?
0x41 对比完成
0x42 打开文件
0x43 数据库文件(*.cdb)|*.cdb|脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x43 脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x44 新建文件
0x45 保存完成
0x46 是否保存脚本?
\ No newline at end of file
......@@ -65,7 +65,7 @@
0x40 Compare Cards With Text?
0x41 Cards is Compared.
0x42 Open File
0x43 DataBase(*.cdb)|*.cdb|Script(*.lua)|*.lua|all files(*.*)|*.*
0x43 Script(*.lua)|*.lua|all files(*.*)|*.*
0x44 New File
0x45 Save OK
0x46 If Save Script?
\ No newline at end of file
[DataEditorX]2.2.4.0[DataEditorX]
[DataEditorX]2.2.4.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
......@@ -41,7 +41,7 @@ mse-config 设置pendulum文本和普通文本的正则正则表达式,用来
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
★lua编辑器 函数搜索
★lua编辑器
在下面的文本框输入关键字,按Enter
Ctrl+鼠标左键 跳转到函数定义
Ctrl+鼠标滑轮 缩放文字
......@@ -73,6 +73,8 @@ Email:247321453@qq.com
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.4.1
修复部分条件搜索
2.2.4.0
lua编辑器,Ctrl+鼠标左键 跳转到函数定义
2.2.3.4
......
No preview for this file type
# history
F:\games\ygocore\cards (2).cdb
F:\games\ygopro\script\c32864.lua
E:\github\DataEditorX\DataEditorX\chinese\constant.lua
F:\games\ygocore\script\constant.lua
F:\games\ygocore\script\utility.lua
F:\games\ygocore\script\c99995595.lua
F:\games\ygocore\script\c135598.lua
F:\games\ygocore\single\[sample]BerserkDragon.lua
F:\games\ygopro\script\c102380.lua
F:\c14513016.lua
F:\games\ygocore\script\c131182.lua
F:\games\ygopro\script\c123709.lua
F:\games\ygocore\script\c900787.lua
F:\games\ygopro\script\c126218.lua
F:\games\ygopro\script\c191749.lua
F:\Propro的翻译\EN的cards.cdb
F:\games\ygopro\cards.cdb
F:\games\ygopro\script\c168917.lua
F:\games\ygopro\script\c191749.lua
F:\games\ygocore\script\c135598.lua
F:\games\ygocore\script\c126218.lua
E:\github\DataEditorX\DataEditorX\chinese\constant.lua
F:\games\ygocore\script\c900787.lua
F:\games\ygocore\script\c114932.lua
F:\games\ygocore\script\c126218.lua
\ No newline at end of file
F:\games\ygopro\cards.cdb
\ No newline at end of file
......@@ -65,7 +65,7 @@
0x40 是否对比卡片信息?
0x41 对比完成
0x42 打开文件
0x43 数据库文件(*.cdb)|*.cdb|脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x43 脚本文件(*.lua)|*.lua|所有文件(*.*)|*.*
0x44 新建文件
0x45 保存完成
0x46 是否保存脚本?
\ No newline at end of file
......@@ -65,7 +65,7 @@
0x40 Compare Cards With Text?
0x41 Cards is Compared.
0x42 Open File
0x43 DataBase(*.cdb)|*.cdb|Script(*.lua)|*.lua|all files(*.*)|*.*
0x43 Script(*.lua)|*.lua|all files(*.*)|*.*
0x44 New File
0x45 Save OK
0x46 If Save Script?
\ No newline at end of file
[DataEditorX]2.2.4.0[DataEditorX]
[DataEditorX]2.2.4.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
......@@ -41,7 +41,7 @@ mse-config 设置pendulum文本和普通文本的正则正则表达式,用来
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
★lua编辑器 函数搜索
★lua编辑器
在下面的文本框输入关键字,按Enter
Ctrl+鼠标左键 跳转到函数定义
Ctrl+鼠标滑轮 缩放文字
......@@ -73,6 +73,8 @@ Email:247321453@qq.com
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.4.1
修复部分条件搜索
2.2.4.0
lua编辑器,Ctrl+鼠标左键 跳转到函数定义
2.2.3.4
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment