Permalink
Browse files

Form demo now open in tab.

Fixed dotvimviewer demo to display '.vim' dir.
  • Loading branch information...
1 parent df292ff commit e7db48a366e7531af46ba4ddf7fe0bf4175b1720 megaannum committed Nov 21, 2012
Showing with 9 additions and 5 deletions.
  1. +1 −1 autoload/forms.vim
  2. +5 −1 autoload/forms/example/demo.vim
  3. +0 −3 autoload/forms/example/dotvimviewer.vim
  4. +3 −0 doc/forms.txt
View
@@ -6,7 +6,7 @@
" Summary: Vim Form Library
" Author: Richard Emberson <richard.n.embersonATgmailDOTcom>
" Last Modified: 2012
-" Version: 1.20
+" Version: 1.21
" Modifications:
" 1.0 : initial public release.
"
@@ -321,7 +321,11 @@ function! forms#example#demo#Make()
let b = forms#newBorder({ 'body': vpoly })
let b = forms#newBox({ 'body': b })
let bg = forms#newBackground({ 'body': b} )
- let form = forms#newForm({'body': bg })
+
+ let attrs = { 'open_in_tab': 1,
+ \ 'body': bg
+ \ }
+ let form = forms#newForm(attrs)
call form.run()
endfunction
@@ -6,8 +6,6 @@ function! s:FnameEscape(fname)
endfunc
function! s:GetVimHome()
- return '/home/emberson/.vim/data/vimside'
-if 0
if has("win32") || has("dos32") || has("dos16") || has("os2")
if $HOME != ''
let fname = $HOME . "/_viminfo"
@@ -20,7 +18,6 @@ if 0
let fname = s:FnameEscape(fname)
return fname
-endif
endfunction
View
@@ -1062,6 +1062,9 @@ and popup menus. The code is located in 'autoload/forms/menu.vim'.
==============================================================================
12. Release notes *forms-release-notes*
+1.21 - Fix: ~
+ Form demo now open in tab.
+ Fixed dotvimviewer demo to display '.vim' dir.
1.20 - Fix: ~
Forms Label checks that 'text' is String or Number.
Add 'hide' method to SelectList to clear selection item highlight.

0 comments on commit e7db48a

Please sign in to comment.