Commit Graph

507 Commits

Author SHA1 Message Date
Kim Silkebækken
1864b1d3fd Improve exception handling 2011-03-29 17:04:19 +02:00
Kim Silkebækken
fea0d68d5a Improve visual selection handling 2011-03-29 17:03:46 +02:00
Kim Silkebækken
b70c94403d Use correct buffer name in VarReset 2011-03-29 17:01:47 +02:00
Kim Silkebækken
6d382e33ed Update docs 2011-03-29 15:40:20 +02:00
Kim Silkebækken
05a3fdac64 Remove stray commas 2011-03-29 15:39:25 +02:00
Kim Silkebækken
70337fcda4 Merge branch 'release/1.0.6' into develop
* release/1.0.6:
  Bump version
  Update author and source information
2011-03-29 14:10:42 +02:00
Kim Silkebækken
c58f0b7698 Merge branch 'release/1.0.6'
* release/1.0.6:
  Bump version
  Update author and source information
2011-03-29 14:10:24 +02:00
Kim Silkebækken
8d0e79798a Bump version 2011-03-29 14:10:13 +02:00
Kim Silkebækken
36e390e76f Update author and source information 2011-03-29 14:10:00 +02:00
Kim Silkebækken
efef3b2654 Merge branch 'release/1.0.5' into develop
* release/1.0.5:
  Bump version
2011-03-29 09:12:18 +02:00
Kim Silkebækken
2f4a5912fd Merge branch 'release/1.0.5'
* release/1.0.5:
  Bump version
  Restore visual selection when cancelling F/T motions
  Create function for setting default highlighting
  Fix variable name issue
  Create function for initializing options
  Use s: instead of <SID>
2011-03-29 09:12:10 +02:00
Kim Silkebækken
7d809322d3 Bump version 2011-03-29 09:12:00 +02:00
Kim Silkebækken
8e2c92d00c Restore visual selection when cancelling F/T motions 2011-03-29 09:10:52 +02:00
Kim Silkebækken
40f21fdc3a Create function for setting default highlighting 2011-03-29 08:58:00 +02:00
Kim Silkebækken
6b58e2ce2b Fix variable name issue 2011-03-29 08:48:23 +02:00
Kim Silkebækken
c3d3d0f3d5 Create function for initializing options 2011-03-29 08:47:59 +02:00
Kim Silkebækken
1d263a8a99 Use s: instead of <SID> 2011-03-29 08:25:44 +02:00
Kim Silkebækken
c9a8419523 Merge branch 'hotfix/1.0.4.1' into develop
* hotfix/1.0.4.1:
  Bump version
  Improve exception handling for get_char()
  Verify that shade_hl_id is set to prevent error message
2011-03-28 23:36:25 +02:00
Kim Silkebækken
6b8de708f1 Merge branch 'hotfix/1.0.4.1'
* hotfix/1.0.4.1:
  Bump version
  Improve exception handling for get_char()
  Verify that shade_hl_id is set to prevent error message
2011-03-28 23:36:18 +02:00
Kim Silkebækken
cc02668fdf Bump version 2011-03-28 23:35:49 +02:00
Kim Silkebækken
120b0bab88 Improve exception handling for get_char() 2011-03-28 23:35:27 +02:00
Kim Silkebækken
a29f73d812 Verify that shade_hl_id is set to prevent error message 2011-03-28 23:24:00 +02:00
Kim Silkebækken
111dfda936 Merge branch 'release/1.0.4' into develop
* release/1.0.4:
  Update version
2011-03-28 22:58:54 +02:00
Kim Silkebækken
f26366baab Merge branch 'release/1.0.4'
* release/1.0.4:
  Update version
  Reorder function parameters for a more consistent API
  Use "normal gv" to restore visual selection
  Refactor try/catch blocks
  Make visualmode parameter required for motion functions
  Update default syntax highlighting
  Create function for updating lines
2011-03-28 22:58:50 +02:00
Kim Silkebækken
7e8a5e74f7 Update version 2011-03-28 22:58:38 +02:00
Kim Silkebækken
f586b2460e Reorder function parameters for a more consistent API 2011-03-28 22:57:39 +02:00
Kim Silkebækken
7948d6ca47 Use "normal gv" to restore visual selection 2011-03-28 22:46:32 +02:00
Kim Silkebækken
49a4795a86 Refactor try/catch blocks 2011-03-28 22:46:02 +02:00
Kim Silkebækken
ebb93269cf Make visualmode parameter required for motion functions 2011-03-28 22:30:28 +02:00
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
81e889f909 Merge branch 'release/1.0.3' into develop
* release/1.0.3:
  Update version
2011-03-28 17:51:18 +02:00
Kim Silkebækken
f2de1ee8fe Merge branch 'release/1.0.3'
* release/1.0.3:
  Update version
  Wrap the main function in a try..catch..finally loop
  Create function for resetting/restoring variables
  Store and restore scrolloff value
2011-03-28 17:51:14 +02:00
Kim Silkebækken
e6ca4c6cc3 Update version 2011-03-28 17:51:03 +02:00
Kim Silkebækken
72dfd55cd1 Merge branch 'feature/var-reset' into develop
* feature/var-reset:
  Wrap the main function in a try..catch..finally loop
  Create function for resetting/restoring variables
2011-03-28 17:49:42 +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
07a20e382d Merge branch 'hotfix/1.0.2.1' into develop
* hotfix/1.0.2.1:
  Update version
  Add README file
2011-03-28 12:54:43 +02:00
Kim Silkebækken
08746b4038 Merge branch 'hotfix/1.0.2.1'
* hotfix/1.0.2.1:
  Update version
  Add README file
2011-03-28 12:54:37 +02:00
Kim Silkebækken
9efc775791 Update version 2011-03-28 12:54:25 +02:00
Kim Silkebækken
3a7d52214f Add README file 2011-03-28 12:54:03 +02:00
Kim Silkebækken
e6a624dae1 Merge branch 'release/1.0.2' into develop
* release/1.0.2:
  Update docs
2011-03-28 12:05:45 +02:00
Kim Silkebækken
a42170a103 Merge branch 'release/1.0.2'
* release/1.0.2:
  Update docs
  Add docs
2011-03-28 12:05:39 +02:00
Kim Silkebækken
8933340d24 Update docs 2011-03-28 12:05:30 +02:00
Kim Silkebækken
22186cca6e Add docs 2011-03-28 12:04:43 +02:00
Kim Silkebækken
4d6903a33a Merge branch 'release/1.0.1' into develop
* release/1.0.1:
  Update comment header
  Make the motions work in visual mode
  Use substitute() for markers, works better with Unicode
2011-03-28 10:18:21 +02:00
Kim Silkebækken
cfe3b07843 Merge branch 'release/1.0.1'
* release/1.0.1:
  Update comment header
  Make the motions work in visual mode
  Use substitute() for markers, works better with Unicode
  Use setpos() to set cursor position
  Update shade regexps
  Update comments
  Simplify grouping of marker lines
2011-03-28 10:18:11 +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