|
@@ -15,7 +15,6 @@ namespace ComPDFKit.Tool.UndoManger
|
|
if (Histories != null && Histories.Count > 0)
|
|
if (Histories != null && Histories.Count > 0)
|
|
{
|
|
{
|
|
bool success = true;
|
|
bool success = true;
|
|
- //需要排序
|
|
|
|
|
|
|
|
List<AnnotHistory> checkAnnotList = new List<AnnotHistory>();
|
|
List<AnnotHistory> checkAnnotList = new List<AnnotHistory>();
|
|
List<IHistory> OtherList = new List<IHistory>();
|
|
List<IHistory> OtherList = new List<IHistory>();
|
|
@@ -31,7 +30,6 @@ namespace ComPDFKit.Tool.UndoManger
|
|
OtherList.Add(history);
|
|
OtherList.Add(history);
|
|
}
|
|
}
|
|
|
|
|
|
- //而且 checkAnnotList 要从大到小排序
|
|
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
{
|
|
{
|
|
@@ -66,7 +64,6 @@ namespace ComPDFKit.Tool.UndoManger
|
|
if (Histories != null && Histories.Count > 0)
|
|
if (Histories != null && Histories.Count > 0)
|
|
{
|
|
{
|
|
bool success = true;
|
|
bool success = true;
|
|
- //需要排序
|
|
|
|
|
|
|
|
List<AnnotHistory> checkAnnotList = new List<AnnotHistory>();
|
|
List<AnnotHistory> checkAnnotList = new List<AnnotHistory>();
|
|
List<IHistory> OtherList = new List<IHistory>();
|
|
List<IHistory> OtherList = new List<IHistory>();
|
|
@@ -82,7 +79,6 @@ namespace ComPDFKit.Tool.UndoManger
|
|
OtherList.Add(history);
|
|
OtherList.Add(history);
|
|
}
|
|
}
|
|
|
|
|
|
- //而且 checkAnnotList 要从大到小排序
|
|
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
{
|
|
{
|
|
@@ -146,7 +142,7 @@ namespace ComPDFKit.Tool.UndoManger
|
|
{
|
|
{
|
|
checkAnnotList.Add((AnnotHistory)checkItem);
|
|
checkAnnotList.Add((AnnotHistory)checkItem);
|
|
}
|
|
}
|
|
- //而且 checkAnnotList 要从大到小排序
|
|
|
|
|
|
+
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
List<AnnotHistory> loopList = new List<AnnotHistory>();
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
if (checkAnnotList != null && checkAnnotList.Count > 0)
|
|
{
|
|
{
|