ajaxorg / ajaxorg/ace

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

Offen
#5,985 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
bug p2
Vorherrschende Sprache
JavaScript
Sterne
27.1k
Forks
5.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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:

//on new line

CableBuilder: Project: Styles

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.