From c8d8d9e99559b6f7a40adfd5ca3996c2cb21736e Mon Sep 17 00:00:00 2001 From: alterdepp Date: Mon, 29 Aug 2011 07:46:39 +0000 Subject: [PATCH] Bugfix hex.vim, paf.vim git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@208 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69 --- vimfiles.stefan/ftplugin/hex.vim | 2 +- vimfiles.stefan/ftplugin/paf.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vimfiles.stefan/ftplugin/hex.vim b/vimfiles.stefan/ftplugin/hex.vim index f441012..4267ac0 100644 --- a/vimfiles.stefan/ftplugin/hex.vim +++ b/vimfiles.stefan/ftplugin/hex.vim @@ -102,7 +102,7 @@ function! s:HexGetAsciiLine() catch let String = '?' endtry - return String + return strtrans(String) endfunction " Get value of current data under cursor for a:Bytes diff --git a/vimfiles.stefan/ftplugin/paf.vim b/vimfiles.stefan/ftplugin/paf.vim index 1799c97..9ef0485 100644 --- a/vimfiles.stefan/ftplugin/paf.vim +++ b/vimfiles.stefan/ftplugin/paf.vim @@ -1,6 +1,6 @@ " Adresse der aktuellen Zeile berechnen und in der Statusline anzeigen -command PafGetAddress! call PafGetAddress() +command! PafGetAddress call PafGetAddress() function! PafGetAddress() let RE = ':\x\{2}\x\{4}02\(\x\{4}\)\x\{2}' let line = search(RE, 'bcnW')