]> git.lyx.org Git - features.git/commitdiff
configure.py: Make 'notepad' last in text editor list
authorGünter Milde <milde@lyx.org>
Thu, 12 Jan 2017 14:35:24 +0000 (15:35 +0100)
committerGünter Milde <milde@lyx.org>
Thu, 12 Jan 2017 15:08:03 +0000 (16:08 +0100)
Place "notepad" at the end of the text editor selection list.

* Under Linux, notepad comes with the Windows emulator "wine"
but it is not a good choice for the default text editor.
 * Most Windows users will not have the Linux programs
and not see any change.
* Windows users with the Windows version of "geany"
will see this (syntax highlighting) editor preferred over notepad by default.

lib/configure.py

index 0b4f57f1cfcb57333c2ebf1bd744a43e9d025bde..8b502c5d9bacfdd76ea22efdbe4e0af4cd2415a1 100644 (file)
@@ -628,8 +628,7 @@ def checkFormatEntries(dtl_tools):
     #
     checkViewerEditor('a text editor',
         ['xemacs', 'gvim', 'kedit', 'kwrite', 'kate',
-         'nedit', 'gedit', 'notepad',
-         'geany', 'leafpad', 'mousepad', 'xed'],
+         'nedit', 'gedit', 'geany', 'leafpad', 'mousepad', 'xed', 'notepad'],
         rc_entry = [r'''\Format asciichess asc    "Plain text (chess output)"  "" ""   "%%"    ""      ""
 \Format docbook    sgml    DocBook                B  ""        "%%"    "document,menu=export"  ""
 \Format docbook-xml xml   "DocBook (XML)"         "" ""        "%%"    "document,menu=export"  "application/docbook+xml"