[LyX/master] fix documentation of --enable-cxx-mode

2024-03-21 Thread Jean-Marc Lasgouttes
commit 44c0b4e4cc1827d38dcc5284513a62cc62a54362
Author: Jean-Marc Lasgouttes 
Date:   Thu Mar 21 22:50:38 2024 +0100

fix documentation of --enable-cxx-mode
---
 INSTALL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/INSTALL b/INSTALL
index 7a44ad8896..5c9c4d7489 100644
--- a/INSTALL
+++ b/INSTALL
@@ -208,8 +208,8 @@ precisely (see the description of --enable-build-type for 
the default
 values):
 
   o --enable-cxx-mode=VALUE can be used to select a C++ standard, for
-example --enable-cxx-mode=11. The default is to try C++14, and then
-C++11.
+example --enable-cxx-mode=11. The default is to try C++17, C++14, and
+C++11, in this order.
 
   o --enable-optimization=VALUE enables you to set optimization to a
 higher level than the default, for example --enable-optimization=-O3.
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix documentation on hyphenation points

2023-10-15 Thread Richard Kimberly Heck
commit 3a430aed3c07dff77f70b68759b7a27c7ba8bda1
Author: Richard Kimberly Heck 
Date:   Sun Oct 15 21:48:11 2023 -0400

Fix documentation on hyphenation points
---
 lib/doc/UserGuide.lyx |   22 +-
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index a4a53cf..27e14cb 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -10226,14 +10226,12 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim
-
 This is Verbatim.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
-
 The following 2 lines are empty:
 \end_layout
 
@@ -10246,7 +10244,6 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
-
 Almost everything is allowed in Verbatim:"%&$ยง#~'`
 \backslash
 }][{|
@@ -10270,7 +10267,6 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
-
 This is Verbatim*.
 \end_layout
 
@@ -21959,7 +21955,23 @@ Hyphenation
 Point
 \family default
 .
- These extra hyphenation points are only recommendations to \SpecialChar LaTeX
+ 
+\change_inserted -584632292 1697420767
+Note that adding hyphenation points disables the default ones:
+ The word will no longer break at the places it previously would have.
+ Note also that 
+\change_deleted -584632292 1697420769
+T
+\change_inserted -584632292 1697420770
+t
+\change_unchanged
+hese 
+\change_deleted -584632292 1697420699
+extra 
+\change_inserted -584632292 1697420772
+added 
+\change_unchanged
+hyphenation points are only recommendations to \SpecialChar LaTeX
 .
  If no hyphenation is necessary,
  \SpecialChar LaTeX
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix documentation of Row::splitAt

2022-05-31 Thread Jean-Marc Lasgouttes
commit e82cead90f4d9b1ffb0d4d4cad7140807e49e382
Author: Jean-Marc Lasgouttes 
Date:   Tue May 31 17:04:01 2022 +0200

Fix documentation of Row::splitAt
---
 po/messages.mo |  Bin 627646 -> 0 bytes
 src/Row.h  |   12 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/po/messages.mo b/po/messages.mo
deleted file mode 100644
index 59bfefa..000
Binary files a/po/messages.mo and /dev/null differ
diff --git a/src/Row.h b/src/Row.h
index 6583fb2..a4be0ad 100644
--- a/src/Row.h
+++ b/src/Row.h
@@ -89,14 +89,16 @@ public:
*/
pos_type x2pos(int ) const;
/** Break the element in two if possible, so that its width is 
less
-* than \param w.
-* \return a vector of elements containing the remainder of
-*   the text (empty if nothing happened).
-* \param width maximum width of the row.
-* \param next_width available width on next row.
+* than the required values.
+* \return true if something has been done ; false if this is
+* not needed or not possible.
+* \param width: maximum width of the row.
+* \param next_width: available width on next rows.
 * \param force: if true, cut string at any place, even for
 *   languages that wrap at word delimiters; if false, do not
 *   break at all if first element would larger than \c width.
+* \param tail: a vector of elements where the remainder of
+*   the text will be appended (empty if nothing happened).
 */
// FIXME: ideally last parameter should be Elements&, but it is 
not possible.
bool splitAt(int width, int next_width, bool force, 
std::vector & tail);
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix documentation of UndoGroupHelper

2021-11-12 Thread Jean-Marc Lasgouttes
commit 3aab9ad25edcd527868f8f2b8a26262255952966
Author: Jean-Marc Lasgouttes 
Date:   Fri Nov 12 16:47:41 2021 +0100

Fix documentation of UndoGroupHelper
---
 src/Undo.h |9 -
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/Undo.h b/src/Undo.h
index 887f762..bdcf954 100644
--- a/src/Undo.h
+++ b/src/Undo.h
@@ -130,19 +130,18 @@ private:
 
 /** Helper class to simplify the use of undo groups across several buffers.
  *
- *  The undo group is created when the object is instanciated; it is
+ *  The undo group is created when the object is instantiated; it is
  *  then ended as the object goes out of scope or the buffer is reset
  *  (see below)
  */
 class UndoGroupHelper {
 public:
+   // Create a new undo group for buffer \c buf.
UndoGroupHelper(Buffer * buf);
-
+   // End all created undo groups.
~UndoGroupHelper();
 
-   /** Close the current undo group if necessary and create a new one
-* for buffer \c buf.
-*/
+   // Create an additional undo group for buffer \c buf.
void resetBuffer(Buffer * buf);
 
 private:
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix documentation for LFUN_LAYOUT

2020-09-12 Thread Scott Kostyshak
commit 670da1817e30241d9aeb76660cf9518ff3bee071
Author: Scott Kostyshak 
Date:   Sat Sep 12 19:29:01 2020 -0400

Fix documentation for LFUN_LAYOUT

The argument 'ignorenests' was renamed to 'ignoreautonests' at
d6fb2abb.
---
 src/LyXAction.cpp |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 3e1e023..23cc745 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -2386,9 +2386,9 @@ void LyXAction::init()
 /*!
  * \var lyx::FuncCode lyx::LFUN_LAYOUT
  * \li Action: Sets the layout (that is, environment) for the current 
paragraph.
- * \li Syntax: layout  [ignorenests]
+ * \li Syntax: layout  [ignoreautonests]
  * \li Params: : the layout to use\n
-   ignorenests: If specified, nesting advices will be ignored.
+   ignoreautonests: If specified, nesting advices will be ignored.
  * \endvar
  */
{ LFUN_LAYOUT, "layout", Noop, Layout },
@@ -2399,9 +2399,9 @@ void LyXAction::init()
  * \li Notion: Contrary to `layout', this function resets the current
  * (or selection) layout to the standard layout it already has the
  * correct layout. Useful for toolbar icons.
- * \li Syntax: layout-toggle  [ignorenests]
+ * \li Syntax: layout-toggle  [ignoreautonests]
  * \li Params: : the layout to toggle\n
-   ignorenests: If specified, nesting advices will be ignored.
+   ignoreautonests: If specified, nesting advices will be ignored.
  * \li Origin: lasgouttes, 14 May 2018
  * \endvar
  */
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX master] Fix documentation

2012-08-23 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 706c5d25de4bf2ebd29dff341f9ee034d397ca0d
Author: Juergen Spitzmueller sp...@lyx.org
Date:   Thu Aug 23 17:47:12 2012 +0200

Fix documentation

diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 67f0971..db1c82a 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -563,10 +563,10 @@ void LyXAction::init()
{ LFUN_IN_IPA, in-ipa, Noop, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_IPAMACRO_INSERT
- * \li Action: Inserts special IPA characters into the document.
+ * \li Action: Inserts special IPA macros into the document.
  * \li Syntax: ipamacro-insert CHAR
  * \li Params: CHAR: tone-falling, tone-rising, tone-high-rising, 
tone-low-rising,
- * tone-high-rising-falling.
+ * tone-high-rising-falling, deco bottomtiebar, deco 
toptiebar.
  * \li Origin: JSpitzm, 22 Aug 2012
  * \endvar
  */

---

Summary of changes:
 src/LyXAction.cpp |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Fix documentation

2012-08-23 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 706c5d25de4bf2ebd29dff341f9ee034d397ca0d
Author: Juergen Spitzmueller 
Date:   Thu Aug 23 17:47:12 2012 +0200

Fix documentation

diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 67f0971..db1c82a 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -563,10 +563,10 @@ void LyXAction::init()
{ LFUN_IN_IPA, "in-ipa", Noop, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_IPAMACRO_INSERT
- * \li Action: Inserts special IPA characters into the document.
+ * \li Action: Inserts special IPA macros into the document.
  * \li Syntax: ipamacro-insert 
  * \li Params: : tone-falling, tone-rising, tone-high-rising, 
tone-low-rising,
- * tone-high-rising-falling.
+ * tone-high-rising-falling, deco bottomtiebar, deco 
toptiebar.
  * \li Origin: JSpitzm, 22 Aug 2012
  * \endvar
  */

---

Summary of changes:
 src/LyXAction.cpp |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository