]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.224
- typo
[packages/vim.git] / 7.1.224
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.224
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.224
11 Problem:    When using "vim -F -o file1 file2" only one window is
12             right-to-left.  Same for "-H".  (Ben Schmidt)
13 Solution:   use set_option_value() to set 'rightleft'.
14 Files:      src/main.c
15
16
17 *** ../vim-7.1.223/src/main.c   Fri Jan 11 20:25:42 2008
18 --- src/main.c  Sun Jan 13 16:12:09 2008
19 ***************
20 *** 1775,1781 ****
21   
22             case 'F':           /* "-F" start in Farsi mode: rl + fkmap set */
23   #ifdef FEAT_FKMAP
24 !               curwin->w_p_rl = p_fkmap = TRUE;
25   #else
26                 mch_errmsg(_(e_nofarsi));
27                 mch_exit(2);
28 --- 1775,1782 ----
29   
30             case 'F':           /* "-F" start in Farsi mode: rl + fkmap set */
31   #ifdef FEAT_FKMAP
32 !               p_fkmap = TRUE;
33 !               set_option_value((char_u *)"rl", 1L, NULL, 0);
34   #else
35                 mch_errmsg(_(e_nofarsi));
36                 mch_exit(2);
37 ***************
38 *** 1792,1798 ****
39   
40             case 'H':           /* "-H" start in Hebrew mode: rl + hkmap set */
41   #ifdef FEAT_RIGHTLEFT
42 !               curwin->w_p_rl = p_hkmap = TRUE;
43   #else
44                 mch_errmsg(_(e_nohebrew));
45                 mch_exit(2);
46 --- 1793,1800 ----
47   
48             case 'H':           /* "-H" start in Hebrew mode: rl + hkmap set */
49   #ifdef FEAT_RIGHTLEFT
50 !               p_hkmap = TRUE;
51 !               set_option_value((char_u *)"rl", 1L, NULL, 0);
52   #else
53                 mch_errmsg(_(e_nohebrew));
54                 mch_exit(2);
55 *** ../vim-7.1.223/src/version.c        Sun Jan 13 13:53:30 2008
56 --- src/version.c       Sun Jan 13 16:15:49 2008
57 ***************
58 *** 668,669 ****
59 --- 668,671 ----
60   {   /* Add new patch number below this line */
61 + /**/
62 +     224,
63   /**/
64
65 -- 
66 LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall?
67 ARTHUR:    No, that's Saint Ives.
68                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
69
70  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
71 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
72 \\\        download, build and distribute -- http://www.A-A-P.org        ///
73  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.158666 seconds and 3 git commands to generate.