( bufnr )
| 178 | |
| 179 | |
| 180 | def GetBufferChangedTick( bufnr ): |
| 181 | try: |
| 182 | return GetIntValue( f'getbufvar({ bufnr }, "changedtick")' ) |
| 183 | except ValueError: |
| 184 | # For some reason, occasionally changedtick returns '' and causes an error. |
| 185 | # In that case, just return 0 rather than spamming an error to the console. |
| 186 | return 0 |
| 187 | |
| 188 | |
| 189 | # Returns a range covering the earliest and latest lines visible in the current |
nothing calls this directly
no test coverage detected