Thibaut Cuvelier
f352a375d9
InsetIndex: revamp IndexEntry to handle both legacy and modern index insets; simplify and adapt the XHTML code.
...
DocBook comes in another commit, as the modifications are not required to keep the code compilable.
A semicolon is no more used between an index term and the places it appears, because some languages need a space before it and others not: this wasn't handled at all. With a dash, this problem disappears.
2022-05-05 04:16:51 +02:00
Thibaut Cuvelier
54a519a089
InsetIndex: simplify the implementation of the has* methods.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
5c80671740
InsetIndex: add a method hasSubentries.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
029d8d5839
InsetIndex: when parsing entries for XHTML, don't impose spaces around ! for subentries.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
b5418f0d29
InsetIndex: add a few comments.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
758792f6d6
InsetIndex: add a comment.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
4a62c08e61
InsetIndex: refactor IndexEntry to be a full-fledged class, hiding its implementation details better than before.
2022-04-30 03:23:59 +02:00
Juergen Spitzmueller
f86c7994a5
Merge branch 'master' into features/indexmacros
2022-04-25 08:12:12 +02:00
Thibaut Cuvelier
5a53872259
DocBook: use the new system for index.
2022-04-25 02:36:35 +02:00
Kornel Benko
8b48e429de
Update sk.po
2022-04-24 17:38:33 +02:00
jpc
bcbf067cd4
Update fr.po
2022-04-24 17:24:26 +02:00
Juergen Spitzmueller
15607db333
de.po
2022-04-24 17:05:31 +02:00
Juergen Spitzmueller
e6a7137a53
Mark aliases in the description
2022-04-24 16:51:42 +02:00
Juergen Spitzmueller
64ec812da5
Amend d8f540f51
...
Properly handle aliases
2022-04-24 16:51:16 +02:00
Juergen Spitzmueller
d8f540f51b
Properly ignore debug levels in the GUI
...
Not only none and any, but also the aliases.
2022-04-24 14:21:56 +02:00
Kornel Benko
98cc6acd0b
Amend 3b7a79f1
: Use Debug::base_type instead of 'unsigned long long' where possible
2022-04-24 13:52:46 +02:00
Kornel Benko
3b7a79f137
FindAdv: Amend d09f5ce1
: Added new debug level :findverbose
...
Fix the GUI handling for the new value using now 'unsigned long long' instead of 'int'
2022-04-24 13:27:36 +02:00
Kornel Benko
c7b6bf4519
FindAdv: Search also if layout of the searched paragraph has 'inpreamble' set
...
Using 'force' in call to TeXOnePar() enables the search of any string in document.
2022-04-23 20:33:47 +02:00
Juergen Spitzmueller
8917319924
Merge branch 'master' into features/indexmacros
2022-04-20 08:38:12 +02:00
Juergen Spitzmueller
40a331abfd
de.po
2022-04-20 08:04:15 +02:00
Kornel Benko
eb3e40ca6e
Update sk.po
2022-04-19 23:35:31 +02:00
Kornel Benko
e774ec1876
FindAdv: Fix search for '}'
...
Problem occured if
1.) not using regex and
2.) search without format and
3.) the search pattern ended with '}'.
then this last char '}' in the search pattern was discarded.
2022-04-19 23:28:27 +02:00
jpc
0aa462e27f
Update fr.po
2022-04-19 18:22:53 +02:00
Juergen Spitzmueller
9318f1b338
Improve string
2022-04-19 15:12:56 +02:00
Kornel Benko
1f902cc8c6
Update sk.po
2022-04-19 13:53:44 +02:00
Kornel Benko
d09f5ce1d0
FindAdv, Debug: Added new debug level :findverbose
...
With the debug-level 'find' there are now less output.
The original output can be received now with debig-level 'findverbose'
Also constructions like
LYXERR(Debug::FIND|Debug::FINDVERBOSE, "...");
are now possible.
2022-04-19 13:41:38 +02:00
Juergen Spitzmueller
5093e39170
Merge branch 'master' into features/indexmacros
2022-04-19 11:54:11 +02:00
Juergen Spitzmueller
7d7b21ec3e
Introduce InsetIndexMacros
...
This adds native macros for subindexes (!level), |see and |seealso
as well as native support for ranges |( |) and pagination format
-- e.g., |textbf -- via the index dialog
Resolves #12478 , #7232 and #5014
The feature is complete (incl. tex2lyx) except for
* file format change and lyx2lyx
* docbook/xhtml
* documentation
2022-04-19 11:46:08 +02:00
Jean-Marc Lasgouttes
50403c4ecf
Improve selection when selecting out of inset by the left
...
1/ put cusror in some display inset
2/ use shift-left until the cursor exits the inset
3/ see how the selection extends on the right.
This is not really a selection drawing bug, but rather the fact that
the anchor will be normalized to the first position after the inset,
which is in the next row.
This can be avoided by using the boundary property.
See discussion in bug #12520 .
2022-04-18 18:17:56 +02:00
Pavel Sanda
335f158896
* RELEASE-NOTES
2022-04-17 00:49:35 +02:00
Pavel Sanda
a4f5f245f8
forgotten bit
2022-04-17 00:38:17 +02:00
Pavel Sanda
5ba4d54b63
*doc - branch-sync-all
2022-04-17 00:37:22 +02:00
Pavel Sanda
02ffd6dd70
Allow syncing open/close status of branch inset with it's activation status.
...
This was kicked out by 742b39f4
(the code in inset toggle survived).
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217311.html
2022-04-17 00:16:19 +02:00
Kornel Benko
28b206665f
FindAdv: Convert '\%' in a regex to '%'
...
Regex contents comes from handling hullRegexp, so we
have to reverse some its handling, among others also for the char '%'
2022-04-16 15:10:33 +02:00
Kornel Benko
965b2cdc73
Findadv: Correct findadv-combined test
...
Replaced some 'CP' commands with 'CN' comments.
2022-04-15 17:18:40 +02:00
Kornel Benko
45756a50b4
FindAdv: Handling of '%' in searched string while not ignoring format
...
Difficult to decide, when to remove the sequence '%\n'.
The sequence is OK for latex output as a command separator,
but must be removed in searched string.
Alas, not all occurences are wrong. Sigh.
2022-04-15 17:09:08 +02:00
Juergen Spitzmueller
18a1207c2d
de.po
2022-04-14 10:27:10 +02:00
Pavel Sanda
5ac8a0b9ae
Update status of layouttranslations
2022-04-13 11:36:49 +02:00
Pavel Sanda
968379b644
Backport bg strings
2022-04-13 11:33:28 +02:00
Pavel Sanda
8471b97fd4
* layouttranslations updates from Veselin
2022-04-13 11:32:45 +02:00
Kornel Benko
c2229d388b
Find: Renamend for_searchAdv to for_serach in src/OutputParams.h
...
Since this variable is used by quick find too, the naming was misleading
2022-04-12 18:02:12 +02:00
Stephan Witt
9d6e704183
Improved package build script for MacOS. Handle compiler standard for Qt6.
2022-04-09 09:19:46 +02:00
Kornel Benko
8338d1032d
FindQuick: Amend 4bd38d8a
: Remove now unneeded code
2022-04-09 09:11:38 +02:00
Kornel Benko
4bd38d8a09
FindQuick: Handle quotes special (as in findadv)
2022-04-09 08:52:24 +02:00
Kornel Benko
801768af92
FindQuick: Amend 1f7d90d6
: Add some not handled quotation marks
2022-04-08 19:59:55 +02:00
Jean-Marc Lasgouttes
7cb700bf67
Fix crash with countExpanders in Qt6
...
It is not a good idea to contruct a QChar from a char_type that is
really 32bits.
Use lyx::isSpace, which already catters for this case.
Since this code does not depend on qt anymore, move it to
support::countExpanders.
Get rid of Row::countSeparators, which is not used anymore.
Fixes bug #12519 .
2022-04-08 12:14:41 +02:00
Kornel Benko
1f7d90d636
Find: Advanced + Quick:
...
Expand list of quotes to include also '» « › ‹'
Enable quick find to search for quotes too
2022-04-08 08:40:32 +02:00
Kornel Benko
aa66663364
FindAdv: Amend 58f70b9d
...
Consider plain-quotes, inner-quotes
1 independent if in regex or text
2 independent of quote style
3 independent of using dynamic marks
2022-04-06 19:00:20 +02:00
Kornel Benko
58f70b9da1
FindAdv: Handle search for quotes
...
Double quotes will be found if using the string '"' in pattern.
Single quotes needs "'" in pattern.
2022-04-05 17:04:51 +02:00
Juergen Spitzmueller
31ac9ed59f
Fix indentation
2022-04-04 12:02:25 +02:00