Mercurial > vim
view src/testdir/test_short_sleep.py @ 18025:d19caa851682 v8.1.2008
patch 8.1.2008: error for invalid range when using listener and undo
Commit: https://github.com/vim/vim/commit/4544bd2f247425c9dd743c76618dd70f53c72538
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 8 15:27:21 2019 +0200
patch 8.1.2008: error for invalid range when using listener and undo
Problem: Error for invalid range when using listener and undo. (Paul Jolly)
Solution: Do not change the cursor before the lines are restored.
(closes #4908)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Sep 2019 15:30:04 +0200 |
parents | 191ccece2f5d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that sleeps for 100 msec # # This requires Python 2.6 or later. import time if __name__ == "__main__": time.sleep(0.1) # sleep 100 msec