-
Notifications
You must be signed in to change notification settings - Fork 5
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
Request: Keep comments/formatting? #31
Comments
Comments are now kept. |
Cool that was a lot of work it seems.
then hitting submit, we get this:
The comments get appended to the end of the (sometimes very long) layer.
So is it possible to keep the comments in place where they were? Additionally, now it's not allowing isolation of arguments in the right hand column. |
The easy thing to do is just to always put the comments before the layer. |
There are probably still things that needs fixing, but comments are now handled in a more sane way I think. |
Looking good!
becomes
|
Another thing I found is if there are 2 comments an 2 consecutive lines that are not meant to go together, but happen to be a newline situation, they get grouped and both moved to the beginning of the layer. |
Comments are assumed to belong to some code, usually the next code. |
Agreed. The oddball case is something like commenting the end of a section, like EffectSequence< EFFECT, first thing,
second thing,
third thing> // end EffectSequence
// This is the Clash layer
ResponsiveClashL<White,TrInstant,TrFade<200>,Int<26000>>, |
Interesting point. Gradient< But if the final > is before the last comment, like: Gradient< Then it doesn't work, at least not as currently written. |
Currently, when clicking on the right hand column, the style box gets formatted to the bare minimum of that structure
(which is good usually!)
Is there a way to have something like a toggle button "Preserve formatting" that would lock the edit area and allow comments and indentations to remain in the left side style box?
The text was updated successfully, but these errors were encountered: