You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if I manually wrap text in a comment, it does not handle the fact that it's in a comment. For example, with fill-column set to 10:
/** * This is a really long test with fill-column set to 10.*/classFoo : Bar() {
}
wraps to:
/** * Thisis areallylong testwithfill-columnset to 10.*/classFoo:Bar() { }
But I would expect it to wrap to:
/** * This is * a * really * long * test * with * fill-column * set to * 10.*/classFoo : Bar() {
}
That is, not wrap the code outside of the column, and to match the comment prefix asterisk. This is the behavior that java-mode exhibits. I've started looking at how java-mode handles this, but it's getting complicated quickly. I tried following what it's doing and set:
I noticed that if I manually wrap text in a comment, it does not handle the fact that it's in a comment. For example, with
fill-column
set to 10:wraps to:
But I would expect it to wrap to:
That is, not wrap the code outside of the column, and to match the comment prefix asterisk. This is the behavior that
java-mode
exhibits. I've started looking at how java-mode handles this, but it's getting complicated quickly. I tried following what it's doing and set:But that doesn't work properly. I'm happy to help if someone can give me pointers on where to look.
The text was updated successfully, but these errors were encountered: