mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-06-01 06:14:11 +08:00
...
This commit is contained in:
+1
-1
@@ -25697,7 +25697,7 @@ GuiGeneralUndoRedoProcessor
|
|||||||
{
|
{
|
||||||
steps.Clear();
|
steps.Clear();
|
||||||
firstFutureStep=0;
|
firstFutureStep=0;
|
||||||
savedStep=-1;
|
savedStep=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,9 +67,9 @@ https://zhuanlan.zhihu.com/p/33778843
|
|||||||
- [x] Demo: Direct2DClock
|
- [x] Demo: Direct2DClock
|
||||||
- [x] Demo: Responsive1
|
- [x] Demo: Responsive1
|
||||||
- [x] Demo: Responsive2
|
- [x] Demo: Responsive2
|
||||||
- [ ] Demo: TextEditor
|
- [x] Demo: TextEditor
|
||||||
- [x] Use toolstrip group instead of splitter
|
- [x] Use toolstrip group instead of splitter
|
||||||
- [ ] Recently opened files in both menu and toolbar
|
- [x] Recently opened files in both menu and toolbar
|
||||||
- [x] Prevent from crashing while binding to a.b.c if a.b is null with a.b.cChanged exists
|
- [x] Prevent from crashing while binding to a.b.c if a.b is null with a.b.cChanged exists
|
||||||
- [ ] **Update Release**
|
- [ ] **Update Release**
|
||||||
- [ ] Demo: TriplePhaseImageButton
|
- [ ] Demo: TriplePhaseImageButton
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ namespace demo
|
|||||||
textBox->SetText(reader.ReadToEnd());
|
textBox->SetText(reader.ReadToEnd());
|
||||||
textBox->Select(TextPos(), TextPos());
|
textBox->Select(TextPos(), TextPos());
|
||||||
textBox->SetFocus();
|
textBox->SetFocus();
|
||||||
|
textBox->ClearUndoRedo();
|
||||||
|
|
||||||
fileName = dialogOpen->GetFileName();
|
fileName = dialogOpen->GetFileName();
|
||||||
if (INVLOC.EndsWith(fileName, L".xml", Locale::IgnoreCase))
|
if (INVLOC.EndsWith(fileName, L".xml", Locale::IgnoreCase))
|
||||||
@@ -81,8 +82,10 @@ namespace demo
|
|||||||
SetupTextConfig();
|
SetupTextConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
textBox->ClearUndoRedo();
|
GetApplication()->InvokeInMainThread(this, [=]()
|
||||||
|
{
|
||||||
AddRecentFile(path);
|
AddRecentFile(path);
|
||||||
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -147,7 +150,11 @@ namespace demo
|
|||||||
{
|
{
|
||||||
SetupTextConfig();
|
SetupTextConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GetApplication()->InvokeInMainThread(this, [=]()
|
||||||
|
{
|
||||||
AddRecentFile(targetFileName);
|
AddRecentFile(targetFileName);
|
||||||
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user