Re: [Vim-latex-devel] VEnclose and ignorecase

2011-02-14 Thread Till Maas
On Sun, Feb 13, 2011 at 10:49:22PM +0100, Philipp Hartwig wrote:

 the function VEnclose of the imaps plugin uses the test
   if (visualmode() == 'v'  (a:vstart != '' || a:vend != '')) || 
 (a:VStart == ''  a:VEnd == '')
 to determine if characterwise or linewise selection was used. However if 
 a user has set ignorecase the operator == is case-insensitive and 
 hence
 visualmode() == 'v'
 will always be true.
 
 Using ==# instead of == fixes this.

Thank you, this has been fixed in a recent git commit.

Regards
Till

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel


[Vim-latex-devel] VEnclose and ignorecase

2011-02-13 Thread Philipp Hartwig
Hello,

the function VEnclose of the imaps plugin uses the test
if (visualmode() == 'v'  (a:vstart != '' || a:vend != '')) || 
(a:VStart == ''  a:VEnd == '')
to determine if characterwise or linewise selection was used. However if 
a user has set ignorecase the operator == is case-insensitive and 
hence
visualmode() == 'v'
will always be true.

Using ==# instead of == fixes this.

Regards, 
Philipp


smime.p7s
Description: S/MIME cryptographic signature
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel