Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Checkin error, fix tab and read-only issues.

  • Loading branch information...
commit 2889b47ab5bfa4149db3ea89a14e9a3625e97d0d 1 parent 7f25aba
megaannum authored
Showing with 9 additions and 6 deletions.
  1. +6 −5 autoload/forms.vim
  2. +3 −1 doc/forms.txt
View
11 autoload/forms.vim
@@ -6,7 +6,7 @@
" Summary: Vim Form Library
" Author: Richard Emberson <richard.n.embersonATgmailDOTcom>
" Last Modified: 10/5/2012
-" Version: 1.14
+" Version: 1.15
" Modifications:
" 1.0 : initial public release.
"
@@ -9827,18 +9827,19 @@ while cnt < l:nosLinesToSave
endif
else
let pos = l:lineStartOfFormBuffer + cnt
- execute pos
+"call forms#logforce("g:forms#Form pos=".pos)
+ execute ":normal " . pos . "G"
let ccnt = 0
let pchars = 0
while ccnt < len
let c = line[ccnt]
if c == "\<Tab>"
let nspaces = ts - (pchars % ts)
-" call forms#logforce("g:forms#Form cnt=".cnt.", ccnt=".ccnt.", nspaces=" . nspaces)
+"call forms#logforce("g:forms#Form cnt=".cnt.", ccnt=".ccnt.", pchars=".pchars.", nspaces=" . nspaces)
if ccnt == 0
- execute ":normal X" . nspaces . 'i '
+ execute ":normal 0x" . nspaces . 'i '
else
- execute ":normal 0" .(pchars+1). " X" . nspaces . 'i '
+ execute ":normal 0" .(pchars). " x" . nspaces . 'i '
endif
let pchars += nspaces
else
View
4 doc/forms.txt
@@ -1,7 +1,7 @@
*forms.txt* For Vim version 7.3 Last change: 2012 Oct 9
Author: Richard Emberson
-Version: 1.14
+Version: 1.15
Title: Forms Library
Homepage: TODO
@@ -1058,6 +1058,8 @@ and popup menus. The code is located in 'autoload/forms/menu.vim'.
==============================================================================
12. Release notes *forms-release-notes*
+1.15 - Fix: ~
+ Second try, fixed both Tab and read-only page display.
1.14 - Fix: ~
Fixed both Tab and read-only page display.
1.13 - Fix: ~
Please sign in to comment.
Something went wrong with that request. Please try again.