This commit is contained in:
Eugene Chornyi 2023-10-11 22:03:29 +02:00
parent c9c5a2a9d8
commit f1deb1c658
4 changed files with 37 additions and 4 deletions

View File

@ -2004,7 +2004,7 @@ if __name__ == '__main__':
lyx_check_config = True lyx_check_config = True
lyx_kpsewhich = True lyx_kpsewhich = True
outfile = 'lyxrc.defaults' outfile = 'lyxrc.defaults'
lyxrc_fileformat = 37 lyxrc_fileformat = 38
rc_entries = '' rc_entries = ''
lyx_keep_temps = False lyx_keep_temps = False
version_suffix = '' version_suffix = ''

View File

@ -1,5 +1,5 @@
#LyX 2.4 created this file. For more info see https://www.lyx.org/ #LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 618 \lyxformat 620
\begin_document \begin_document
\begin_header \begin_header
\save_transient_properties true \save_transient_properties true
@ -167,6 +167,7 @@ logicalmkup
\author 5863208 "ab" \author 5863208 "ab"
\author 5863344 "Enrico Forestieri" \author 5863344 "Enrico Forestieri"
\author 244031559 "Yuriy" \author 244031559 "Yuriy"
\author 258250489 "eugen"
\author 274215730 "scott" \author 274215730 "scott"
\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
\author 1064312605 "Udi Fogiel" \author 1064312605 "Udi Fogiel"
@ -58115,6 +58116,33 @@ literal "false"
\end_inset \end_inset
. .
\change_inserted 258250489 1697053558
\end_layout
\begin_layout Standard
\change_inserted 258250489 1697054388
\family sans
User
\begin_inset space ~
\end_inset
interface
\begin_inset space ~
\end_inset
style
\family default
allows you to change the look and feel of \SpecialChar LyX
's user interface control elements.
There may be different choices available on different operating systems.
On certain operating systems some styles may support dark mode while others don't.
In order to use dark mode in \SpecialChar LyX
you may first need to enable it in your system's settings.
\change_unchanged
\end_layout \end_layout
\begin_layout Subsubsection \begin_layout Subsubsection

View File

@ -168,6 +168,10 @@
# Add \screen_width # Add \screen_width
# Add \screen_limit # Add \screen_limit
# Incremented to format 38, by ec
# Add option to configure ui style
# No conversion necessary.
# NOTE: The format should also be updated in LYXRC.cpp and # NOTE: The format should also be updated in LYXRC.cpp and
# in configure.py (search for lyxrc_fileformat). # in configure.py (search for lyxrc_fileformat).
@ -555,5 +559,6 @@ conversions = [
[ 34, [rename_cyrillic_kmap_files]], [ 34, [rename_cyrillic_kmap_files]],
[ 35, [add_dark_color]], [ 35, [add_dark_color]],
[ 36, [add_spellcheck_default]], [ 36, [add_spellcheck_default]],
[ 37, [remove_fullscreen_widthlimit]] [ 37, [remove_fullscreen_widthlimit]],
[ 38, []],
] ]

View File

@ -60,7 +60,7 @@ namespace {
// The format should also be updated in configure.py, and conversion code // The format should also be updated in configure.py, and conversion code
// should be added to prefs2prefs_prefs.py. // should be added to prefs2prefs_prefs.py.
static unsigned int const LYXRC_FILEFORMAT = 37; // chillenb: screen_width and screen_limit static unsigned int const LYXRC_FILEFORMAT = 38; // chillenb: screen_width and screen_limit
// when adding something to this array keep it sorted! // when adding something to this array keep it sorted!
LexerKeyword lyxrcTags[] = { LexerKeyword lyxrcTags[] = {
{ "\\accept_compound", LyXRC::RC_ACCEPT_COMPOUND }, { "\\accept_compound", LyXRC::RC_ACCEPT_COMPOUND },