Fix#4981:
If the first or last column is deleted, the borders are preserved.
Similarly for the last row, but not for the first row. Selections are
supported.
Based on a patch by Zahari Dimitrov.
(cherry picked from commit 1954458817f80ac15d670a9732469066994ef08a)
It was only needed for getting hex names of colors. So, get them
directly from a ColorCache object with default mapping.
Conflicts:
src/graphics/PreviewLoader.cpp
Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.
Related to #1802.
(cherry picked from commit 4b706051b73ece2d806bc8b4daf430f2e0be6995)
Fix#4981:
In tabular if a vertical selection is made with the keyboard (e.g.
LFUN_UP_SELECT), the selection is drawn if there are two cells selected.
Previously, the selection would be drawn only if there were more than
two selected.
(cherry picked from commit 5cc1adf7c7a348aae4f9471d7edb41c8570311d7)
If you have a selection across cells in tabular, moving the cursor
vertically up or down (e.g. LFUN_UP) now removes the drawn selection.
Before, the selection was set to false but it was not repainted.
(cherry picked from commit 776e66688f65955b6baa556f83ca34e13c7484ff)
for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
(cherry picked from commit 945c0e4127e0393ee50907e9aa7f04a2c972a5fc)
The listings inset does automatically load the color package if any parameter
contains \color. As mentioned in bug #8066 tex2lyx needs to be aware of this,
so the \usepckage{color} is automatically skipped in these cases.
The old fix was incomplete (\verb~\~ was translated to \verb~~ in roundtrip).
The real cause for this bug (and also the mistranslation of \href{...}{\}})
was the misbehaviour of Token::character() (see comment in Parser.h): This
method even returns a character if the category is catEscape, and this is not
wanted in most (all?) cases.
- Parser.cpp: \verb can have any character as delimiter (except of ASCII letters) not only '+', therefore partly revert [3943b887/lyxgit] and fix it for all cases
Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.
(cherry picked from commit 72c2a72afd3ddadbbd00de68bbb01ac04f71399b)