[LyX/master] Update sk.po

2022-02-08 Thread Kornel Benko
commit 9faeaacfa8c871b7be56c7825b4c4878435ae26f Author: Kornel Benko Date: Tue Feb 8 19:54:16 2022 +0100 Update sk.po --- po/sk.po | 38 -- 1 files changed, 20 insertions(+), 18 deletions(-) diff --git a/po/sk.po b/po/sk.po index 7e2c7d2..3848bb6

[LyX/master] Update sk.po

2022-02-13 Thread Kornel Benko
commit c2e0d4e69bc83dcbf9a0fef16c2f13be589d963a Author: Kornel Benko Date: Sun Feb 13 13:57:41 2022 +0100 Update sk.po po/sk.po | 378 ++ 1 files changed, 210 insertions(+), 168 deletions(-) -- lyx-cvs mailing list lyx-cvs

[LyX/master] Update sk.po

2022-02-13 Thread Kornel Benko
commit e0722e97d5d93a99544e1180bb1abbde0e33668f Author: Kornel Benko Date: Sun Feb 13 14:23:58 2022 +0100 Update sk.po --- po/sk.po |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/po/sk.po b/po/sk.po index 8f1590c..5a35011 100644 --- a/po/sk.po +++ b/po/sk.po

[LyX/master] Update sk.po

2022-02-16 Thread Kornel Benko
commit 58a8884b0643ff8dcf35697e09e49894a804171b Author: Kornel Benko Date: Wed Feb 16 14:44:43 2022 +0100 Update sk.po --- po/sk.po | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/po/sk.po b/po/sk.po index 5a35011..9814567 100644 --- a/po

[LyX/master] Update sk.po

2022-02-17 Thread Kornel Benko
commit 124e0fc2be2446f7182cba0e5b54961dc1cfab91 Author: Kornel Benko Date: Thu Feb 17 12:19:33 2022 +0100 Update sk.po --- po/sk.po | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/po/sk.po b/po/sk.po index 9814567..0fecc2b 100644 --- a/po/sk.po

[LyX/master] Update sk.po

2022-02-19 Thread Kornel Benko
commit 8519e2b074df93c0fd6ee70158a61f8ca91dad56 Author: Kornel Benko Date: Sat Feb 19 15:59:52 2022 +0100 Update sk.po --- po/sk.po | 254 -- 1 files changed, 131 insertions(+), 123 deletions(-) diff --git a/po/sk.po b/po/sk.po

[LyX/master] FindAdv: Added handling of some missing conversions

2022-02-21 Thread Kornel Benko
commit b5d9bbfecd88b4a938db3c14ef0367c445e19f56 Author: Kornel Benko Date: Mon Feb 21 11:09:54 2022 +0100 FindAdv: Added handling of some missing conversions --- src/lyxfind.cpp | 44 +++- 1 files changed, 43 insertions(+), 1 deletions(-) diff

[LyX/master] Amend b5d9bbfe: FindAdv: Added handling of some missing conversions

2022-02-21 Thread Kornel Benko
commit 407ae8db042622c04fdfeb0b2cf9e7cebeef9816 Author: Kornel Benko Date: Mon Feb 21 14:52:56 2022 +0100 Amend b5d9bbfe: FindAdv: Added handling of some missing conversions --- src/lyxfind.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lyxfind.cpp b

[LyX/master] Amend(2) b5d9bbfe: FindAdv: Added handling of some missing conversions

2022-02-23 Thread Kornel Benko
commit de0dbfb61bd2b4410c9e7948850acbad3bd8ee61 Author: Kornel Benko Date: Wed Feb 23 18:22:16 2022 +0100 Amend(2) b5d9bbfe: FindAdv: Added handling of some missing conversions --- src/lyxfind.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src

[LyX/master] FindAdv: Add missed command after 030db93a

2022-02-28 Thread Kornel Benko
commit 3002a20800b1eae3a02f2b905e90990ec0ba75f5 Author: Kornel Benko Date: Mon Feb 28 09:53:12 2022 +0100 FindAdv: Add missed command after 030db93a --- src/lyxfind.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 6f75ed6

[LyX/master] Adapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output)

2022-03-01 Thread Kornel Benko
commit 5e8969b597ae973a12cfb543ed055e4eb8cd16ec Author: Kornel Benko Date: Wed Mar 2 08:48:35 2022 +0100 Adapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output) --- src/tex2lyx/test/test-insets-basic.lyx.lyx |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[LyX/master] Format of description of function search-ignore

2022-03-04 Thread Kornel Benko
commit 4b58e3b4feb08e2c68309bf8c2c7efbfdcb7bbf1 Author: Kornel Benko Date: Fri Mar 4 17:29:37 2022 +0100 Format of description of function search-ignore --- lib/doc/LFUNs.lyx |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/doc/LFUNs.lyx b/lib/doc

[LyX/master] Update sk.po

2022-03-04 Thread Kornel Benko
commit ada2fd2d657ec03902c97588a876ae23271d45ac Author: Kornel Benko Date: Fri Mar 4 17:40:36 2022 +0100 Update sk.po --- po/sk.po | 28 +++- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/po/sk.po b/po/sk.po index 064fb9a..ecd223a 100644 --- a

[LyX/master] FindAdv: Added possibility to search also in deactvated branches

2022-03-10 Thread Kornel Benko
commit 498a5cd487482f1a97c2c9f305b9e10fc041631e Author: Kornel Benko Date: Thu Mar 10 10:51:02 2022 +0100 FindAdv: Added possibility to search also in deactvated branches To include content of deactivated branches to the searched region one has to use the lyx-funcion

[LyX/master] Update sk.po

2022-03-13 Thread Kornel Benko
commit 2e43b458a93e71681029b4a7ae606d16be3f5cbe Author: Kornel Benko Date: Sun Mar 13 23:23:09 2022 +0100 Update sk.po --- po/sk.po | 25 + 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/po/sk.po b/po/sk.po index ecd223a..077e8cd 100644 --- a/po

[LyX/master] FindAdv: Added conversion for unicode 0x2bb

2022-03-15 Thread Kornel Benko
commit f80714497bc9c2bc422e7b8331ad79c4635124fc Author: Kornel Benko Date: Tue Mar 15 10:35:22 2022 +0100 FindAdv: Added conversion for unicode 0x2bb In math-mode \textquoteleft was still not used as unicode so it was not possible to find the char using regex --- src

[LyX/master] Amend f8071449: Added conversion for unicode 0x2bb

2022-03-15 Thread Kornel Benko
commit 9bef4f9f1a488bd3ee503d64ab6cfc774ea5 Author: Kornel Benko Date: Tue Mar 15 13:01:51 2022 +0100 Amend f8071449: Added conversion for unicode 0x2bb Now regex using \textquoteleft works also without format search. --- src/lyxfind.cpp |9 - 1 files changed, 8

[LyX/master] FindAdv: Generalize substitutions of commands to unicode inside regex

2022-03-16 Thread Kornel Benko
commit 2e9c962a247e90abf9e7bdf2d2b2a4e99a7b3693 Author: Kornel Benko Date: Wed Mar 16 13:46:24 2022 +0100 FindAdv: Generalize substitutions of commands to unicode inside regex --- src/lyxfind.cpp | 17 - 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src

[LyX/master] FindAdv: If possible use unicode instead of math command when searching

2022-03-20 Thread Kornel Benko
commit e6d998d33cea38fc917f7e604d8b6d6071070a34 Author: Kornel Benko Date: Sun Mar 20 11:33:12 2022 +0100 FindAdv: If possible use unicode instead of math command when searching Wrong behaviour before this commit: Open new lyx-file insert unicode-insert 0x025c

[LyX/master] Indentation

2022-03-22 Thread Kornel Benko
commit 49c52d4c8e1cdfacee22bd55595ac53906538221 Author: Kornel Benko Date: Tue Mar 22 10:43:23 2022 +0100 Indentation --- src/lyxfind.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 98c254d..025479e 100644 --- a/src

[LyX/master] Update sk.po

2022-03-24 Thread Kornel Benko
commit a537fc4ab18d28c86b8fa1848473397fb83ebb38 Author: Kornel Benko Date: Thu Mar 24 15:04:01 2022 +0100 Update sk.po Correct some shortcuts --- po/sk.po | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/po/sk.po b/po/sk.po index 077e8cd

[LyX/master] AdvFind: Adapt a testfile

2022-03-25 Thread Kornel Benko
commit 8380034203523ae8035015eb6d4c3f594e704126 Author: Kornel Benko Date: Fri Mar 25 23:00:59 2022 +0100 AdvFind: Adapt a testfile Change [a-z]* to [a-z]+ . This omits finds of empty strings. --- development/autotests/findadv-re-04-in.txt | 10 +- 1 files changed, 5

[LyX/master] FindAdv: Use always converted latex macros

2022-03-26 Thread Kornel Benko
commit 93b6fe2c480b597f890bb77ce64bb650d979d2c3 Author: Kornel Benko Date: Sat Mar 26 19:32:33 2022 +0100 FindAdv: Use always converted latex macros In some situation the macros are not used with their unicode representation. For instance all greek characters are used as

[LyX/master] Cmake key-tests: Adapted to changed shortcuts

2022-03-26 Thread Kornel Benko
commit 7d053393a5f246ed0d85c59f1eebc690b622b559 Author: Kornel Benko Date: Sat Mar 26 19:38:55 2022 +0100 Cmake key-tests: Adapted to changed shortcuts --- development/autotests/findadv-08-in.txt |2 +- development/autotests/findadv-17-in.txt |4 ++-- development/autotests/findadv

[LyX/master] FindAdv: Amend 93b6fe2c, forgot about uppercase greek symbols

2022-03-27 Thread Kornel Benko
commit f78ddc49ad696d626866224bc4cae86c38cc1bba Author: Kornel Benko Date: Sun Mar 27 13:43:42 2022 +0200 FindAdv: Amend 93b6fe2c, forgot about uppercase greek symbols --- src/lyxfind.cpp | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src

[LyX/master] FindAdv: Amend f78ddc49, Added handling of accented chars like \ddot{a}

2022-03-29 Thread Kornel Benko
commit 23fe87bfc9c982bbe5233bbac3da76fe0a073e8f Author: Kornel Benko Date: Tue Mar 29 17:22:22 2022 +0200 FindAdv: Amend f78ddc49, Added handling of accented chars like \ddot{a} Only important for search without format. The format search was already OK. --- src/lyxfind.cpp | 14

[LyX/master] FindAdv: Amend 23fe87bf:

2022-03-29 Thread Kornel Benko
commit 6888c2670640e17808df6ab0a0a1c9112715c248 Author: Kornel Benko Date: Tue Mar 29 18:00:13 2022 +0200 FindAdv: Amend 23fe87bf: Write one line of code and produce 10 new errors :( --- src/lyxfind.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a

[LyX/master] FindAdv: Optimizing

2022-03-30 Thread Kornel Benko
commit a0daf5e5512172fbde3c77cdbd4e399024c6e488 Author: Kornel Benko Date: Wed Mar 30 22:15:22 2022 +0200 FindAdv: Optimizing 1.) Handle backslashed '{' and '}' in regex also in non format-search 2.) Simplify a complex regex in format-search --- sr

[LyX/master] FindAdv: Amend a0daf5e5

2022-03-31 Thread Kornel Benko
commit 570be4760bf81a5236297ab8d4def66207cbd32e Author: Kornel Benko Date: Thu Mar 31 11:39:46 2022 +0200 FindAdv: Amend a0daf5e5 1.) Completed non backslashed '{' and '}' in regex in non format-search --- src/lyxfind.cpp |9 +++-- 1 files changed

[LyX/master] FindAdv: Ignore comment-feature (but not its content)

2022-04-01 Thread Kornel Benko
commit 83e65161a8a12be72aa6ba5b5037e378b2730051 Author: Kornel Benko Date: Fri Apr 1 13:45:57 2022 +0200 FindAdv: Ignore comment-feature (but not its content) TODO: Handle 'comment' like other features, but this needs more thinking. --- src/lyxfind.

[LyX/master] FindAdv: Handle latex-output for comment-environment

2022-04-01 Thread Kornel Benko
commit bcad19e504f845f8fe08d4d62b46e0fdbc67145e Author: Kornel Benko Date: Fri Apr 1 20:14:47 2022 +0200 FindAdv: Handle latex-output for comment-environment Disable if in search-adv modus and not searching in not-printed contents, enable otherwise --- src/insets

[LyX/master] Make clang happy

2022-04-02 Thread Kornel Benko
commit 4feb6aaea95670caa5b1292a0f618c2c8777343a Author: Kornel Benko Date: Sat Apr 2 17:01:02 2022 +0200 Make clang happy Omitting 'error: comparison of integer expressions of different signedness' --- src/lyxfind.cpp |4 ++-- 1 files changed, 2 insertions(+), 2

[LyX/master] FindAdv: Omit possible empty patterns

2022-04-03 Thread Kornel Benko
commit 4125f6a9d344674dc2910fe60ddd30c3011e2f86 Author: Kornel Benko Date: Sun Apr 3 13:21:02 2022 +0200 FindAdv: Omit possible empty patterns Normally this is done by the GUI, but searching for e.g. LyX-Comment allows empty patterns. --- src/lyxfind.cpp | 20

[LyX/master] FindAdv: Amend 4125f6a9

2022-04-03 Thread Kornel Benko
commit c559b69fe1d37471b840857baba952482995c97d Author: Kornel Benko Date: Sun Apr 3 18:05:15 2022 +0200 FindAdv: Amend 4125f6a9 Variables regexError and regexError only defined when searching via QT-version >= 5 --- src/lyxfind.cpp |2 +- 1 files changed, 1 inserti

[LyX/master] FindAdv: Allow to search in LyX-Note also if ignoring format

2022-04-03 Thread Kornel Benko
commit 6e7fd68c798a8e5855f7e3a9ab6fd7014995f80d Author: Kornel Benko Date: Sun Apr 3 19:03:47 2022 +0200 FindAdv: Allow to search in LyX-Note also if ignoring format --- src/insets/InsetNote.cpp |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/insets

[LyX/master] FindAdv: Amend 6e7fd68c: Handle InsetNoteParams::Comment too

2022-04-04 Thread Kornel Benko
commit 681334ce20987beae57c55f9a1796b2eefd41944 Author: Kornel Benko Date: Mon Apr 4 10:46:55 2022 +0200 FindAdv: Amend 6e7fd68c: Handle InsetNoteParams::Comment too --- src/insets/InsetNote.cpp | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/insets

[LyX/master] FindAdv: Handle search for quotes

2022-04-05 Thread Kornel Benko
commit 58f70b9da1c4137a9c9831dfade8239b33288bbf Author: Kornel Benko Date: Tue Apr 5 17:04:51 2022 +0200 FindAdv: Handle search for quotes Double quotes will be found if using the string '"' in pattern. Single quotes needs "'" in pattern. --- src

[LyX/master] FindAdv: Amend 58f70b9d

2022-04-06 Thread Kornel Benko
commit aa3364c44047bd97c919a651b8adcaf7617a Author: Kornel Benko Date: Wed Apr 6 19:00:20 2022 +0200 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

[LyX/master] Find: Advanced + Quick:

2022-04-07 Thread Kornel Benko
commit 1f7d90d6367010d32f77a536a246e8fed9b3d381 Author: Kornel Benko Date: Fri Apr 8 08:40:32 2022 +0200 Find: Advanced + Quick: Expand list of quotes to include also '» « › ‹' Enable quick find to search for quotes too --- src/Paragraph.

[LyX/master] FindQuick: Amend 1f7d90d6: Add some not handled quotation marks

2022-04-08 Thread Kornel Benko
commit 801768af9242ff1aca8735a0226e4c78becded00 Author: Kornel Benko Date: Fri Apr 8 19:56:41 2022 +0200 FindQuick: Amend 1f7d90d6: Add some not handled quotation marks --- src/Paragraph.cpp | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-) diff

[LyX/master] FindQuick: Handle quotes special (as in findadv)

2022-04-08 Thread Kornel Benko
commit 4bd38d8a09044172b107be30744456012b80fb4f Author: Kornel Benko Date: Sat Apr 9 08:52:24 2022 +0200 FindQuick: Handle quotes special (as in findadv) --- src/OutputParams.h |1 + src/Paragraph.cpp |9 - 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a

[LyX/master] FindQuick: Amend 4bd38d8a: Remove now unneeded code

2022-04-09 Thread Kornel Benko
commit 8338d1032ddb79007d3cf74ffee22a4f8da9d90d Author: Kornel Benko Date: Sat Apr 9 09:11:38 2022 +0200 FindQuick: Amend 4bd38d8a: Remove now unneeded code --- src/Paragraph.cpp | 33 +++-- 1 files changed, 3 insertions(+), 30 deletions(-) diff --git a/src

[LyX/master] Find: Renamend for_searchAdv to for_serach in src/OutputParams.h

2022-04-12 Thread Kornel Benko
commit c2229d388b622a65029d0566f5eca53b43d92528 Author: Kornel Benko Date: Tue Apr 12 18:02:12 2022 +0200 Find: Renamend for_searchAdv to for_serach in src/OutputParams.h Since this variable is used by quick find too, the naming was misleading --- src/OutputParams.h

[LyX/master] FindAdv: Handling of '%' in searched string while not ignoring format

2022-04-15 Thread Kornel Benko
commit 45756a50b4e47c3fe182e77f8e976011db7cc070 Author: Kornel Benko Date: Fri Apr 15 17:09:08 2022 +0200 FindAdv: Handling of '%' in searched string while not ignoring format Difficult to decide, when to remove the sequence '%\n'. The sequence is OK f

[LyX/master] Findadv: Correct findadv-combined test

2022-04-15 Thread Kornel Benko
commit 965b2cdc73ffa8e3c3d842bd1b3cb3c148118db6 Author: Kornel Benko Date: Fri Apr 15 17:18:40 2022 +0200 Findadv: Correct findadv-combined test Replaced some 'CP' commands with 'CN' comments. --- development/autotests/findadv-combined-in.txt | 20 +

[LyX/master] FindAdv: Convert '\%' in a regex to '%'

2022-04-16 Thread Kornel Benko
commit 28b206665fb7a90d0998f927cec003fcef9c573e Author: Kornel Benko Date: Sat Apr 16 15:10:33 2022 +0200 FindAdv: Convert '\%' in a regex to '%' Regex contents comes from handling hullRegexp, so we have to reverse some its handling, among others also for t

[LyX/master] FindAdv, Debug: Added new debug level :findverbose

2022-04-19 Thread Kornel Benko
commit d09f5ce1d065173d19fc2a990770561e807487fa Author: Kornel Benko Date: Tue Apr 19 13:41:38 2022 +0200 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 d

[LyX/master] Update sk.po

2022-04-19 Thread Kornel Benko
commit 1f902cc8c6d8506036ac836ad2b2ec420ea14f94 Author: Kornel Benko Date: Tue Apr 19 13:53:44 2022 +0200 Update sk.po --- po/sk.po | 17 - 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/po/sk.po b/po/sk.po index 73afca3..723da0b 100644 --- a/po/sk.po

[LyX/master] FindAdv: Fix search for '}'

2022-04-19 Thread Kornel Benko
commit e774ec18760e93cf2eaa0118d246f3f475857976 Author: Kornel Benko Date: Tue Apr 19 23:28:27 2022 +0200 FindAdv: Fix search for '}' Problem occured if 1.) not using regex and 2.) search without format and 3.) the search pattern ended with '}'.

[LyX/master] Update sk.po

2022-04-19 Thread Kornel Benko
commit eb3e40ca6eea01817d821ce9b32fb0b14766051b Author: Kornel Benko Date: Tue Apr 19 23:35:31 2022 +0200 Update sk.po --- po/sk.po |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/po/sk.po b/po/sk.po index 723da0b..9f6c938 100644 --- a/po/sk.po +++ b/po

[LyX/master] FindAdv: Search also if layout of the searched paragraph has 'inpreamble' set

2022-04-23 Thread Kornel Benko
commit c7b6bf45196c6f57462ba8377ab597618d27d7dd Author: Kornel Benko Date: Sat Apr 23 20:33:47 2022 +0200 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

[LyX/master] FindAdv: Amend d09f5ce1: Added new debug level :findverbose

2022-04-24 Thread Kornel Benko
commit 3b7a79f137a09a68f9d1febfaacf5bf3dc07fe2d Author: Kornel Benko Date: Sun Apr 24 13:27:36 2022 +0200 FindAdv: Amend d09f5ce1: Added new debug level :findverbose Fix the GUI handling for the new value using now 'unsigned long long' instead of 'int' -

[LyX/master] Amend 3b7a79f1: Use Debug::base_type instead of 'unsigned long long' where possible

2022-04-24 Thread Kornel Benko
commit 98cc6acd0bb7643462367123d6fc31af81244d09 Author: Kornel Benko Date: Sun Apr 24 13:52:46 2022 +0200 Amend 3b7a79f1: Use Debug::base_type instead of 'unsigned long long' where possible --- src/frontends/qt/GuiProgressView.cpp |4 ++-- 1 files changed, 2 insert

[LyX/master] Update sk.po

2022-04-24 Thread Kornel Benko
commit 8b48e429dec32d729a355bd6acf9e388c98a5e71 Author: Kornel Benko Date: Sun Apr 24 17:38:33 2022 +0200 Update sk.po --- po/sk.po | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/po/sk.po b/po/sk.po index 9f6c938..959591a 100644 --- a/po/sk.po +++ b

[LyX/master] FindAdv: Avoid some duplicated code

2022-04-27 Thread Kornel Benko
commit 769df229dc2a95c0511f3e5510c772c02376c7f3 Author: Kornel Benko Date: Wed Apr 27 15:57:24 2022 +0200 FindAdv: Avoid some duplicated code Also handle (== ignore) \textgreek{} and \textcyrillic{} commands --- src/lyxfind.cpp | 33 +++-- 1 files

[LyX/master] FindAdv: Fix the length of leading string

2022-04-29 Thread Kornel Benko
commit 531fed9543b07cb06d23ba8f7276691d8fd6b9d6 Author: Kornel Benko Date: Fri Apr 29 19:23:50 2022 +0200 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

[LyX/master] Amend a83159f0: Use logical operator ||.

2022-04-29 Thread Kornel Benko
commit 48c069fa8aec72840dc55688e21c38c5dd321e66 Author: Kornel Benko Date: Fri Apr 29 19:56:12 2022 +0200 Amend a83159f0: Use logical operator ||. Clang is not mocking here, but it looks more consistent. --- src/BufferView.cpp |2 +- 1 files changed, 1 insertions(+), 1

[LyX/master] FindAdv: Re-add 'size' to the list of possible ignored formats

2022-04-30 Thread Kornel Benko
commit cbe2f613969fe92d9c14231f48d19749674f8e26 Author: Kornel Benko Date: Sat Apr 30 09:30:15 2022 +0200 FindAdv: Re-add 'size' to the list of possible ignored formats --- src/Font.cpp| 17 - src/lyxfind.cpp |9 - 2 files changed, 20 insert

[LyX/master] Update sk.po

2022-04-30 Thread Kornel Benko
commit 32367d3dc559e139d8ef310c5d70e9450a2515c3 Author: Kornel Benko Date: Sat Apr 30 20:00:38 2022 +0200 Update sk.po --- po/sk.po | 79 ++--- 1 files changed, 64 insertions(+), 15 deletions(-) diff --git a/po/sk.po b/po/sk.po

[LyX/master] Small addition concerning advanced find and regular expression

2022-05-01 Thread Kornel Benko
commit aec76acecc835920cfdd5ce0bdcd8c012d70f75e Author: Kornel Benko Date: Sun May 1 10:34:12 2022 +0200 Small addition concerning advanced find and regular expression --- lib/doc/UserGuide.lyx | 149 ++--- lib/ui/stdcontext.inc |2 +- 2

[LyX/master] FindAdv: Debug messages

2022-05-01 Thread Kornel Benko
commit 6a70a26a4aa2846bbe04048fed4121e817fc4fd9 Author: Kornel Benko Date: Sun May 1 16:03:45 2022 +0200 FindAdv: Debug messages --- src/lyxfind.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index ee92523..de512b8

[LyX/master] FindAdv: Better handling of lists

2022-05-03 Thread Kornel Benko
commit 02c7dbb824b8b1b61e0472336cb94c9be4aa674d Author: Kornel Benko Date: Tue May 3 16:31:52 2022 +0200 FindAdv: Better handling of lists Still not optimal if searching different languages inside a list. --- src/lyxfind.cpp | 33 ++--- 1 files

[LyX/master] FindAdv: Partly revert 02c7dbb8. Handle the space in Paragraph.cpp instead.

2022-05-04 Thread Kornel Benko
commit 9f30de3c5dfc036d2b0b8e51dd935c6300fc7286 Author: Kornel Benko Date: Wed May 4 15:59:57 2022 +0200 FindAdv: Partly revert 02c7dbb8. Handle the space in Paragraph.cpp instead. --- src/Paragraph.cpp | 19 ++- src/lyxfind.cpp | 22 -- 2 files

[LyX/master] FindAdv: Small improvements

2022-05-05 Thread Kornel Benko
commit 70a762f91c6d43234a0290fd8d869937597feb9d Author: Kornel Benko Date: Thu May 5 15:56:15 2022 +0200 FindAdv: Small improvements --- src/Paragraph.cpp |2 +- src/lyxfind.cpp |4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Paragraph.cpp b/src

[LyX/master] FindAdv: Simplify search for space also if not using regex

2022-05-06 Thread Kornel Benko
commit 627cd6dec2279f2adf473f789078861493a62a7f Author: Kornel Benko Date: Fri May 6 17:16:49 2022 +0200 FindAdv: Simplify search for space also if not using regex In the pattern-string convert occurences of ' ', '~' and the values we get with

[LyX/master] FindAdv: Amend 627cd6de: Use '~' instead of "\\ " for search if possible

2022-05-08 Thread Kornel Benko
commit 4bb427a2443d64bd01aad66ebdc0b3f802546bae Author: Kornel Benko Date: Sun May 8 14:30:45 2022 +0200 FindAdv: Amend 627cd6de: Use '~' instead of "\\ " for search if possible Also fix a thinko in interpreting the found values. The match_len describ

[LyX/master] FindAdv: Correct the 'fix' in 4bb427a2

2022-05-08 Thread Kornel Benko
commit 286dcfc9c767f1e791e219d9b282c62a40145f1b Author: Kornel Benko Date: Sun May 8 15:32:13 2022 +0200 FindAdv: Correct the 'fix' in 4bb427a2 :( --- src/lyxfind.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lyxfind.cpp b/src/l

[LyX/master] FindAdv: Handle normal and protected space also inside regular expression

2022-05-08 Thread Kornel Benko
commit 64af721adc1a6bc1b730214cbcb14dd7b8f3f2d9 Author: Kornel Benko Date: Sun May 8 20:24:43 2022 +0200 FindAdv: Handle normal and protected space also inside regular expression --- src/lyxfind.cpp | 17 - 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a

[LyX/master] FindAdv: Amend 64af721a

2022-05-08 Thread Kornel Benko
commit 441b0eab2370b8b6cbe0c0a75a1718405a4b6329 Author: Kornel Benko Date: Sun May 8 22:43:56 2022 +0200 FindAdv: Amend 64af721a The space handling is a nightmare. --- src/Paragraph.cpp |3 +++ src/insets/InsetSpace.cpp |8 ++-- src/lyxfind.cpp

[LyX/master] FindAdv: Use private variable for_search

2022-05-09 Thread Kornel Benko
commit 62ab563c257d64df879ac27c1d77a1f45aea68a9 Author: Kornel Benko Date: Mon May 9 22:06:02 2022 +0200 FindAdv: Use private variable for_search Using the new inline statements find_effective(), find_with_non_output(), find_with_deleted(), find_set_feature

[LyX/master] Amend a7c58e2f: Do not output hyperref option unicode with recent hyperref versions

2022-05-10 Thread Kornel Benko
commit 055e097a2561f69cedefc898e2eb7b2fc30e5ba1 Author: Kornel Benko Date: Tue May 10 11:37:39 2022 +0200 Amend a7c58e2f: Do not output hyperref option unicode with recent hyperref versions --- development/batchtests/beamer_test.tex.orig |4 ++-- 1 files changed, 2 insertions(+), 2

[LyX/master] Update sk.po

2022-05-10 Thread Kornel Benko
commit 4345c6a96e7e65c231ce8248f0c454665cbf2069 Author: Kornel Benko Date: Tue May 10 15:02:16 2022 +0200 Update sk.po --- po/sk.po | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/po/sk.po b/po/sk.po index a5c177d..f4eff67 100644 --- a/po

[LyX/master] FindAdv tests: update to new shortcuts

2022-05-10 Thread Kornel Benko
commit 10077521066919e8c7474b0f3d7bd2a2dfc4ade0 Author: Kornel Benko Date: Tue May 10 15:03:11 2022 +0200 FindAdv tests: update to new shortcuts --- development/autotests/findadv-05-in.txt |2 +- development/autotests/findadv-06-in.txt |4 ++-- development/autotests

[LyX/master] FindAdv: Do not insert space for '\n' if there already are spaces around

2022-05-11 Thread Kornel Benko
commit 8e256fbf0fb1fdffafe5bb35e18a0746d3ce8d1f Author: Kornel Benko Date: Wed May 11 17:42:50 2022 +0200 FindAdv: Do not insert space for '\n' if there already are spaces around --- src/lyxfind.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/l

[LyX/master] Update sk.po

2022-05-12 Thread Kornel Benko
commit 7838802fdb2acb72b9119a5bc14c52885d83fa59 Author: Kornel Benko Date: Thu May 12 13:20:10 2022 +0200 Update sk.po --- po/sk.po | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/po/sk.po b/po/sk.po index f4eff67..c62def9 100644 --- a/po/sk.po +++ b

[LyX/master] FindAdv: Remove invalid closings

2022-05-12 Thread Kornel Benko
commit 895aa9cd0f98f703b0563f65fc3c8f079307536e Author: Kornel Benko Date: Thu May 12 13:22:21 2022 +0200 FindAdv: Remove invalid closings If the searched area contains deleted parts, there may be more closing as opening parentheses in latex output. We have to remove them

[LyX/master] FindAdv: Use unicode for space where possible

2022-05-12 Thread Kornel Benko
commit 4b41f54575ed5e7408e74a36f8a9f093272b9e42 Author: Kornel Benko Date: Thu May 12 13:20:24 2022 +0200 FindAdv: Use unicode for space where possible Search for different space-types should be done with regular expression '\s' --- src/insets/InsetSpace.

[LyX/master] FindAdv: In format search could '$'-char be interpreted as math-start.

2022-05-13 Thread Kornel Benko
commit 6c735efb1fa34e167f0ae9f4a40f8127631200c3 Author: Kornel Benko Date: Fri May 13 09:30:30 2022 +0200 FindAdv: In format search could '$'-char be interpreted as math-start. To handle this case, we use '\lyxdollar' string instead. Also try t

[LyX/master] FindAdv: Amend 6c735efb: Resolve some conflicts regex vs. math meaning of '$'

2022-05-13 Thread Kornel Benko
commit b0323628af817a08730be464b1fbe250b96b82e1 Author: Kornel Benko Date: Fri May 13 12:00:47 2022 +0200 FindAdv: Amend 6c735efb: Resolve some conflicts regex vs. math meaning of '$' --- src/lyxfind.cpp | 24 +++- 1 files changed, 15 insertions(+), 9

[LyX/master] FindAdv: Don't check on '\\\\\n' if ignoring format

2022-05-14 Thread Kornel Benko
commit 115d6ceeddf90a71fcb0556411b3c68aae63ddad Author: Kornel Benko Date: Sat May 14 08:56:00 2022 +0200 FindAdv: Don't check on '\n' if ignoring format Since it can only happen if the lyx source contains two backslasches before the inserted newline. And

[LyX/master] FindAdv: Do not handle stale empty latex commands if not in format-search mode

2022-05-14 Thread Kornel Benko
commit f845a4e9a38897d86d4e713024d1f5e2b990df21 Author: Kornel Benko Date: Sat May 14 09:25:06 2022 +0200 FindAdv: Do not handle stale empty latex commands if not in format-search mode In non-format-search mode, we do not have any latex commands here. --- src/lyxfind.cpp | 22

[LyX/master] FindAdv: Amend f845a4e9

2022-05-14 Thread Kornel Benko
commit cd6d21ebb3c66a60a38b371e66179bac6e8044ed Author: Kornel Benko Date: Sat May 14 09:51:23 2022 +0200 FindAdv: Amend f845a4e9 Also do not remove '\n' if in non-format-search mode. Otherwise '\n' cannot be found with regex '\s' --- src/lyxfin

[LyX/master] Ctests: Adapt test 06 to changed shortcut

2022-05-14 Thread Kornel Benko
commit 3576be9a3b63ccea5f94f7eda8bf56d4d3c3495a Author: Kornel Benko Date: Sat May 14 14:49:03 2022 +0200 Ctests: Adapt test 06 to changed shortcut --- development/autotests/findadv-06-in.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/development/autotests

[LyX/master] FindAdv: Amend(2) f845a4e9

2022-05-14 Thread Kornel Benko
commit 1464bd3f3fc9895affadf56d12c68e9751983ad1 Author: Kornel Benko Date: Sat May 14 14:49:52 2022 +0200 FindAdv: Amend(2) f845a4e9 Removing '\n' like in previous version with utf8-strings This is needed e.g. for display math, which comes as "\n\\

[LyX/master] FindAdv: Do not search for accents if the command-parameter contains '\\'

2022-05-20 Thread Kornel Benko
commit 9e1925847849c4de4abb547b7994859d53862325 Author: Kornel Benko Date: Fri May 20 12:46:26 2022 +0200 FindAdv: Do not search for accents if the command-parameter contains '\\' The only exception are command-parameters '\\i', '\\imath' or 

[LyX/master] FindAdv:

2022-05-24 Thread Kornel Benko
commit d12bf6f9792a73ef6b8714747c67a70b7b23a116 Author: Kornel Benko Date: Tue May 24 23:41:31 2022 +0200 FindAdv: 1.) Changed arrays dept and closes to vector-type because of runtime error in UserGuide.lyx with a big paragraph (size > 8900 chars) contained too m

[LyX/master] FindAdv: Attempt to make the code less crabbed

2022-05-25 Thread Kornel Benko
commit df82386ce68cd7c94ae388f18a16d30578d1f7d4 Author: Kornel Benko Date: Wed May 25 20:43:49 2022 +0200 FindAdv: Attempt to make the code less crabbed 1.) The type of variable at_begin changes from bool to enum matchType true -> MatchStringAdv::MatchFromSt

[LyX/master] FindAdv: Fix expression checking for 'int' as if it were bool

2022-05-25 Thread Kornel Benko
commit bf60c6106641db7b756dacfb560eabaf399fe154 Author: Kornel Benko Date: Wed May 25 21:34:17 2022 +0200 FindAdv: Fix expression checking for 'int' as if it were bool Since the element 'match_len' in class MatchResult is an integer, the check 'if (!m

[LyX/master] FindAdv: If searching for whole words, handle also the case that we are starting in the mid of a word.

2022-05-26 Thread Kornel Benko
commit 652ffc9c84cab430fa199c0afeae4de22a891379 Author: Kornel Benko Date: Thu May 26 13:32:25 2022 +0200 FindAdv: If searching for whole words, handle also the case that we are starting in the mid of a word. In this case we skip the undesired word-characters before starting the

[LyX/master] Amend b73ab025: Fix compilation with gcc-12

2022-05-26 Thread Kornel Benko
commit 1ef1808c935ae7e89a988ea390ee26e9aa499b86 Author: Kornel Benko Date: Thu May 26 14:05:49 2022 +0200 Amend b73ab025: Fix compilation with gcc-12 --- src/lyxfind.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index

[LyX/master] FindAdv: Amend 652ffc9c: have to check inTexted() before using Paragraph

2022-05-26 Thread Kornel Benko
commit 567d0e8fb4f42cefbce03487b57d51f17ed042cf Author: Kornel Benko Date: Thu May 26 17:17:49 2022 +0200 FindAdv: Amend 652ffc9c: have to check inTexted() before using Paragraph --- src/lyxfind.cpp | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) diff

[LyX/master] FindAdv: Amend 652ffc9c(2): Fix handling search for whole words if in mathed.

2022-05-28 Thread Kornel Benko
commit 0d6e3bcdc373a99d93e6bb09d8c55b6a87b6be8c Author: Kornel Benko Date: Sat May 28 21:17:13 2022 +0200 FindAdv: Amend 652ffc9c(2): Fix handling search for whole words if in mathed. Didn't know, how to get char-value cursor is pointing to. Hopefully someone knows a b

[LyX/master] Introduce isNumberChar(char_type) function

2022-05-29 Thread Kornel Benko
commit 82af8778f1b7f73e6f33a9c6d57da061f567457f Author: Kornel Benko Date: Sun May 29 12:06:18 2022 +0200 Introduce isNumberChar(char_type) function In FindAdv we use Qt to interpret regular expressions. Regex uses for instance '\w', '\d' etc. '\d&

[LyX/master] Guard 'isNumberChar()' from char outside ucs4-range

2022-05-29 Thread Kornel Benko
commit 5f5a43eb9e531d10930b7bd922259c6294cef55b Author: Kornel Benko Date: Sun May 29 14:08:36 2022 +0200 Guard 'isNumberChar()' from char outside ucs4-range --- src/support/lstrings.cpp |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/support/lstr

[LyX/master] FindAdv: Use modified check to determine if char is a word-char.

2022-05-29 Thread Kornel Benko
commit 46c573c082f2428f6884ba3f773c34a846cf3557 Author: Kornel Benko Date: Sun May 29 14:12:38 2022 +0200 FindAdv: Use modified check to determine if char is a word-char. Amends 652ffc9c(3) --- src/lyxfind.cpp | 18 ++ 1 files changed, 10 insertions(+), 8

[LyX/master] Amend 9d8dfe934ba: Check _all_ visited dirs

2022-06-02 Thread Kornel Benko
commit a379c5d5ea35430c205b430ad1d89516ba371487 Author: Kornel Benko Date: Thu Jun 2 12:16:07 2022 +0200 Amend 9d8dfe934ba: Check _all_ visited dirs --- lib/scripts/TeXFiles.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/scripts/TeXFiles.py b/lib/scripts

[LyX/master] FindAdv: Remove needless functions

2022-06-06 Thread Kornel Benko
commit d0862d59e6b56c70141b4e799e19e04aaa1be55f Author: Kornel Benko Date: Mon Jun 6 13:18:08 2022 +0200 FindAdv: Remove needless functions --- src/lyxfind.cpp | 80 +++ 1 files changed, 4 insertions(+), 76 deletions(-) diff --git a

[LyX/master] Update sk.po

2022-06-12 Thread Kornel Benko
commit 4ec85ba5d1cbd241945a4c95f458a782d897bbbe Author: Kornel Benko Date: Sun Jun 12 15:48:34 2022 +0200 Update sk.po --- po/sk.po | 348 ++ 1 files changed, 213 insertions(+), 135 deletions(-) diff --git a/po/sk.po b/po/sk.po

[LyX/master] Update sk.po

2022-06-14 Thread Kornel Benko
commit ef5e11b0a7b069d237b584f16e687196feec10f9 Author: Kornel Benko Date: Tue Jun 14 18:07:35 2022 +0200 Update sk.po --- po/sk.po | 40 +++- 1 files changed, 27 insertions(+), 13 deletions(-) diff --git a/po/sk.po b/po/sk.po index 9fdaa8c..ed3bd7b

[LyX/master] Update sk.po

2022-07-04 Thread Kornel Benko
commit e481981dea93eab0a84c8e54d5dae1be258d8f49 Author: Kornel Benko Date: Tue Jul 5 08:58:40 2022 +0200 Update sk.po --- po/sk.po |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/po/sk.po b/po/sk.po index ed3bd7b..649876d 100644 --- a/po/sk.po +++ b/po/sk.po

  1   2   3   4   5   6   7   8   9   10   >