AutoIndentRegion does auto-indent over given region; end is *exclusive*
(start, end int)
| 900 | |
| 901 | // AutoIndentRegion does auto-indent over given region; end is *exclusive* |
| 902 | func (tb *Buffer) AutoIndentRegion(start, end int) { |
| 903 | autoSave := tb.batchUpdateStart() |
| 904 | defer tb.batchUpdateEnd(autoSave) |
| 905 | tb.Lines.AutoIndentRegion(start, end) |
| 906 | tb.signalMods() |
| 907 | } |
| 908 | |
| 909 | // CommentRegion inserts comment marker on given lines; end is *exclusive* |
| 910 | func (tb *Buffer) CommentRegion(start, end int) { |
nothing calls this directly
no test coverage detected