Commit f8e3ed02 authored by keyongyu's avatar keyongyu

2.2.2.1

parent 16bed39c
......@@ -300,7 +300,7 @@ void AboutToolStripMenuItemClick(object sender, EventArgs e)
{
MyMsg.Show(
LANG.GetMsg(LMSG.About)+"\t"+Application.ProductName+"\n"
+LANG.GetMsg(LMSG.Version)+"\t1.0.0.0\n"
+LANG.GetMsg(LMSG.Version)+"\t1.1.0.0\n"
+LANG.GetMsg(LMSG.Author)+"\t247321453\n"
+"Email:\t247321453@qq.com");
}
......
......@@ -79,6 +79,8 @@ void Init(string datapath)
LANG.InitForm(this, conflang);
LANG.LoadMessage(confmsg);
LANG.SetLanguage(this);
ReadHistory();
MenuHistory();
}
#endregion
......@@ -206,6 +208,9 @@ protected override void DefWndProc(ref System.Windows.Forms.Message m)
#region DataEditor
public void OpenScript(string file)
{
if(!string.IsNullOrEmpty(file) && File.Exists(file)){
AddHistory(file);
}
CodeEditForm cf=new CodeEditForm(file);
LANG.InitForm(cf, conflang_ce);
LANG.SetLanguage(cf);
......@@ -288,8 +293,7 @@ void DataEditorToolStripMenuItemClick(object sender, EventArgs e)
#region form
void MainFormLoad(object sender, System.EventArgs e)
{
ReadHistory();
MenuHistory();
}
void MainFormFormClosing(object sender, FormClosingEventArgs e)
......@@ -374,8 +378,10 @@ void Menuitem_newClick(object sender, EventArgs e)
if(dlg.ShowDialog()==DialogResult.OK)
{
string file=dlg.FileName;
if(MainForm.isScript(file))
if(MainForm.isScript(file)){
File.Delete(file);
OpenScript(file);
}
else
{
if(DataBase.Create(file))
......
......@@ -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.1.0")]
[assembly: AssemblyVersion("2.2.1.1")]
......@@ -17,5 +17,5 @@ pendulum-text = 】[\s\S]*?\n([\S\s]*?)\n【
monster-text = [果|介|述|報]】\n([\S\s]*)
# en monster-text = Text:[\s\S]*?Text:\n([\S\s]*)
########################### Replace
replace = ([鮟|鱇]) <i>$1</i>
# replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
replace = ([鮟|鱇|・]) <i>$1</i>
replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
[DataEditorX]2.2.1.0[DataEditorX]
[DataEditorX]2.2.1.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
......@@ -66,6 +66,9 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.1.1
修复文件关联打开文件,无法记录打开历史
修复新建lua,没有覆盖旧文件
2.2.1.0
lua编辑器的文件菜单整合
2.2.0.0
......
No preview for this file type
# history
F:\games\ygocore\cards (2).cdb
F:\games\ygocore\script\c126218.lua
F:\games\ygocore\cards.cdb
\ No newline at end of file
F:\games\ygocore\script\c131182.lua
F:\games\ygopro\cards.cdb
\ No newline at end of file
......@@ -17,5 +17,5 @@ pendulum-text = 】[\s\S]*?\n([\S\s]*?)\n【
monster-text = [果|介|述|報]】\n([\S\s]*)
# en monster-text = Text:[\s\S]*?Text:\n([\S\s]*)
########################### Replace
replace = ([鮟|鱇]) <i>$1</i>
# replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
replace = ([鮟|鱇|・]) <i>$1</i>
replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
[DataEditorX]2.2.1.0[DataEditorX]
[DataEditorX]2.2.1.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
......@@ -66,6 +66,9 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.1.1
修复文件关联打开文件,无法记录打开历史
修复新建lua,没有覆盖旧文件
2.2.1.0
lua编辑器的文件菜单整合
2.2.0.0
......
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