|
Karsten Hopp |
8c98fc |
To: vim-dev@vim.org
|
|
Karsten Hopp |
8c98fc |
Subject: Patch 7.1.224
|
|
Karsten Hopp |
8c98fc |
Fcc: outbox
|
|
Karsten Hopp |
8c98fc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8c98fc |
Mime-Version: 1.0
|
|
Karsten Hopp |
8c98fc |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
8c98fc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8c98fc |
------------
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
Patch 7.1.224
|
|
Karsten Hopp |
8c98fc |
Problem: When using "vim -F -o file1 file2" only one window is
|
|
Karsten Hopp |
8c98fc |
right-to-left. Same for "-H". (Ben Schmidt)
|
|
Karsten Hopp |
8c98fc |
Solution: use set_option_value() to set 'rightleft'.
|
|
Karsten Hopp |
8c98fc |
Files: src/main.c
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
*** ../vim-7.1.223/src/main.c Fri Jan 11 20:25:42 2008
|
|
Karsten Hopp |
8c98fc |
--- src/main.c Sun Jan 13 16:12:09 2008
|
|
Karsten Hopp |
8c98fc |
***************
|
|
Karsten Hopp |
8c98fc |
*** 1775,1781 ****
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
case 'F': /* "-F" start in Farsi mode: rl + fkmap set */
|
|
Karsten Hopp |
8c98fc |
#ifdef FEAT_FKMAP
|
|
Karsten Hopp |
8c98fc |
! curwin->w_p_rl = p_fkmap = TRUE;
|
|
Karsten Hopp |
8c98fc |
#else
|
|
Karsten Hopp |
8c98fc |
mch_errmsg(_(e_nofarsi));
|
|
Karsten Hopp |
8c98fc |
mch_exit(2);
|
|
Karsten Hopp |
8c98fc |
--- 1775,1782 ----
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
case 'F': /* "-F" start in Farsi mode: rl + fkmap set */
|
|
Karsten Hopp |
8c98fc |
#ifdef FEAT_FKMAP
|
|
Karsten Hopp |
8c98fc |
! p_fkmap = TRUE;
|
|
Karsten Hopp |
8c98fc |
! set_option_value((char_u *)"rl", 1L, NULL, 0);
|
|
Karsten Hopp |
8c98fc |
#else
|
|
Karsten Hopp |
8c98fc |
mch_errmsg(_(e_nofarsi));
|
|
Karsten Hopp |
8c98fc |
mch_exit(2);
|
|
Karsten Hopp |
8c98fc |
***************
|
|
Karsten Hopp |
8c98fc |
*** 1792,1798 ****
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
case 'H': /* "-H" start in Hebrew mode: rl + hkmap set */
|
|
Karsten Hopp |
8c98fc |
#ifdef FEAT_RIGHTLEFT
|
|
Karsten Hopp |
8c98fc |
! curwin->w_p_rl = p_hkmap = TRUE;
|
|
Karsten Hopp |
8c98fc |
#else
|
|
Karsten Hopp |
8c98fc |
mch_errmsg(_(e_nohebrew));
|
|
Karsten Hopp |
8c98fc |
mch_exit(2);
|
|
Karsten Hopp |
8c98fc |
--- 1793,1800 ----
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
case 'H': /* "-H" start in Hebrew mode: rl + hkmap set */
|
|
Karsten Hopp |
8c98fc |
#ifdef FEAT_RIGHTLEFT
|
|
Karsten Hopp |
8c98fc |
! p_hkmap = TRUE;
|
|
Karsten Hopp |
8c98fc |
! set_option_value((char_u *)"rl", 1L, NULL, 0);
|
|
Karsten Hopp |
8c98fc |
#else
|
|
Karsten Hopp |
8c98fc |
mch_errmsg(_(e_nohebrew));
|
|
Karsten Hopp |
8c98fc |
mch_exit(2);
|
|
Karsten Hopp |
8c98fc |
*** ../vim-7.1.223/src/version.c Sun Jan 13 13:53:30 2008
|
|
Karsten Hopp |
8c98fc |
--- src/version.c Sun Jan 13 16:15:49 2008
|
|
Karsten Hopp |
8c98fc |
***************
|
|
Karsten Hopp |
8c98fc |
*** 668,669 ****
|
|
Karsten Hopp |
8c98fc |
--- 668,671 ----
|
|
Karsten Hopp |
8c98fc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8c98fc |
+ /**/
|
|
Karsten Hopp |
8c98fc |
+ 224,
|
|
Karsten Hopp |
8c98fc |
/**/
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
--
|
|
Karsten Hopp |
8c98fc |
LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall?
|
|
Karsten Hopp |
8c98fc |
ARTHUR: No, that's Saint Ives.
|
|
Karsten Hopp |
8c98fc |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
8c98fc |
|
|
Karsten Hopp |
8c98fc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8c98fc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8c98fc |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
8c98fc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|