#5985·ace

Ace Core: Code folding on a split line does not work correctly.

Author: Anna-LataczCreated Jun 29, 2026Updated Jul 29, 2026
Labelsp2bug

Describe the bug

Version: 1.43.5

Ace Core: Code folding on a split line does not work correctly.

Expected Behavior

When a code is folded, it can be unfolded using the same button if the node is split to occupy more than one line in the editor.

Current Behavior

When a code is folded, it cannot be unfolded using the same button if the node is split to occupy more than one line in the editor.

Reproduction Steps

Use the editor to check the XSLT code:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:oldxsl="http://www.w3.org/TR/WD-xsl" //on new line xmlns:msxsl="urn:schemas-microsoft-com:xslt" //on new line xmlns:local="#local-functions"> //on new line

<xsl:template match="/">

CableBuilder: Project: Styles

<xsl:apply-templates select="budgetSet/cableGroup"/>

</xsl:template>

</xsl:stylesheet>

Image

Click the arrow to fold the code. The code will fold. When you want to unfold:

Image

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

1.43.5/Chrome/Windows/UK standard