diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentCritical.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentCritical.vue index f306fe7d..d006839a 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentCritical.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentCritical.vue @@ -60,7 +60,7 @@ export default { const from = computed(() => props.context.Origin()); const critical = computed(() => props.context.critical()); const braceBlock = computed(() => critical.value?.braceBlock()); - const atom = computed(() => critical.value?.atom()?.getText()); + const atom = computed(() => critical.value?.atom()?.getFormattedText()); const blockInCritical = computed(() => braceBlock.value?.block()); const label = computed(() => diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentSection.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentSection.vue index 5008d64b..d8a752e6 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentSection.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentSection.vue @@ -61,7 +61,7 @@ export default { const from = computed(() => props.context.Origin()); const section = computed(() => props.context.section()); const braceBlock = computed(() => section.value?.braceBlock()); - const atom = computed(() => section.value?.atom()?.getText()); + const atom = computed(() => section.value?.atom()?.getFormattedText()); const blockInSection = computed(() => braceBlock.value?.block()); const label = computed( diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentTryCatchFinally.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentTryCatchFinally.vue index 120d2502..8c37880d 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentTryCatchFinally.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Fragment/FragmentTryCatchFinally.vue @@ -115,7 +115,7 @@ export default { }, methods: { exception(ctx) { - return ctx?.invocation()?.parameters().getText(); + return ctx?.invocation()?.parameters().getFormattedText(); }, blockInCatchBlock(ctx) { return ctx?.braceBlock()?.block();