Reset change_count and force writing the view cache file. The view content is written to a temporary file for use with git diff, if the view.change_count() has changed. This method forces the update on the next call of update_view_file().
(self)
| 81 | return self._text |
| 82 | |
| 83 | def invalidate(self): |
| 84 | """Reset change_count and force writing the view cache file. |
| 85 | |
| 86 | The view content is written to a temporary file for use with git diff, |
| 87 | if the view.change_count() has changed. This method forces the update |
| 88 | on the next call of update_view_file(). |
| 89 | """ |
| 90 | self._change_count = -1 |
| 91 | self._size = None |
| 92 | self._text = None |
| 93 | |
| 94 | def is_changed(self): |
| 95 | """Check whether the content of the view changed.""" |
no outgoing calls
no test coverage detected