Permalink
Browse files

test, todo

  • Loading branch information...
1 parent bbf6e70 commit f4bfbb0b948ba7450e2a3ac32e18a6db98bb5d85 Tom Link committed Apr 10, 2010
Showing with 12 additions and 4 deletions.
  1. +7 −0 TODO_vimform.txt
  2. +5 −4 test/replace_gui.vim
View
@@ -0,0 +1,7 @@
+* TODO
+
+ #C GUI widget: Drop-down list
+
+
+% 2010-04-10; @Last Change: 2010-04-10.
+% vi: ft=viki:tw=72:ts=4
View
@@ -4,20 +4,21 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2008-07-16.
" @Last Change: 2010-04-10.
-" @Revision: 95
+" @Revision: 99
-let replace_form= vimform#SimpleForm()
+let replace_form = vimform#SimpleForm()
let replace_form.name = "Search & Replace"
let replace_form.fields = [
- \ ['Search'],
- \ ['Replace'],
+ \ ['Search', {'tooltip': 'A regular expression'}],
+ \ ['Replace', {'tooltip': 'The replacement expression'}],
\ ['--- Options'],
\ ['Replace all', {'value': 1, 'type': 'checkbox', 'return': {'1': 'g', '0': ''}}],
\ ['Case-sensitive', {'type': 'checkbox', 'return': {'1': 'I', '0': ''}}],
\ ['Confirm', {'value': 1, 'type': 'checkbox', 'return': {'1': 'c', '0': ''}}],
\ ['Ignore errors', {'type': 'checkbox', 'return': {'1': 'e', '0': ''}}],
\ ]
+
function! replace_form.Do_Submit() dict "{{{3
let search = self.values['Search']
if !empty(search)

0 comments on commit f4bfbb0

Please sign in to comment.