(self, column)
| 1520 | # column logical (meaning use tabs if appropriate) spaces. |
| 1521 | |
| 1522 | def reindent_to(self, column): |
| 1523 | text = self.text |
| 1524 | text.undo_block_start() |
| 1525 | if text.compare("insert linestart", "!=", "insert"): |
| 1526 | text.delete("insert linestart", "insert") |
| 1527 | if column: |
| 1528 | text.insert("insert", self._make_blanks(column), |
| 1529 | self.user_input_insert_tags) |
| 1530 | text.undo_block_stop() |
| 1531 | |
| 1532 | # Guess indentwidth from text content. |
| 1533 | # Return guessed indentwidth. This should not be believed unless |
no test coverage detected