Home | History | Annotate | Download | only in printer

Lines Matching full:closing

396 				// and is not part of closing a block
400 // if the next token is not a closing }, apply the unindent
403 // closing block and stop (this scenario appears with
490 // the opening /* and closing */ are aligned and the
493 // on the left, and cases where the closing */ is on the
505 // contain the opening /* and closing */ respectively) and
585 // Handle last line: If it only contains a closing */, align it
589 closing := "*/"
590 i := strings.Index(last, closing) // i >= 0 (closing is always present)
592 // last line only contains closing */
594 closing = " */" // add blank to align final star
596 lines[len(lines)-1] = prefix + closing
734 // follows on the same line but is not a comma, and not a "closing"
745 // before a closing '}' unless explicitly disabled, or at eof