]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0729: the rightleft and arabic features are disabled v9.0.0729
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 10:12:49 +0000 (11:12 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 10:12:49 +0000 (11:12 +0100)
Problem:    The rightleft and arabic features are disabled.
Solution:   Re-enable the features, some users want to use the functionality.

runtime/doc/rileft.txt
src/feature.h
src/version.c

index 7c5a60a5ae2dbe417b8bad14608e8613645d65fe..31a382b6c5b9fa5dd7e13243837d2da50e86ae55 100644 (file)
@@ -35,6 +35,11 @@ encoded for every character (or group of characters) are not supported either
 as this kind of support is out of the scope of a simple addition to an
 existing editor (and it's not sanctioned by Unicode either).
 
+As many people working on the code do not use the right-to-left mode, this
+feature may not work in some situations.  If you can describe what is wrong
+and how it would work when fixed, please create an issue on github, see
+|bug-reports|.
+
 
 Highlights
 ----------
index b283e63058ca751e5508a763b382b7cd3b22d8c7..275fbe397c9f5b4659e84622f67ce63c857c67e8 100644 (file)
 #endif
 
 /*
- * +linebreak          'showbreak', 'breakat'  and 'linebreak' options.
+ * +linebreak          'showbreak', 'breakat' and 'linebreak' options.
  *                     Also 'numberwidth'.
  */
 #ifdef FEAT_NORMAL
 
 /*
  * +rightleft          Right-to-left editing/typing support.
+ *                     Note that this isn't perfect, but enough users say they
+ *                     use it to keep supporting it.
  */
 #if defined(FEAT_HUGE) && !defined(DISABLE_RIGHTLEFT)
 # define FEAT_RIGHTLEFT
 # endif
 #endif
 
-// It is unclear if there are any users of the +rightleft and +arabic fetures.
-// The lack of feedback and bug reports suggests that they are not actively
-// being used.
-// FOR NOW: disable the features here.  If nobody complains the code can be
-// removed.
-#ifdef FEAT_RIGHTLEFT
-# undef FEAT_RIGHTLEFT
-#endif
-#ifdef FEAT_ARABIC
-# undef FEAT_ARABIC
-#endif
-
 /*
  * +emacs_tags         When FEAT_EMACS_TAGS defined: Include support for
  *                     emacs style TAGS file.
index 0a8eb005bccc2c9c87506e10462a3636384ea6f9..3413d52d6fe60be820e830e29122f7b5c246e27e 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    729,
 /**/
     728,
 /**/