mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-31 22:04:09 +08:00
Update release
This commit is contained in:
+2
-2
@@ -27495,7 +27495,7 @@ GuiDocumentViewer
|
|||||||
|
|
||||||
GuiDocumentViewer::GuiDocumentViewer(GuiDocumentViewer::IStyleProvider* styleProvider)
|
GuiDocumentViewer::GuiDocumentViewer(GuiDocumentViewer::IStyleProvider* styleProvider)
|
||||||
:GuiScrollContainer(styleProvider)
|
:GuiScrollContainer(styleProvider)
|
||||||
, GuiDocumentCommonInterface(styleProvider->GetBaselineDocument())
|
, GuiDocumentCommonInterface(styleProvider->GetBaselineDocument(), styleProvider->GetCaretColor())
|
||||||
{
|
{
|
||||||
SetExtendToFullWidth(true);
|
SetExtendToFullWidth(true);
|
||||||
SetHorizontalAlwaysVisible(false);
|
SetHorizontalAlwaysVisible(false);
|
||||||
@@ -43817,7 +43817,7 @@ DocumentModel
|
|||||||
if(sp->face) XmlElementWriter(styleElement).Element(L"face").Text( sp->face.Value() );
|
if(sp->face) XmlElementWriter(styleElement).Element(L"face").Text( sp->face.Value() );
|
||||||
if(sp->size) XmlElementWriter(styleElement).Element(L"size").Text( sp->size.Value().ToString() );
|
if(sp->size) XmlElementWriter(styleElement).Element(L"size").Text( sp->size.Value().ToString() );
|
||||||
if(sp->color) XmlElementWriter(styleElement).Element(L"color").Text( sp->color.Value().ToString() );
|
if(sp->color) XmlElementWriter(styleElement).Element(L"color").Text( sp->color.Value().ToString() );
|
||||||
if(sp->backgroundColor) XmlElementWriter(styleElement).Element(L"bkcolor").Text( sp->color.Value().ToString() );
|
if(sp->backgroundColor) XmlElementWriter(styleElement).Element(L"bkcolor").Text( sp->backgroundColor.Value().ToString() );
|
||||||
if(sp->bold) XmlElementWriter(styleElement).Element(L"b").Text( sp->bold.Value()?L"true":L"false" );
|
if(sp->bold) XmlElementWriter(styleElement).Element(L"b").Text( sp->bold.Value()?L"true":L"false" );
|
||||||
if(sp->italic) XmlElementWriter(styleElement).Element(L"i").Text( sp->italic.Value()?L"true":L"false" );
|
if(sp->italic) XmlElementWriter(styleElement).Element(L"i").Text( sp->italic.Value()?L"true":L"false" );
|
||||||
if(sp->underline) XmlElementWriter(styleElement).Element(L"u").Text( sp->underline.Value()?L"true":L"false" );
|
if(sp->underline) XmlElementWriter(styleElement).Element(L"u").Text( sp->underline.Value()?L"true":L"false" );
|
||||||
|
|||||||
@@ -1648,19 +1648,27 @@ namespace vl
|
|||||||
void Visit(WfVirtualExpression* node)override
|
void Visit(WfVirtualExpression* node)override
|
||||||
{
|
{
|
||||||
traverse_visitor::ExpressionVisitor::Visit(node);
|
traverse_visitor::ExpressionVisitor::Visit(node);
|
||||||
auto record = sp->nodePositions[node];
|
vint index = sp->nodePositions.Keys().IndexOf(node);
|
||||||
|
if (index != -1)
|
||||||
|
{
|
||||||
|
auto record = sp->nodePositions.Values()[index];
|
||||||
Workflow_RecordScriptPosition(context, record.position, node->expandedExpression, record.availableAfter);
|
Workflow_RecordScriptPosition(context, record.position, node->expandedExpression, record.availableAfter);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Visit(WfVirtualDeclaration* node)override
|
void Visit(WfVirtualDeclaration* node)override
|
||||||
{
|
{
|
||||||
traverse_visitor::DeclarationVisitor::Visit(node);
|
traverse_visitor::DeclarationVisitor::Visit(node);
|
||||||
auto record = sp->nodePositions[node];
|
vint index = sp->nodePositions.Keys().IndexOf(node);
|
||||||
|
if (index != -1)
|
||||||
|
{
|
||||||
|
auto record = sp->nodePositions.Values()[index];
|
||||||
FOREACH(Ptr<WfDeclaration>, decl, node->expandedDeclarations)
|
FOREACH(Ptr<WfDeclaration>, decl, node->expandedDeclarations)
|
||||||
{
|
{
|
||||||
Workflow_RecordScriptPosition(context, record.position, decl, record.availableAfter);
|
Workflow_RecordScriptPosition(context, record.position, decl, record.availableAfter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Ptr<GuiInstanceCompiledWorkflow> Workflow_GetModule(GuiResourcePrecompileContext& context, const WString& path)
|
Ptr<GuiInstanceCompiledWorkflow> Workflow_GetModule(GuiResourcePrecompileContext& context, const WString& path)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user