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

Offset long lines of code instead of wrapping #134

Closed
stevenklise opened this issue Jul 30, 2012 · 3 comments
Closed

Offset long lines of code instead of wrapping #134

stevenklise opened this issue Jul 30, 2012 · 3 comments
Assignees

Comments

@stevenklise
Copy link
Collaborator

when a comment is present.

                                         This is the comment
this is the code;
@shiffman
Copy link
Collaborator

Looking through the text, it looks like to me that it would sometimes be best to have it above and sometimes below. So I might want to specify it. But not a big deal either way. . I can also see how it would be easier to just have it do this automatically.

@ghost ghost assigned stevenklise Jul 31, 2012
@stevenklise
Copy link
Collaborator Author

Usage:

//[offset-up] Here is a comment going up
PVector locationAfterSomethingHappened = new PVector(4.0, 8.9, 1.1);
//[offset-down] Here is a comment going down
PVector locationAfterSomethingHappened = new PVector(4.0, 8.9, 1.1);
int x = 0;
int y = 0;

Currently [offset-down] doesn't work in the HTML when it is the last line of a code block. Not sure why.

@stevenklise
Copy link
Collaborator Author

This is working better now. Addressed with commit 62a5903. I'm going to close this issue but leave issue #144 open.

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

No branches or pull requests

2 participants