livecode-ide icon indicating copy to clipboard operation
livecode-ide copied to clipboard

[Bug 4084] Multiline comments

Open montegoulding opened this issue 8 years ago • 7 comments

This PR depends on https://github.com/livecode/livecode/pull/4425

It provides support for leading whitespace within multiline comment blocks and some basic editing features (shift left | right, reindent) for when autoformat is disabled or within a multiline comment where it shouldn't apply.

montegoulding avatar Aug 27 '16 22:08 montegoulding

Is this also related to bug 4084?

peter-b avatar Aug 31 '16 11:08 peter-b

Yes to fix 4084 we need to detect if a line is a multi-line comment or not and we need the same for colorization I've just added an _internal command to get the comment nesting for the line but the colorization still isn't quite right

montegoulding avatar Aug 31 '16 12:08 montegoulding

Okay thanks. It would be great to get this fixed.

peter-b avatar Aug 31 '16 12:08 peter-b

it actually has the release note already

montegoulding avatar Aug 31 '16 12:08 montegoulding

@montegoulding Yes but I wanted to put it in the title so I can more easily see what I need to poke in BZ when it gets merged. ;-)

peter-b avatar Aug 31 '16 12:08 peter-b

yes sorry I started working on it then I searched BZ after to try and find related reports

montegoulding avatar Aug 31 '16 12:08 montegoulding

cleared the milestone because multiline comments detection needs more work

montegoulding avatar Feb 16 '17 06:02 montegoulding