SpacesToTabs replaces tabs with spaces over given region; end is *exclusive*
(start, end int)
| 934 | |
| 935 | // SpacesToTabs replaces tabs with spaces over given region; end is *exclusive* |
| 936 | func (tb *Buffer) SpacesToTabs(start, end int) { |
| 937 | autoSave := tb.batchUpdateStart() |
| 938 | defer tb.batchUpdateEnd(autoSave) |
| 939 | tb.Lines.SpacesToTabs(start, end) |
| 940 | tb.signalMods() |
| 941 | } |
| 942 | |
| 943 | // DiffBuffersUnified computes the diff between this buffer and the other buffer, |
| 944 | // returning a unified diff with given amount of context (default of 3 will be |
no test coverage detected