Kornel Benko
531fed9543
FindAdv: Fix the length of leading string
...
We are removing leading values from the start of string, so
the size of removed data was wrong because s.find() could find
a position inside the leading part.
2022-04-29 19:23:50 +02:00
Scott Kostyshak
a83159f051
Fix Clang 14 warning -Wbitwise-instead-of-logical
...
Use the boolean operator '||' with bools instead of the bitwise
operator '|'.
2022-04-28 21:40:00 -04:00
Jean-Marc Lasgouttes
e4416535e4
Fix configure with autoconf 2.71
...
This fixes two issues with autoconf 2.71
* a new version of eilseq.m4 from libiconv is required ;
* the AC_CHECK_HEADER last `-' argument is obsloleted, but I do not
think that we needed it in the first place.
2022-04-28 14:36:11 +02:00
Kornel Benko
769df229dc
FindAdv: Avoid some duplicated code
...
Also handle (== ignore) \textgreek{} and \textcyrillic{} commands
2022-04-27 15:57:24 +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
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
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
Juergen Spitzmueller
bbf21502bf
Initialize member
2022-04-04 11:43:55 +02:00
Kornel Benko
681334ce20
FindAdv: Amend 6e7fd68c
: Handle InsetNoteParams::Comment too
2022-04-04 10:46:55 +02:00
Kornel Benko
6e7fd68c79
FindAdv: Allow to search in LyX-Note also if ignoring format
2022-04-03 19:03:47 +02:00
Kornel Benko
c559b69fe1
FindAdv: Amend 4125f6a9
...
Variables regexError and regexError only defined
when searching via QT-version >= 5
2022-04-03 18:05:15 +02:00
Kornel Benko
4125f6a9d3
FindAdv: Omit possible empty patterns
...
Normally this is done by the GUI, but searching for e.g. LyX-Comment
allows empty patterns.
2022-04-03 13:21:02 +02:00
Thibaut Cuvelier
e7ed8213ac
DocBook: fix a test to ensure that the DocBook document is valid.
...
A book cannot directly contain paragraphs, they must be within a chapter.
2022-04-03 03:41:02 +02:00
Thibaut Cuvelier
26300c565f
MathML: fix validity for fractions with units.
...
https://www.lyx.org/trac/ticket/12513
Contributed by lynx.
2022-04-03 03:00:03 +02:00
Kornel Benko
4feb6aaea9
Make clang happy
...
Omitting 'error: comparison of integer expressions of different signedness'
2022-04-02 17:01:02 +02:00