From 012b2cc39fde8a326a1f986b98f228bc38656bfd Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:01:32 +0300 Subject: [PATCH] Fix selection line breaks layout --- rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx b/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx index e06e80d8..1c4189f4 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx @@ -61,7 +61,7 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) {
{!hoverNode && expression} {hoverNode && -
+
{expression.slice(0, hoverNode.start)} {expression.slice(hoverNode.start, hoverNode.finish)} {expression.slice(hoverNode.finish)}