]> git.lyx.org Git - features.git/log
features.git
19 months agoFix broken Apple speller interface master
Stephan Witt [Wed, 16 Nov 2022 06:39:44 +0000 (07:39 +0100)]
Fix broken Apple speller interface

- restore spell checker result LEARNED_WORD - it's required for Apple speller engine
- avoid use of "unlearn" of known dictionary word - it doesn't work with paragraph based spell check

19 months agoAdditional check for empty word to avoid potential crash if no WordLangTuple is assig...
Stephan Witt [Wed, 16 Nov 2022 06:34:27 +0000 (07:34 +0100)]
Additional check for empty word to avoid potential crash if no WordLangTuple is assigned by spell check

19 months agoAllow removing words from the personal dictionary, that weren't previously added.
Isaac [Tue, 26 Apr 2022 07:14:34 +0000 (19:14 +1200)]
Allow removing words from the personal dictionary, that weren't previously added.

19 months ago"Cancel Background Process" -> "Cancel Export"
Scott Kostyshak [Fri, 25 Nov 2022 02:15:50 +0000 (21:15 -0500)]
"Cancel Background Process" -> "Cancel Export"

"Cancel Export" sounds more user friendly.

Discussed briefly on ML here:

  https://www.mail-archive.com/search?l=mid&q=20221122200127.th3qwgpimqndksmd%40gary

19 months agoRELEASE-NOTES: document clicking on red x
Scott Kostyshak [Fri, 25 Nov 2022 02:13:39 +0000 (21:13 -0500)]
RELEASE-NOTES: document clicking on red x

New functionality introduced at 869247b6.

19 months agoRm dup "Float" in "Insert>Float>Figure Wrap Float"
Scott Kostyshak [Thu, 24 Nov 2022 16:14:31 +0000 (11:14 -0500)]
Rm dup "Float" in "Insert>Float>Figure Wrap Float"

Change menu options "Figure Wrap Float" to "Wrapped Figure"
and "Table Wrap Float" to "Wrapped Table".

19 months agoImprove replacement for qDegreesToRadians
Jean-Marc Lasgouttes [Thu, 24 Nov 2022 23:06:06 +0000 (00:06 +0100)]
Improve replacement for qDegreesToRadians

This is for Qt 5.0.X compatibility.

19 months agoUpdate sk.po
Kornel Benko [Thu, 24 Nov 2022 11:47:45 +0000 (12:47 +0100)]
Update sk.po

19 months agomakefile - forgotten file
Pavel Sanda [Thu, 24 Nov 2022 01:17:26 +0000 (02:17 +0100)]
makefile - forgotten file

19 months ago* postats.py
Pavel Sanda [Wed, 23 Nov 2022 22:29:11 +0000 (23:29 +0100)]
* postats.py

19 months agoCentralize cancelation of export
Scott Kostyshak [Tue, 22 Nov 2022 19:46:00 +0000 (14:46 -0500)]
Centralize cancelation of export

An export can be canceled by clicking on the status bar icon or by
executing export-cancel (e.g., via Document > Cancel Background
Process).

The centralized code kills the script and updates the status bar
icons.

No change in functionality intended.

Related commits: 70a71a82 and 01abab9a.

19 months agoAfter export-cancel, hide busy and cancel buttons
Scott Kostyshak [Tue, 22 Nov 2022 19:28:45 +0000 (14:28 -0500)]
After export-cancel, hide busy and cancel buttons

This is consistent with 70a71a82 (which is about the code path
through clicking on the 'x' status bar icon).

In the next commit I'll make a function to centralize this sequence
of killing a script and emitting the scriptKilled() signal.

19 months agoAfter confirm cancel, hide busy and cancel buttons
Scott Kostyshak [Tue, 22 Nov 2022 19:24:11 +0000 (14:24 -0500)]
After confirm cancel, hide busy and cancel buttons

19 months agoCleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 09:18:43 +0000 (10:18 +0100)]
Cleanup mathes/BUGS (#3493)

This one is now also part of #12603.

19 months agoCleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 09:16:29 +0000 (10:16 +0100)]
Cleanup mathes/BUGS (#3493)

This one is now #12603.

19 months agoCleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 09:12:06 +0000 (10:12 +0100)]
Cleanup mathes/BUGS (#3493)

Removing. If this is still an issue, it should be described in much
more detail.

19 months agoCleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 09:09:16 +0000 (10:09 +0100)]
Cleanup mathes/BUGS (#3493)

Removing. M-c e has a different meaning nowadays
(tabular-feature delete-vline-left)

Please file a new report with an updated description if this is still
an issue.

19 months agoCleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 09:03:25 +0000 (10:03 +0100)]
Cleanup mathes/BUGS (#3493)

This one is now #12602.

Someone please check whether this is valid, and feel free to close.

19 months agoStart to cleanup mathes/BUGS (#3493)
Juergen Spitzmueller [Tue, 22 Nov 2022 08:59:01 +0000 (09:59 +0100)]
Start to cleanup mathes/BUGS (#3493)

This one is implemented.

19 months agoAdd button to stop processing
Juergen Spitzmueller [Mon, 21 Nov 2022 17:56:28 +0000 (18:56 +0100)]
Add button to stop processing

(rather than having it stop by clicking on the spinner)

19 months ago Translation of new index features step 1
jpc [Mon, 21 Nov 2022 17:34:07 +0000 (18:34 +0100)]
          Translation of new index features step 1

19 months agoDo not allow nesting macro names in macro names
Enrico Forestieri [Mon, 21 Nov 2022 17:24:29 +0000 (18:24 +0100)]
Do not allow nesting macro names in macro names

LyX removes a single backslash when it is inserted in a
macro name by the keyboard. However if it is followed by
another character before moving the cursor, it is retained
causing an assertion (bug #12601).

19 months agoSubstack should not be allowed to change columns
Jean-Marc Lasgouttes [Mon, 21 Nov 2022 09:43:08 +0000 (10:43 +0100)]
Substack should not be allowed to change columns

Disable the arguments append-column and delete-column of tabular-features.

The code is taken from InsetMathCases, with some changes
* no need to record undo here
* in dispatch, return is prefered to break, since we do not want to invoke
  InsetMathGrid::doDispatch.
Propagate these changes to InsetMathCases.

Cleanup of the InsetMathCases error messages to fit with other parts
of the code.

The handling of tabular-features in mathed needs to be unified somehow.

Based on a commit from lynx <lorenzobertini97@gmail.com>

Part of bug #12590.

19 months agoctests: typo in ignoredTests regex
Scott Kostyshak [Sun, 20 Nov 2022 19:39:47 +0000 (14:39 -0500)]
ctests: typo in ignoredTests regex

Amends c94bb34c.

19 months agoComments
Scott Kostyshak [Sun, 20 Nov 2022 19:37:11 +0000 (14:37 -0500)]
Comments

19 months agoDo not allow pasting backslashes in macro names
Enrico Forestieri [Sun, 20 Nov 2022 18:01:38 +0000 (19:01 +0100)]
Do not allow pasting backslashes in macro names

Backslashes are not allowed in macro names and LyX
enforces this by not allowing entering them by keyboard.
However, it was possible to paste them and this may cause
crashes (see bug #12596).

19 months agoRegenerate previews after zoom (#11919)
Juergen Spitzmueller [Sun, 20 Nov 2022 17:18:59 +0000 (18:18 +0100)]
Regenerate previews after zoom (#11919)

19 months agosymbols: fix a type for \Im
Thibaut Cuvelier [Sun, 20 Nov 2022 15:32:58 +0000 (16:32 +0100)]
symbols: fix a type for \Im

19 months agoAmend 48d9d01a: remove debug output
Thibaut Cuvelier [Sun, 20 Nov 2022 15:19:17 +0000 (16:19 +0100)]
Amend 48d9d01a: remove debug output

19 months agoctests: uninvert two xhtml tests
Scott Kostyshak [Sun, 20 Nov 2022 14:48:13 +0000 (09:48 -0500)]
ctests: uninvert two xhtml tests

These exports previously had xmllint errors. These errors seem to
have been fixed thanks to the "features/indexmacros" merge.

Related to #10355.

19 months agoUpdate the format for some doc pages
Thibaut Cuvelier [Sun, 20 Nov 2022 14:20:53 +0000 (15:20 +0100)]
Update the format for some doc pages

19 months agoInsetIndex: when building the IndexNode tree, ignore IndexEntry when empty
Thibaut Cuvelier [Sun, 20 Nov 2022 01:02:13 +0000 (02:02 +0100)]
InsetIndex: when building the IndexNode tree, ignore IndexEntry when empty

The previous code always considered it had at least one term (an assumption that is wrong at least for doc/de/Math.lyx).

19 months agoInsetIndex: enable escaping for terms in the index
Thibaut Cuvelier [Sat, 19 Nov 2022 23:19:53 +0000 (00:19 +0100)]
InsetIndex: enable escaping for terms in the index

The previous code explicitly disabled it and this behaviour caused problems (like "A&A" being output as-is, which is wrong in HTML: it should be "A&amp;A").

19 months agoInsetIndex: improve formatting of resulting XHTML
Thibaut Cuvelier [Sat, 19 Nov 2022 23:12:06 +0000 (00:12 +0100)]
InsetIndex: improve formatting of resulting XHTML

There was no line feed before the closing </li> for entries, which was inconsistent with the other block tags.

19 months agoImprove wording of RELEASE-NOTES entry
Thibaut Cuvelier [Sat, 19 Nov 2022 22:33:43 +0000 (23:33 +0100)]
Improve wording of RELEASE-NOTES entry

19 months agoDrop C++17 if init-statements to support older compilers.
Pavel Sanda [Wed, 16 Nov 2022 20:23:01 +0000 (21:23 +0100)]
Drop C++17 if init-statements to support older compilers.

19 months agoFix compilation with gcc 4.9
Jean-Marc Lasgouttes [Wed, 16 Nov 2022 16:43:22 +0000 (17:43 +0100)]
Fix compilation with gcc 4.9

It appears that gcc 4.9 does not implement the following part of C++11:
https://cplusplus.github.io/CWG/issues/1148.html

Therefore, we have to use a special case in C++11 mode that does an
explicit std:move.

With recent compilers (gcc >= 9), this leads in C++11 mode to a warning:

MetricsInfo.cpp: In member function ‘lyx::Changer lyx::MetricsBase::changeFontSet(const string&)’:
../../master/src/MetricsInfo.cpp:83:13: warning: redundant move in return statement [-Wredundant-move]
   83 |  return move(rc);
      |         ~~~~^~~~
MetricsInfo.cpp:83:13: note: remove ‘std::move’ call

Partly reverts commit fff28c57.

19 months agoMerge branch 'breakspace'
Jean-Marc Lasgouttes [Wed, 16 Nov 2022 09:22:11 +0000 (10:22 +0100)]
Merge branch 'breakspace'

This branch improves handling of spaces on display (see #10117):
* caret is correctly shown in the middle of double spaces in justified rows;

* sequence spaces are correctly shown at the end of rows before
  automatic row breaks.

Moreover, this branch:
* streamlines the code that handles spaces in row breaking

* improves display in Qt4 : although the improvements outlined above
  are not present in Qt4 for monospaced fonts, some dsplay glitches
  are resolved.

* improves performance for very long paragraphs (#12598).

19 months agoFix tex2lyx corner case (#12537)
Juergen Spitzmueller [Fri, 11 Nov 2022 07:12:14 +0000 (08:12 +0100)]
Fix tex2lyx corner case (#12537)

19 months ago(almost) Fix Qt4 support breakspace
Jean-Marc Lasgouttes [Thu, 10 Nov 2022 16:24:56 +0000 (17:24 +0100)]
(almost) Fix Qt4 support

When is it detected that our zero-width characters are not really
zero-width, avoid to use them altogether. Currently, this is known to
happen in Qt4 with monospace fonts.

This allow to remove the special Qt4 code in breaskString_helper.

Related to bug #10117.

19 months agoCMake build: disable warn about not known policy
Scott Kostyshak [Thu, 10 Nov 2022 15:34:15 +0000 (10:34 -0500)]
CMake build: disable warn about not known policy

This only showed up with -DLYX_EXTERNAL_ICONV=OFF.

19 months agoUse TextLayoutHelper in x2pos and pos2x
Jean-Marc Lasgouttes [Thu, 14 Jul 2022 16:22:46 +0000 (18:22 +0200)]
Use TextLayoutHelper in x2pos and pos2x

This leads to substantial code simplification.

No intended behavior change.

Related to ticket #10117.

19 months agoRefactor GuiFontMetrics::getLayout
Jean-Marc Lasgouttes [Thu, 14 Jul 2022 15:24:33 +0000 (17:24 +0200)]
Refactor GuiFontMetrics::getLayout

This allows to create a new version that takes an already built
TextLayoutHelper struct as parameter.

No intended change.

See discussion in bug #10117.

19 months agoHandle multiple spaces at row break
Jean-Marc Lasgouttes [Mon, 11 Jul 2022 21:56:35 +0000 (23:56 +0200)]
Handle multiple spaces at row break

In order to work around the Qt row breaking algorithm, which considers
multiple spaces as one at QTextLine break, we insert word_joiner unicode
characters beteween each pair of spaces.

The TextLayoutHelper class makes it easy to handle that.

Update Row::Element::rtrim() to only remove one space at row end.

Update support::countExpanders() to count all spaces, without special
handling for consecutive ones.

Fixes bug #10117.

19 months agoIntroduce a struct to handle docstring <-> QString index translation
Jean-Marc Lasgouttes [Sun, 10 Jul 2022 20:44:23 +0000 (22:44 +0200)]
Introduce a struct to handle docstring <-> QString index translation

This new code allows to get rid of some hardcoded stuff and will be a
foundation for handling of consecutive spaces.

This code can be used in the future for getTextLayout, x2pos, and
pos2x in order to streamline code. Actually some features as the naked
parameter are here to prepare for this second set of changes.

No change intended. The modified code is much clearer, though.

Related to bug #10117.

19 months agoRevert "Fixup 572b06d6: reduce cache size for breakString"
Jean-Marc Lasgouttes [Mon, 7 Nov 2022 23:10:18 +0000 (00:10 +0100)]
Revert "Fixup 572b06d6: reduce cache size for breakString"

10MB cache is not so large after all, and it can be helpful with
Scott's perverse examples.

This reverts commit 2abe7714078a0f772af2e3e2675d6f2b3c054e08.

Fixes part of bug #12598.

19 months agoFix expensive thinko: operator++ returns a reference, not a copy
Jean-Marc Lasgouttes [Mon, 7 Nov 2022 23:06:18 +0000 (00:06 +0100)]
Fix expensive thinko: operator++ returns a reference, not a copy

This accounts for 45% of the row breaking time on the (huge) paragraph
of the MWE in bug #12598.

Fixes part of bug #12598.

19 months agoUpdate sk.po
Kornel Benko [Mon, 7 Nov 2022 10:28:15 +0000 (11:28 +0100)]
Update sk.po

19 months agoRevert "Try to be more pedantic wrt blank lines in lyx2lyx output"
Juergen Spitzmueller [Sun, 6 Nov 2022 16:17:33 +0000 (17:17 +0100)]
Revert "Try to be more pedantic wrt blank lines in lyx2lyx output"

This reverts commit 9ce0ff50c1a96b276fa1a74f358718bf571f3dfb.

19 months agoTry to be more pedantic wrt blank lines in lyx2lyx output
Juergen Spitzmueller [Sun, 6 Nov 2022 15:40:12 +0000 (16:40 +0100)]
Try to be more pedantic wrt blank lines in lyx2lyx output

Hopefully to the tests' please

19 months agoCorrect typos of "occurred" in warnings/errors
Scott Kostyshak [Sun, 6 Nov 2022 15:06:50 +0000 (10:06 -0500)]
Correct typos of "occurred" in warnings/errors

Change "occured" and "ocurred" to "occurred".

19 months agoFix pasting as LaTeX in documents with no modules
Jean-Marc Lasgouttes [Thu, 27 Oct 2022 15:26:53 +0000 (17:26 +0200)]
Fix pasting as LaTeX in documents with no modules

When there is no module, the old code would invoke tex2lyx with option
 -m
instead of
 -m ""
and an error would ensue.

This is because the QProcess command line parser used in Systemcall is
broken and does not recognize empty parameters as such. The solution
is to rewrite our parsecmd() parser to generate a list of parameters.
This is post-2.4.0 work.

The workaround used here is:

- set the list of modules to "," when it should be empty. In effect,
  this is a list of two empty modules.

- change tex2lyx to accept empty module names and ignore them; this is
  good in terms of robustness anyway.

Additionally, when there is no receiving buffer, set the defaults as
the BufferParams defaults instead of empty (this is cleaner, but
should not make a difference in practice).

In the long term, we should switch to use the QStringList-based API of
QProcess in Systemcall (see QTBUG-80640).

19 months ago Update fr.po
jpc [Sun, 6 Nov 2022 10:15:08 +0000 (11:15 +0100)]
         Update fr.po

19 months agode/UserGuide: document index-tag-all
Juergen Spitzmueller [Sun, 6 Nov 2022 08:11:18 +0000 (09:11 +0100)]
de/UserGuide: document index-tag-all

19 months agode.po
Juergen Spitzmueller [Sun, 6 Nov 2022 08:09:12 +0000 (09:09 +0100)]
de.po

19 months agoctests: ignore a couple more roundtrip tests
Scott Kostyshak [Sat, 5 Nov 2022 18:50:34 +0000 (14:50 -0400)]
ctests: ignore a couple more roundtrip tests

Export fails after compilation with the following error:

  ERROR: CHAR: index 0 should be less than the length of the string

19 months agoGuard some debug code
Scott Kostyshak [Sat, 5 Nov 2022 18:26:43 +0000 (14:26 -0400)]
Guard some debug code

Amend f352a375 and 3bf1b97a.

19 months agoIntroduce index-tag-all lfun
Juergen Spitzmueller [Sat, 5 Nov 2022 17:39:33 +0000 (18:39 +0100)]
Introduce index-tag-all lfun

This is a convenience function for indexing. It adds a copy of the
index inset under cursor after any word in the buffer that is equal
(case-insensitively) to the word preceding the index inset.

The function can be easily used to generate bad indexes (and I warn
about that in the UserGuide), but if used with care, it can also be
extremely convenient.

19 months agoctests: log a waste
Scott Kostyshak [Sat, 5 Nov 2022 14:36:35 +0000 (10:36 -0400)]
ctests: log a waste

19 months agoctests: ignore a couple fragile lyx2lyx tests
Scott Kostyshak [Sat, 5 Nov 2022 14:34:18 +0000 (10:34 -0400)]
ctests: ignore a couple fragile lyx2lyx tests

From Kornel [1]:

  Exporting to 2.3 format and exporting from the exported differ in extra lines and
  in changed sequence of 2 lines at begin.

  $ diff doc/fr/UserGuide.23.lyx fr/UserGuide.23.23.lyx

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218252.html

19 months agoUpdate RELEASE_NOTES
Juergen Spitzmueller [Sat, 5 Nov 2022 07:34:36 +0000 (08:34 +0100)]
Update RELEASE_NOTES

19 months agoShow suggestions containing the input in the command buffer
Daniel Ramoeller [Sat, 6 Aug 2022 05:13:51 +0000 (07:13 +0200)]
Show suggestions containing the input in the command buffer

Previously, only the suggestions starting with the current input were
shown.

Contains the following minor improvements:
- Add space to indicate when only one suggestion is found

- Select first item in suggestion-list in order to make selecting with
  arrow keys more intuitive

- Fix selection with Shift+Up/Down in text-field

Fix for bug #12572.

19 months agoNew lfun to copy index insets from ToC
Jean-Marc Lasgouttes [Fri, 4 Nov 2022 20:52:46 +0000 (21:52 +0100)]
New lfun to copy index insets from ToC

The new function inset-insert-copy can only be invoked from the ToC.
It is currently only implemented for Index inset.

It is a special lfun because Inset::dispatch is called directly from
the ToC widget with cursor pointing to the inset, whereas the patch
happens in the workarea at caret position. This function cannot be
called directly.

Add an entry for this function in the toc context menu.

Fixes bug #4582.

19 months agoWhen Inset::dispatch is called from TOC, process screen flags
Jean-Marc Lasgouttes [Fri, 4 Nov 2022 20:46:32 +0000 (21:46 +0100)]
When Inset::dispatch is called from TOC, process screen flags

This is needed because we are not using the complete dispatch
machinery here.

Part of bug #4582.

19 months agoIntroduce new function copyInsetToTemp
Jean-Marc Lasgouttes [Fri, 4 Nov 2022 20:44:24 +0000 (21:44 +0100)]
Introduce new function copyInsetToTemp

This is a version of copyInset that does touch the cut stack and the X
selection.

Part of bug #4582.

19 months agoFix another use of unqualified std::move
Jean-Marc Lasgouttes [Fri, 4 Nov 2022 20:36:43 +0000 (21:36 +0100)]
Fix another use of unqualified std::move

19 months ago Update fr.po
jpc [Fri, 4 Nov 2022 17:05:43 +0000 (18:05 +0100)]
          Update fr.po

19 months agoAmend 9be6a425, Workaround for advanced search in 'uncover'-inset.
Kornel Benko [Fri, 4 Nov 2022 14:34:49 +0000 (15:34 +0100)]
Amend 9be6a425, Workaround for advanced search in 'uncover'-inset.

Use getInset(i)->toString() instead of getInset(i)->plaintext()
if searching, so that we get the option of 'uncover' visible to the search engine.

19 months agoUpdate sk.po
Kornel Benko [Fri, 4 Nov 2022 11:47:35 +0000 (12:47 +0100)]
Update sk.po

19 months agode.po
Juergen Spitzmueller [Fri, 4 Nov 2022 10:37:38 +0000 (11:37 +0100)]
de.po

19 months agoAdd some options to index context menu
Juergen Spitzmueller [Fri, 4 Nov 2022 10:29:56 +0000 (11:29 +0100)]
Add some options to index context menu

19 months agoAdapt French docs to new index features
Juergen Spitzmueller [Fri, 4 Nov 2022 08:03:55 +0000 (09:03 +0100)]
Adapt French docs to new index features

19 months agoDo not \protect stuff in index when we postpone the index
Juergen Spitzmueller [Fri, 4 Nov 2022 07:32:34 +0000 (08:32 +0100)]
Do not \protect stuff in index when we postpone the index

\protect us not needed here and affects sorting

19 months agoFix page range without page format
Juergen Spitzmueller [Fri, 4 Nov 2022 06:57:56 +0000 (07:57 +0100)]
Fix page range without page format

19 months agoctests: log a waste and a success
Scott Kostyshak [Thu, 3 Nov 2022 20:02:22 +0000 (16:02 -0400)]
ctests: log a waste and a success

A couple of the lyx2lyx tests were helpful, and a couple did not
lead to a fix. In particular, testing compilation was not helpful in
this case.

19 months agoctests: ignore some lyx2lyx tests that fail
Scott Kostyshak [Thu, 3 Nov 2022 20:00:22 +0000 (16:00 -0400)]
ctests: ignore some lyx2lyx tests that fail

From Jürgen [1]:

  These are old problems. One is related to a questionable nomencl change
  which we addressed in master but not in stable, see
  https://www.lyx.org/trac/ticket/10634#comment:2

  The other is due to CJK quotation marks which are not supported in 2.3.

We ignore, rather than invert, since no plans to fix these.

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218237.html

19 months agoAmend b8502a3ea2735c4
Juergen Spitzmueller [Thu, 3 Nov 2022 06:14:14 +0000 (07:14 +0100)]
Amend b8502a3ea2735c4

19 months agoFix glitch in index reversion routine
Juergen Spitzmueller [Thu, 3 Nov 2022 04:54:50 +0000 (05:54 +0100)]
Fix glitch in index reversion routine

19 months agoIndicate see[also] refs in label and outliner
Juergen Spitzmueller [Wed, 2 Nov 2022 14:56:59 +0000 (15:56 +0100)]
Indicate see[also] refs in label and outliner

19 months agoAdapt all German and English manuals to new index features
Juergen Spitzmueller [Wed, 2 Nov 2022 14:24:13 +0000 (15:24 +0100)]
Adapt all German and English manuals to new index features

19 months agoDo not unnecessarily reset the outliner to TOC on internal model changes
Juergen Spitzmueller [Wed, 2 Nov 2022 11:33:20 +0000 (12:33 +0100)]
Do not unnecessarily reset the outliner to TOC on internal model changes

The activated() signal is only issued on user changes, what we want here,
not internal model changes (as with currentIndexChanged())

19 months agoRemove wrong count comment
Juergen Spitzmueller [Wed, 2 Nov 2022 09:46:11 +0000 (10:46 +0100)]
Remove wrong count comment

19 months agoWorkaround for advanced search in 'uncover'-inset.
Kornel Benko [Wed, 2 Nov 2022 09:33:29 +0000 (10:33 +0100)]
Workaround for advanced search in 'uncover'-inset.

Allows for matches inside style Uncover if used
Settings->Adhere to search string formatting
This does not cover all of #12594 though.

19 months agoUpdate sk.po
Kornel Benko [Wed, 2 Nov 2022 09:33:06 +0000 (10:33 +0100)]
Update sk.po

19 months agolyx2lyx: fix index reversion
Juergen Spitzmueller [Wed, 2 Nov 2022 08:33:09 +0000 (09:33 +0100)]
lyx2lyx: fix index reversion

This was only a warning, but it made the tests fail

19 months ago Update fr.po
jpc [Tue, 1 Nov 2022 15:51:01 +0000 (16:51 +0100)]
          Update fr.po

19 months agoGerman documentation of new index features
Juergen Spitzmueller [Tue, 1 Nov 2022 13:45:37 +0000 (14:45 +0100)]
German documentation of new index features

19 months agode.po
Juergen Spitzmueller [Tue, 1 Nov 2022 11:13:45 +0000 (12:13 +0100)]
de.po

19 months agoFix output of subentry with sortkey
Juergen Spitzmueller [Tue, 1 Nov 2022 10:55:57 +0000 (11:55 +0100)]
Fix output of subentry with sortkey

19 months agoUserGuide: use new features for all index entries
Juergen Spitzmueller [Tue, 1 Nov 2022 10:06:50 +0000 (11:06 +0100)]
UserGuide: use new features for all index entries

19 months agoHandle empty index subentries (#7820)
Juergen Spitzmueller [Tue, 1 Nov 2022 09:20:50 +0000 (10:20 +0100)]
Handle empty index subentries (#7820)

19 months agoInsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
Thibaut Cuvelier [Mon, 31 Oct 2022 22:57:41 +0000 (23:57 +0100)]
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag

The change ensures that the function is not seen by the compiler when
the debug mode is not enabled. The flag is not set by default, because
it might have a significant performance impact for large indices.

The reason for the flag is that the default configuration under Linux
forbids the definition of unused functions.

19 months agoUpdate sk.po
Kornel Benko [Mon, 31 Oct 2022 21:57:02 +0000 (22:57 +0100)]
Update sk.po

19 months agoUpdate tex2lyx tests
Juergen Spitzmueller [Mon, 31 Oct 2022 20:11:07 +0000 (21:11 +0100)]
Update tex2lyx tests

19 months agoMerge branch 'features/indexmacros'
Juergen Spitzmueller [Mon, 31 Oct 2022 18:32:52 +0000 (19:32 +0100)]
Merge branch 'features/indexmacros'

19 months agoDocument new inset features features/indexmacros
Juergen Spitzmueller [Mon, 31 Oct 2022 18:26:39 +0000 (19:26 +0100)]
Document new inset features

19 months agoTypo
Juergen Spitzmueller [Mon, 31 Oct 2022 06:52:11 +0000 (07:52 +0100)]
Typo

19 months agoRename subindex to subentry
Juergen Spitzmueller [Mon, 31 Oct 2022 05:51:38 +0000 (06:51 +0100)]
Rename subindex to subentry

Makes more sense, and distinguishes it better from printsubindex

19 months agoDisplay subinsets in inset button and outliner
Juergen Spitzmueller [Mon, 31 Oct 2022 05:04:13 +0000 (06:04 +0100)]
Display subinsets in inset button and outliner

19 months agoEnter subindex on Enter in index
Juergen Spitzmueller [Mon, 31 Oct 2022 04:25:04 +0000 (05:25 +0100)]
Enter subindex on Enter in index