Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bugs 19951, 8228 ]] Line continuation formatting #1726

Merged

Conversation

montegoulding
Copy link
Member

This patch fixes a number of edge cases where line continuations were no
being formatted correctly. These were largely where a control structure
was being continued over multiple lines. In one case the addition of a
comment after a line continuation char caused poor formatting.

@montegoulding montegoulding added this to the 8.2.0-dp-1 milestone Sep 8, 2017
This patch fixes a number of edge cases where line continuations were no
being formatted correctly. These were largely where a control structure
was being continued over multiple lines. In one case the addition of a
comment after a line continuation char caused poor formatting.
@montegoulding
Copy link
Member Author

@livecodeali as discussed I have added an indentation test harness to this PR

put " " before line tIndex of tResult
end if
end repeat
TestDiagnostic tResult
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would have been nice to use the diff library here. I guess we could add it in develop.

@livecodeali
Copy link
Member

@livecode-vulcan review ok 6193589
Cool :-D

@livecode-vulcan
Copy link

💙 review by @livecodeali ok 6193589

@livecodepanos livecodepanos merged commit fa977a7 into livecode:develop-8.2 Sep 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants