Kornel Benko
29b9dd8b2f
FindAdv: Search for 'whole words' with help of modified regex.
2021-01-10 23:02:55 +01:00
Stephan Witt
2844a4ec06
drop unintented static declaration from local temporary variable (formerly a global static constant)
2021-01-10 22:03:19 +01:00
Kornel Benko
31c3bddd6e
FindAdv: Converting patterns without regex to use regex instead
...
Makes the code with less exceptions
(no need to differentiate beteen use_regex and !use_regex)
Move the creation of regexes to own subroutine (Handles '#if QTSEARCH ... #endif')
Use cursor position differences instead of length of matched string. This is important for putSelectionAt()
2021-01-10 17:17:37 +01:00
Juergen Spitzmueller
c77ab339c1
Avoid \@ifundefined after user preamble
...
Users might have used \makeatother (#11163 ).
\ifdefined (of e-tex) can be considered available nowadays.
2021-01-10 09:55:45 +01:00
Richard Kimberly Heck
98bfbe9ddf
Fix bug #6128 .
2021-01-10 02:40:12 -05:00
Richard Kimberly Heck
2fcc764728
Fix problem with display of include insets with non-existent files.
2021-01-10 02:08:18 -05:00
Richard Kimberly Heck
3f3d769107
Count words in hyperlink
2021-01-10 01:54:40 -05:00
Richard Kimberly Heck
12bb380941
Fix bug #5972 : Count words in citations (approximately).
2021-01-10 01:43:34 -05:00
Richard Kimberly Heck
50b99f810f
Fix bug #3205 .
...
Allows external edit of non-existent files.
2021-01-10 00:43:01 -05:00
Richard Kimberly Heck
ed2d3e199f
Fix bug #4241 : Addition to Intro
2021-01-09 22:17:52 -05:00
Richard Kimberly Heck
9446aa3640
Fix bug #11030 .
...
Factor out the code that connects to a newly created dialog and then
use that also in GuiGraphics.
There must be many other dialogs that need this same treatment....
2021-01-09 20:33:23 -05:00
Richard Kimberly Heck
e438c0f90b
Fix bug #11010 .
...
Handle LFUN_PHANTOM_INSERT in math.
2021-01-09 19:17:47 -05:00
Richard Kimberly Heck
d908263908
nullptr
2021-01-09 19:02:19 -05:00
Richard Kimberly Heck
725bee17b1
Show plural and caps status for formatted references. Rest of #11073 .
...
Patch from Daniel, more or less.
2021-01-09 18:06:50 -05:00
Richard Kimberly Heck
b564fd01ef
Update buffer after changing reference options. Part of #11073 .
2021-01-09 17:59:07 -05:00
Richard Kimberly Heck
6821249994
Fix bug #11097
2021-01-09 17:41:50 -05:00
Scott Kostyshak
fdc4f047d6
ctests: invert old lyx2lyx tests for ar Beamer
...
This is consistent with the lyx2lyx tests for Beamer in other
languages.
2021-01-09 13:01:26 -05:00
Kornel Benko
60980b0eda
FindAdv: Amend 474cb42e
, implement sub-match replace.
2021-01-09 17:03:30 +01:00
Yuriy Skalko
0b588de771
Update ru.po
2021-01-09 12:38:02 +02:00
Yuriy Skalko
854c9de8fa
Add move constructor and move assignment operator for FileName class
2021-01-09 11:23:33 +02:00
Juergen Spitzmueller
73df32bec4
Disambiguate homographic inflections
...
These are not homographic in other languages
(e.g. German "Öffnen" vs. "Geöffnet")
2021-01-09 09:44:38 +01:00
Juergen Spitzmueller
fbd695fc35
de.po
2021-01-09 09:43:10 +01:00
Juergen Spitzmueller
b5f83881ab
Amend aaaae562db
2021-01-09 09:17:41 +01:00
Juergen Spitzmueller
5d90968f7a
Arabic Beamer: set XeTeX as Default Output Format
...
LuaTeX (luabidi, for that matter) does not work well.
Also set some command texts in ERT, for readability.
2021-01-09 09:07:25 +01:00
Jean-Marc Lasgouttes
9e1db65932
Move handling of LFUN_COPY to BufferView
...
It turns out that the code is the same in texted ans mathed and that
whatever is done in InsetTabular is not useful.
This means that we do not need to deal Text::dispatch idiosyncrasies
(in particular forcing the cursor to be visible).
Fix bug #11225 .
2021-01-08 19:31:42 +01:00
Kornel Benko
474cb42e21
Update sk.po
2021-01-08 12:23:49 +01:00
Kornel Benko
c3cda5ffd4
FindAdv: Save sub-matches in MatchStringAdv class
...
Prepare for use while replacing:
(backslashed numbers in the replace buffer should be replaced with the relevant
sub-matched strings.)
2021-01-08 12:05:51 +01:00
Juergen Spitzmueller
79ef5694d1
Use nomath font also if other font package is selected ( #11733 )
2021-01-08 11:18:18 +01:00
Jean-Marc Lasgouttes
20e1fe4674
Fixup 2a80b0ac01
: fix the StartupWMClass in desktop file
2021-01-08 10:11:23 +01:00
Juergen Spitzmueller
92284d1c36
Make Arabic Beamer compile
2021-01-08 09:46:59 +01:00
Juergen Spitzmueller
cc5718d1eb
Amend [6887bc5c/lyxgit]
...
Use a more specific storage command
2021-01-08 09:22:55 +01:00
Scott Kostyshak
5fb3171eeb
ctests: invert ru Shortcuts failures from varioref
...
Consistent with ru Math and Additional.
2021-01-07 20:12:05 -05:00
Richard Kimberly Heck
81413e77ee
Amend cf07d4825
2021-01-07 15:56:55 -05:00
Richard Kimberly Heck
6887bc5c1d
Fix bug #8921
2021-01-07 11:19:17 -05:00
Kornel Benko
f2e49938f3
FindAdv: Save found matches (e.g. \0, \1, \2, ...)
...
Only while debugging for now. Later we may use the saved values in replace string
2021-01-07 17:04:27 +01:00
Juergen Spitzmueller
8100b5384d
Remove wrong dots from hu.po ( #11573 )
2021-01-07 16:37:12 +01:00
Juergen Spitzmueller
e947cdab3e
Properly disable Apply/OK in InsetParamsDialog ( #11440 )
2021-01-07 13:28:10 +01:00
Juergen Spitzmueller
7a992bb699
GuiParagraph: apply pending changes when setting "immediate apply" ( #11592 )
2021-01-07 13:06:15 +01:00
Jean-Marc Lasgouttes
c10aa3064f
typo
2021-01-07 12:36:36 +01:00
Juergen Spitzmueller
6430931e27
Hint to deleted included file in ct output ( #11809 )
2021-01-07 12:08:59 +01:00
Juergen Spitzmueller
aaaae562db
Fix nesting issue in environment-split ( #11971 )
2021-01-07 11:53:35 +01:00
Scott Kostyshak
decbb308e8
ctests: invert ar Beamer template
...
DocBook export is not expected to work with Beamer templates.
2021-01-06 22:54:53 -05:00
Enrico Forestieri
fece5d4f37
Correctly terminate a user math macro in certain circumstances
...
If a macro has only optionals and none is specified and a [ immediately
follows, we have to terminate the macro with {}, otherwise what follows
is taken to be an optional argument.
Fixes #11665 .
2021-01-07 00:57:36 +01:00
Jean-Marc Lasgouttes
99e636ae7b
Display bookmarks in the workarea.
...
The bookmarks are added as virtual elements in display Rows. Bookmarks
are shown with circled numbers. A new color "bookmarks" has been
added. Currently bookmark 0 (the return position) is not displayed
because it is very disturbing in practice.
To make this work, a new method BookmarksSection::bookmarksInPar
retuns the list of bookmarks in a paragraph along with their position.
Force redraw when using bookmark-save and bookmark-clear.
Fixes bug #2496 .
2021-01-06 20:20:03 +01:00
Jean-Marc Lasgouttes
b64b1aa85e
Fix use of BookmarkSection::size()
...
The value was 9 instead of 10, which forced its users to use unusual code.
2021-01-06 19:33:20 +01:00
Jean-Marc Lasgouttes
e1261817d2
fix Row::findElement when there is a Virtual element
2021-01-06 18:49:41 +01:00
Jean-Marc Lasgouttes
51b37cd4d8
Remove some useless Row:: prefixes
2021-01-06 18:15:19 +01:00
Jean-Marc Lasgouttes
9c37cb4759
Style cleanup to bookmark code
2021-01-06 18:15:19 +01:00
Kornel Benko
54a0b95a2b
Amend 6211469b
: FindAdv: Fine tuning
...
Handle gracefully multiple '\\'
2021-01-06 14:22:26 +01:00
Thibaut Cuvelier
3fdd05a7fa
When previewing a document, use the right kind of comment.
...
This avoids generating % for HTML or DocBook: % indicates a comment in TeX, but not in XML, it's just a character. The snippet that is shown is therefore not valid.
2021-01-06 14:08:00 +01:00