Commit Graph

15 Commits

Author SHA1 Message Date
Kim Silkebækken
becf71b5ad Update default syntax highlighting 2011-03-28 22:02:43 +02:00
Kim Silkebækken
1c1130bfe4 Create function for updating lines 2011-03-28 18:04:56 +02:00
Kim Silkebækken
a5119b9981 Wrap the main function in a try..catch..finally loop
The script throws exceptions when cancelled or when there's no matches.
The catch block displays the message and restores the cursor position.
The finally block restores buffer properties.
2011-03-28 17:48:09 +02:00
Kim Silkebækken
99afbc1b88 Create function for resetting/restoring variables 2011-03-28 17:47:13 +02:00
Kim Silkebækken
98384b9e49 Store and restore scrolloff value
Having &scrolloff > 0 caused an issue where backwards searches would
scroll during the searchpos() call and hide parts of the buffer. This
fix temporarily sets scrolloff to 0 during function execution.
2011-03-28 16:45:57 +02:00
Kim Silkebækken
8933340d24 Update docs 2011-03-28 12:05:30 +02:00
Kim Silkebækken
c1c4444e58 Update comment header 2011-03-28 10:18:00 +02:00
Kim Silkebækken
99dfdfb732 Make the motions work in visual mode 2011-03-28 10:14:51 +02:00
Kim Silkebækken
a4689e85ec Use substitute() for markers, works better with Unicode 2011-03-28 10:12:08 +02:00
Kim Silkebækken
ed55a301e0 Use setpos() to set cursor position 2011-03-28 09:05:10 +02:00
Kim Silkebækken
8f19f49f46 Update shade regexps 2011-03-28 09:04:57 +02:00
Kim Silkebækken
0bcb81a5f3 Update comments 2011-03-28 09:04:22 +02:00
Kim Silkebækken
66010ff2a6 Simplify grouping of marker lines 2011-03-28 09:03:49 +02:00
Kim Silkebækken
2ccfe05430 Skip folded lines 2011-03-28 00:22:40 +02:00
Kim Silkebækken
386eb49f23 Initial commit 2011-03-28 00:08:06 +02:00