Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom committed Nov 28, 2010
1 parent b6d8e4f commit 2267c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
6 changes: 2 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
*vimform.txt* Simple text-based forms for vim

Example: >

let form = vimform#New()
Expand All @@ -8,9 +6,9 @@ Example: >
\ ['Name'],
\ ['Address', {'join': "\n"}],
\ ['Planet', {'value': 'Earth'}],
\ ['Phone', {'validate': '%%s =~ ''^[0-9()+-]*$''',
\ ['Phone', {'validate': '%s =~ ''^[0-9()+-]*$''',
\ 'message': 'Must be a phone number'}],
\ ['E-Mail', {'validate': '%%s =~ ''^\([a-zA-Z.]\+@[a-zA-Z]\+\.[a-zA-Z.]\+\)\?$''',
\ ['E-Mail', {'validate': '%s =~ ''^\([a-zA-Z.]\+@[a-zA-Z]\+\.[a-zA-Z.]\+\)\?$''',
\ 'message': 'Must be an e-mail'}],
\ ['Private', {'value': 0, 'type': 'checkbox'}],
\ ['Business', {'value': 1, 'type': 'checkbox'}],
Expand Down
46 changes: 0 additions & 46 deletions doc/vimform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,8 @@ g:vimform#prototype (default: {...})
g:vimform#widgets (default: {})



Show the form in a split window.


g:vimform#prototype#Show(?cmd = "split")
Show the form.
cmd should create a new buffer. By default, the new buffer will be
Expand Down Expand Up @@ -266,43 +264,30 @@ vimform#forms#substitute#ValidateSubst(str)
========================================================================
autoload/vimform/widget.vim~


prototype.FormatLabel


prototype.Format


prototype.GetFieldValue


prototype.SelectField


prototype.GetValidate


prototype.SetCursorMoved


prototype.GetPumKey


prototype.GetSpecialInsertKey


prototype.GetSpecialKey


prototype.GetKey


prototype.Key_dd


prototype.Key_BS


prototype.Key_DEL

*vimform#widget#New()*
Expand All @@ -312,37 +297,26 @@ vimform#widget#New()
========================================================================
autoload/vimform/widgets/checkbox.vim~


prototype.Format


prototype.GetFieldValue


prototype.SelectField


prototype.SetCursorMoved


prototype.GetPumKey


prototype.GetSpecialInsertKey


prototype.GetSpecialKey


prototype.GetKey


prototype.Key_dd


prototype.Key_BS


prototype.Key_DEL


Expand All @@ -355,78 +329,58 @@ vimform#widgets#file#Complete(findstart, base)
*vimform#widgets#file#Validate()*
vimform#widgets#file#Validate(file)


prototype.Format


prototype.GetFieldValue


prototype.GetSpecialKey


prototype.GetSpecialKey
TLogVAR a:name, a:key
let dir = get(self, 'cd', expand('%:h'))
TLOgVAR file


prototype.GetSpecialInsertKey


prototype.Key_dd


========================================================================
autoload/vimform/widgets/singlechoice.vim~


prototype.GetValidate


prototype.SetCursorMoved


prototype.GetPumKey


prototype.GetSpecialInsertKey


prototype.GetSpecialKey


prototype.GetKey


prototype.Key_dd


prototype.Key_BS


prototype.Key_DEL


========================================================================
autoload/vimform/widgets/dir.vim~


prototype.Format


prototype.GetFieldValue


prototype.GetSpecialKey


prototype.GetSpecialKey
TLogVAR a:name, a:key
let dir = get(self, 'cd', expand('%:h'))
TLOgVAR dir


prototype.Key_dd


Expand Down

0 comments on commit 2267c96

Please sign in to comment.