Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folding lua mode - multline string or comment folding not right #5521

Open
vkvallinayagam opened this issue Mar 24, 2024 · 0 comments
Open

Comments

@vkvallinayagam
Copy link

vkvallinayagam commented Mar 24, 2024

Describe the bug

in lua mode, folding of multi-line string or comment is not proper.
The fold range of multi-line string or comment is determined properly. This is known by the color coding as well the end-marker.

But when I fold, the collapsing is not proper. Only the first line is made invisible. Other lines till end-marker are visible.

Expected Behavior

All the lines till end-marker should collapse. But it does not do it that way.

Current Behavior

when you click the fold symbol in fold column, only first line collapses for multi-line comment or multi-line string in lua mode

Reproduction Steps

try these lua codes.

address = [[
ecr,
poonjeri
]]

--[[
nnbvbnvbn
vbnvbnvbn
bvnb
]]

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

web version, kitchen-sink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants