Update the cursor blink configuration.
(self)
| 820 | text.see(pos) |
| 821 | |
| 822 | def update_cursor_blink(self): |
| 823 | "Update the cursor blink configuration." |
| 824 | cursorblink = idleConf.GetOption( |
| 825 | 'main', 'EditorWindow', 'cursor-blink', type='bool') |
| 826 | if not cursorblink: |
| 827 | self.text['insertofftime'] = 0 |
| 828 | else: |
| 829 | # Restore the original value |
| 830 | self.text['insertofftime'] = idleConf.blink_off_time |
| 831 | |
| 832 | def ResetFont(self): |
| 833 | "Update the text widgets' font if it is changed" |
no test coverage detected