Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test, todo

  • Loading branch information...
commit f4bfbb0b948ba7450e2a3ac32e18a6db98bb5d85 1 parent bbf6e70
Tom Link authored
Showing with 12 additions and 4 deletions.
  1. +7 −0 TODO_vimform.txt
  2. +5 −4 test/replace_gui.vim
View
7 TODO_vimform.txt
@@ -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
9 test/replace_gui.vim
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.