]> git.lyx.org Git - lyx.git/log
lyx.git
10 months agoWhitespace
Scott Kostyshak [Mon, 31 Jul 2023 22:41:11 +0000 (18:41 -0400)]
Whitespace

Use tab for consistency.

10 months agoLayout typo
Scott Kostyshak [Mon, 31 Jul 2023 22:37:10 +0000 (18:37 -0400)]
Layout typo

Amends e932dc45.

11 months agoFix reference to temporary
Richard Kimberly Heck [Sat, 29 Jul 2023 18:41:22 +0000 (14:41 -0400)]
Fix reference to temporary

11 months agoFix up 04fc48d790.
Richard Kimberly Heck [Sat, 29 Jul 2023 17:53:59 +0000 (13:53 -0400)]
Fix up 04fc48d790.

11 months agoFix silly mistake in 04fc48d79
Richard Kimberly Heck [Sat, 29 Jul 2023 16:34:38 +0000 (12:34 -0400)]
Fix silly mistake in 04fc48d79

11 months agoFix copy/paste error
Richard Kimberly Heck [Sat, 29 Jul 2023 16:27:31 +0000 (12:27 -0400)]
Fix copy/paste error

11 months agoUpdate sk.po
Kornel Benko [Sat, 29 Jul 2023 13:13:34 +0000 (15:13 +0200)]
Update sk.po

11 months agoCatch another potential crash of the same kind as in the previous commit.
Richard Kimberly Heck [Sat, 29 Jul 2023 03:08:39 +0000 (23:08 -0400)]
Catch another potential crash of the same kind as in the previous commit.

Also refactor.

11 months agoFix crash when modifying an InsetRef inserted by the current author.
Richard Kimberly Heck [Sat, 29 Jul 2023 02:57:57 +0000 (22:57 -0400)]
Fix crash when modifying an InsetRef inserted by the current author.

The problem was that, in this case, we actually delete the current inset
in changeCmdName. So when we return from that and attempt to call initView(),
we're in a non-existent inset.

11 months agoDocumentation for new layout features: RefFormat
Richard Kimberly Heck [Fri, 28 Jul 2023 23:54:02 +0000 (19:54 -0400)]
Documentation for new layout features: RefFormat

11 months agoAdd a bunch of RefFormat and PrettyFormat tags.
Richard Kimberly Heck [Fri, 28 Jul 2023 22:22:14 +0000 (18:22 -0400)]
Add a bunch of RefFormat and PrettyFormat tags.

11 months agoUpdate layouts.
Richard Kimberly Heck [Fri, 28 Jul 2023 22:21:47 +0000 (18:21 -0400)]
Update layouts.

11 months agoRemove debug code
Richard Kimberly Heck [Fri, 28 Jul 2023 21:51:55 +0000 (17:51 -0400)]
Remove debug code

11 months agoNew RefFormat tag for counters, and PrettyFormat for floats.
Richard Kimberly Heck [Fri, 28 Jul 2023 21:37:13 +0000 (17:37 -0400)]
New RefFormat tag for counters, and PrettyFormat for floats.

Layout format updated to 104.

11 months agoWhitespace
Richard Kimberly Heck [Fri, 28 Jul 2023 21:16:06 +0000 (17:16 -0400)]
Whitespace

11 months agoPolish
Richard Kimberly Heck [Fri, 28 Jul 2023 21:12:13 +0000 (17:12 -0400)]
Polish

11 months agoFix some pretty counters.
Richard Kimberly Heck [Fri, 28 Jul 2023 16:49:53 +0000 (12:49 -0400)]
Fix some pretty counters.

Polish for c609e9cbcf.

11 months agoFix bug #12006. New icons for changes.
Daniel Ramoeller [Fri, 28 Jul 2023 16:19:29 +0000 (12:19 -0400)]
Fix bug #12006. New icons for changes.

11 months agoFix bug #12337. Reorder plural and caps indicators.
Richard Kimberly Heck [Fri, 28 Jul 2023 16:10:21 +0000 (12:10 -0400)]
Fix bug #12337. Reorder plural and caps indicators.

11 months agoFix bug #12235: Select text in search field on opening.
Richard Kimberly Heck [Thu, 27 Jul 2023 22:45:10 +0000 (18:45 -0400)]
Fix bug #12235: Select text in search field on opening.

Patch slightly modified from one by Daniel.

11 months agoHack to display section symbol
Richard Kimberly Heck [Thu, 27 Jul 2023 05:18:55 +0000 (01:18 -0400)]
Hack to display section symbol

11 months agoFix wrong nesting in Outline.
Pavel Sanda [Fri, 28 Jul 2023 08:31:54 +0000 (10:31 +0200)]
Fix wrong nesting in Outline.

Fixes #12814, patch from Yuriy.

11 months agoUpdate sk.po
Kornel Benko [Fri, 28 Jul 2023 08:17:08 +0000 (10:17 +0200)]
Update sk.po

11 months agoUpdate layouts
Richard Kimberly Heck [Fri, 28 Jul 2023 01:22:17 +0000 (21:22 -0400)]
Update layouts

11 months agoFix bug #11822.
Richard Kimberly Heck [Fri, 28 Jul 2023 01:20:53 +0000 (21:20 -0400)]
Fix bug #11822.

Allow counter formatting strings in PrettyFormat. Patch from Daniel.

11 months agoFix bug #12819.
Richard Kimberly Heck [Thu, 27 Jul 2023 22:12:54 +0000 (18:12 -0400)]
Fix bug #12819.

Pop a warning and mark the buffer dirty if the file is deleted from disk.

11 months agoAdd FIXME for bug #12828
Richard Kimberly Heck [Thu, 27 Jul 2023 22:08:23 +0000 (18:08 -0400)]
Add FIXME for bug #12828

11 months ago* cs.po
Pavel Sanda [Thu, 27 Jul 2023 21:24:45 +0000 (23:24 +0200)]
* cs.po

11 months agoRemerge cs.po
Pavel Sanda [Thu, 27 Jul 2023 21:02:39 +0000 (23:02 +0200)]
Remerge cs.po

11 months agoSave translators time, already used on different places.
Pavel Sanda [Thu, 27 Jul 2023 21:23:18 +0000 (23:23 +0200)]
Save translators time, already used on different places.

11 months agoFix warning
Richard Kimberly Heck [Thu, 27 Jul 2023 20:56:48 +0000 (16:56 -0400)]
Fix warning

11 months agoRevert a9c6fb0c.
Pavel Sanda [Thu, 27 Jul 2023 20:39:49 +0000 (22:39 +0200)]
Revert a9c6fb0c.

Causes regression, see #12841.

11 months agoUse non breaking space
Richard Kimberly Heck [Thu, 27 Jul 2023 20:36:11 +0000 (16:36 -0400)]
Use non breaking space

11 months agoUpdate sk.po
Kornel Benko [Thu, 27 Jul 2023 09:31:21 +0000 (11:31 +0200)]
Update sk.po

11 months agoMore consistent line spacing/leading
Daniel Ramoeller [Tue, 22 Sep 2020 04:28:06 +0000 (06:28 +0200)]
More consistent line spacing/leading

Uses maxHeight (= maxAscent + maxDescent) as leading.

Fix for bug #11818.

11 months agoXHTML: remove deferred text in InsetListings, fixing 12007.
Thibaut Cuvelier [Thu, 27 Jul 2023 01:12:56 +0000 (03:12 +0200)]
XHTML: remove deferred text in InsetListings, fixing 12007.

11 months agoBefore this patch, each character within InsetMathClass was output separately, withou...
Thibaut Cuvelier [Thu, 27 Jul 2023 05:21:46 +0000 (01:21 -0400)]
Before this patch, each character within InsetMathClass was output separately, without understanding their meaning, using the default text output (with [] around each character). This commit changes the behaviour to skip the InsetMathClass during the MathML output. This effectively renders the inset useless for MathML (instead of controlling spacing), as expected, because the MathML processor is supposed to handle the spacing itself.

Another implementation would have been to use the lspace and rspace attributes in MathML, but they require to give the exact spacing before and after the operator instead of relying on rules like TeX.

For instance, `$a\mathbin{+}b$` resulted in this MathML output before the patch:

```
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
 <mi>a</mi><!--  -->
 <mi>[mathbin [char + mathalpha]]</mi>
 <mi>b</mi>
</mrow>
</math>
```

For comparison, this was the output with LyX 2.3.7

```
<math xmlns="http://www.w3.org/1998/Math/MathML">
 <mrow>
  <mrow><mi>a</mi><!--  -->
   <mi>[mathbin [char + mathalpha]]
   </mi><mi>b</mi>
  </mrow>
 </mrow></math>
 ```

 After this patch, it looks like:

 ```
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mstyle class='math'>
  <mrow>
   <mi>a</mi>
   <mo>+</mo>
   <mi>b</mi>
  </mrow>
 </mstyle>
 </math>
 ```

11 months agoSlight rearrangement
Richard Kimberly Heck [Thu, 27 Jul 2023 04:40:13 +0000 (00:40 -0400)]
Slight rearrangement

11 months agoAmend 137fd291c2a for cmake (change of AC_INIT params)
Kornel Benko [Thu, 27 Jul 2023 05:10:32 +0000 (07:10 +0200)]
Amend 137fd291c2a for cmake (change of AC_INIT params)

11 months agoFix bug #8741
Richard Kimberly Heck [Thu, 27 Jul 2023 04:09:26 +0000 (00:09 -0400)]
Fix bug #8741

11 months agoChange version to one that RPM will accept.
Richard Kimberly Heck [Wed, 26 Jul 2023 23:45:16 +0000 (19:45 -0400)]
Change version to one that RPM will accept.

11 months agoFix make rpmdist
Pavel Sanda [Wed, 26 Jul 2023 22:45:01 +0000 (00:45 +0200)]
Fix make rpmdist

RPM build errors:
 Installed (but unpackaged) file(s) found:
 /usr/share/metainfo/org.lyx.LyX.metainfo.xml

11 months agoBeamer layout: fix issue 8767
Thibaut Cuvelier [Wed, 26 Jul 2023 21:58:18 +0000 (23:58 +0200)]
Beamer layout: fix issue 8767

The "Frame" label was shown for each Beamer frame.

11 months agoMake Alt-escape work for search as well
Richard Kimberly Heck [Wed, 26 Jul 2023 20:52:17 +0000 (16:52 -0400)]
Make Alt-escape work for search as well

11 months agoRestore some checks that were useful for search
Jean-Marc Lasgouttes [Wed, 26 Jul 2023 19:13:51 +0000 (21:13 +0200)]
Restore some checks that were useful for search

It is really back of the enveloppe spacing, but people liked it this way.

Fixes ticket #12767.

11 months agoUse Alt-Escape to float and unfloat dock widgets.
Richard Kimberly Heck [Wed, 26 Jul 2023 18:24:37 +0000 (14:24 -0400)]
Use Alt-Escape to float and unfloat dock widgets.

For some reason, redocking is not working for me at all. This
key seems free.

11 months agoDisplay equation/theorem numbers in insert cross reference dialog.
Alexander Dunlap [Wed, 26 Jul 2023 17:35:42 +0000 (13:35 -0400)]
Display equation/theorem numbers in insert cross reference dialog.

Fixes bug #11466,

11 months agoImprove AllowedOccurrences
Juergen Spitzmueller [Wed, 26 Jul 2023 07:53:25 +0000 (09:53 +0200)]
Improve AllowedOccurrences

This does now apply to the whole inset or paragraph group (not to the
current paragraph only) unless the new boolean AllowedOccurrencesPerItem
is set and we are in a list-type environment.

Amends 729ab602ca70

11 months agoUpdate from Koji
Richard Kimberly Heck [Wed, 26 Jul 2023 02:04:23 +0000 (22:04 -0400)]
Update from Koji

11 months agoTo finish up #6854, also add AllowedOccurrences
Juergen Spitzmueller [Tue, 25 Jul 2023 13:49:53 +0000 (15:49 +0200)]
To finish up #6854, also add AllowedOccurrences

Again very basic for now (this only considers the current paragraph,
not the whole inset or a serious of grouped layouts

11 months agoUpdate layouts
Juergen Spitzmueller [Tue, 25 Jul 2023 11:44:29 +0000 (13:44 +0200)]
Update layouts

11 months agoImplement new tags in some layouts
Juergen Spitzmueller [Tue, 25 Jul 2023 11:40:23 +0000 (13:40 +0200)]
Implement new tags in some layouts

11 months agoAdd AllowedInInsets and AllowedInLayouts InsetLayout tags
Juergen Spitzmueller [Tue, 25 Jul 2023 11:37:07 +0000 (13:37 +0200)]
Add AllowedInInsets and AllowedInLayouts InsetLayout tags

This allows to restrict the use of flex insets to specific contexts.

Note that this is currently very basis. It only considers immediately
containing insets/layouts and can be surpassed via cut and paste.

The use case that made me finally implement this are macros in covington
that make sense only in specific environments (but also consider \inst
in some article classes)

11 months agoWhitespace
Juergen Spitzmueller [Tue, 25 Jul 2023 09:13:18 +0000 (11:13 +0200)]
Whitespace

11 months agode.po
Juergen Spitzmueller [Mon, 24 Jul 2023 14:59:32 +0000 (16:59 +0200)]
de.po

11 months ago Update fr.po
jpc [Mon, 24 Jul 2023 09:54:06 +0000 (11:54 +0200)]
         Update fr.po

11 months ago* RELEASE-NOTES
Pavel Sanda [Mon, 24 Jul 2023 09:39:44 +0000 (11:39 +0200)]
* RELEASE-NOTES

11 months agoDisplay footnote labels as superscripts
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 14:53:14 +0000 (16:53 +0200)]
Display footnote labels as superscripts

A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.

This is used for the footnote counter.

The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).

We use this occasion to set footnote text in footnotesize, as it should.

A couple of changes are done to the code to make the button label and
tooltip look better.

Fixes bug #12238.

11 months agoAdd accelerators
Juergen Spitzmueller [Mon, 24 Jul 2023 08:33:20 +0000 (10:33 +0200)]
Add accelerators

11 months agoFix casing
Juergen Spitzmueller [Mon, 24 Jul 2023 08:26:57 +0000 (10:26 +0200)]
Fix casing

11 months agoAdd Edit External to ERT context menu
Richard Kimberly Heck [Mon, 24 Jul 2023 01:07:55 +0000 (21:07 -0400)]
Add Edit External to ERT context menu

11 months agoAdd a "nogui" option to the inset-edit lfun (bug 11956).
Pavel Sanda [Sun, 23 Jul 2023 23:21:52 +0000 (01:21 +0200)]
Add a "nogui" option to the inset-edit lfun (bug 11956).

11 months agoImprove branch activatiion LFUNs
Jean-Marc Lasgouttes [Thu, 20 Jul 2023 21:42:34 +0000 (23:42 +0200)]
Improve branch activatiion LFUNs

* put the code that is called both from Buffer and InsetBrach in the
  two helper methods Buffer::branchActivationStatus() and
  Buffer::branchActivationDispatch().

* Cleanup the code so that _MASTER_ lfuns are disabled when there is
  no master document.

* When changing branches in the master buffer, make the buffer visible
  if it is not, and make sure that undo information is recorded.

* The code in Buffer::dispatch is used first, and it gives control to
  the branch inset code if no branch name has been specified.

Fixes bug #12588.

11 months agoFix issues with inset-dissolve in mathed
Jean-Marc Lasgouttes [Sun, 23 Jul 2023 15:34:01 +0000 (17:34 +0200)]
Fix issues with inset-dissolve in mathed

* do not try to dissolve a macro template inset (avoids a crash)
* disable inset-dissolve when an argument is given
* when triggered by the AtPoint mechanism, make sur to dissolve the
  right inset.

Fixes bug #12562.

11 months agoRevert "Fix crash when dissolving a top level math inset"
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 22:22:22 +0000 (00:22 +0200)]
Revert "Fix crash when dissolving a top level math inset"

The code was too convoluted and actually wrong (the -1 should have been -2).

This reverts commit c75522bbb7a0044f2370ced294a27738d47935ea.

11 months agoupdate layout files to format 101
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 21:36:34 +0000 (23:36 +0200)]
update layout files to format 101

11 months agoReplace hardcoded inheritFont() with InheritFont InsetLayout tag
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 21:27:09 +0000 (23:27 +0200)]
Replace hardcoded inheritFont() with InheritFont InsetLayout tag

Each removed inheritFont method is replaced by a 'InheritFont false'
line in the relevant InsetLayout entry.

Add code to layout2layout that does this automatically when the entry
is missing.

The case of InsetScript is special, since the inheritFont() was not
needed here: the default is indeed true.

Fixes bug #12238.

11 months agoUpdate sk.po
Kornel Benko [Sat, 22 Jul 2023 18:38:44 +0000 (20:38 +0200)]
Update sk.po

11 months agoFix application of PARAGRAPH_PARAMS* in selection.
Pavel Sanda [Sat, 22 Jul 2023 15:46:23 +0000 (17:46 +0200)]
Fix application of PARAGRAPH_PARAMS* in selection.

- Setting in the last paragraph of selection was not applied
  at certain conditions (i.e. relative cursor position in first
  paragraph > rel.c.pos. in last paragraph).

Getting back + fixing typo from e2b42b17265f.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220019.html

11 months agoIntroduce new InsetLayout tag InheritFont
Jean-Marc Lasgouttes [Sun, 16 Jul 2023 17:05:55 +0000 (19:05 +0200)]
Introduce new InsetLayout tag InheritFont

The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.

The default value is true.

Update tufte layouts to use this tag for sidenote and marginnote flex
insets.

Increase layout format to 101.

Fixes bug #12238.

11 months agoDetect when one tries to bind a lfun to a prefix of longer commands
Jean-Marc Lasgouttes [Fri, 9 Dec 2022 13:45:14 +0000 (14:45 +0100)]
Detect when one tries to bind a lfun to a prefix of longer commands

Change KeyMap::getBinding to return FuncRequest::prefix in this case.

Add handling of this case in PrefShortcuts::validateNewShortcut.

What does not seem to work is that if, for example, accent-acute is
bound to M-s (which is a prefix for size-related bindings), and then
the binding is removed, the functions are not visibly restored.

Part of bug #10131.

11 months agoUse macros with parameters for modulo macros
Jean-Marc Lasgouttes [Tue, 18 Jul 2023 12:27:24 +0000 (14:27 +0200)]
Use macros with parameters for modulo macros

It turns out that it is possible to use macros with parameters in lib/symbols.

I use this to simplify the use of mod-like macros.

Update documentation.

11 months agoSwitch delimiters for hebrew keyboard (bug #12829).
Pavel Sanda [Fri, 21 Jul 2023 21:37:39 +0000 (23:37 +0200)]
Switch delimiters for hebrew keyboard (bug #12829).

Patch from Udi Fogiel.

11 months ago* RELEASE-NOTES
Pavel Sanda [Fri, 21 Jul 2023 21:19:05 +0000 (23:19 +0200)]
* RELEASE-NOTES

11 months agoCreate the other side of conversion chain when IM is banned (bug #12646).
Pavel Sanda [Fri, 21 Jul 2023 21:17:55 +0000 (23:17 +0200)]
Create the other side of conversion chain when IM is banned (bug #12646).

We allow png, jpg to channel through already existing tiff2ps (library
libtiff-tools). Other formats can be added if there is a request.

For future reference:
- using pnmtops seem to have issues with landscape/portrait flip, so
  tiff2ps seems better alternative.
- using GraphicsMagick won't help because some distros ban postscript
  processing directly in its code (e.g. openSUSE)

This patch finishes IM policy ban handling, we can't probably do much
better.

11 months agoCurrent covington requires varwidth
Juergen Spitzmueller [Fri, 21 Jul 2023 12:31:45 +0000 (14:31 +0200)]
Current covington requires varwidth

11 months agoFix lyx2lyx reversion problem for covington examples
Juergen Spitzmueller [Fri, 21 Jul 2023 07:46:47 +0000 (09:46 +0200)]
Fix lyx2lyx reversion problem for covington examples

Do not take arguments of nested insets/layouts as your own

11 months agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Fri, 21 Jul 2023 07:09:30 +0000 (09:09 +0200)]
Merge branch 'master' of git.lyx.org:lyx

11 months agoSend some debug info to ACTION
Jean-Marc Lasgouttes [Thu, 20 Jul 2023 21:39:15 +0000 (23:39 +0200)]
Send some debug info to ACTION

11 months agoImprove format specification for 616.
Richard Kimberly Heck [Thu, 20 Jul 2023 17:20:48 +0000 (13:20 -0400)]
Improve format specification for 616.

11 months agoUpdate sk.po
Kornel Benko [Thu, 20 Jul 2023 16:36:26 +0000 (18:36 +0200)]
Update sk.po

11 months agode.po
Juergen Spitzmueller [Thu, 20 Jul 2023 14:47:19 +0000 (16:47 +0200)]
de.po

11 months agoUpdate linguistics manual
Juergen Spitzmueller [Thu, 20 Jul 2023 14:45:43 +0000 (16:45 +0200)]
Update linguistics manual

11 months agoForgot these
Juergen Spitzmueller [Thu, 20 Jul 2023 14:26:17 +0000 (16:26 +0200)]
Forgot these

11 months agoFORMAT: more details on 616
Scott Kostyshak [Thu, 20 Jul 2023 14:11:53 +0000 (10:11 -0400)]
FORMAT: more details on 616

11 months agode.po
Juergen Spitzmueller [Thu, 20 Jul 2023 13:31:36 +0000 (15:31 +0200)]
de.po

11 months agoUpdate tex2lyx tests
Juergen Spitzmueller [Thu, 20 Jul 2023 13:22:47 +0000 (15:22 +0200)]
Update tex2lyx tests

11 months agoAdd missing FORMAT entries
Juergen Spitzmueller [Thu, 20 Jul 2023 13:19:42 +0000 (15:19 +0200)]
Add missing FORMAT entries

616 could be a bit more verbose. Enrico? Riki?

11 months agoUpdate covington support in linguistics module (file format change)
Juergen Spitzmueller [Thu, 20 Jul 2023 13:09:47 +0000 (15:09 +0200)]
Update covington support in linguistics module (file format change)

11 months agoFindAdv: Handle negthinspace, negmedspace and negthickspace also in regexes
Kornel Benko [Thu, 20 Jul 2023 10:28:35 +0000 (12:28 +0200)]
FindAdv: Handle negthinspace, negmedspace and negthickspace also in regexes

11 months agoAdding binary path for Homebrew on MacOS-arm64 (bug 12619).
Pavel Sanda [Wed, 19 Jul 2023 09:56:31 +0000 (11:56 +0200)]
Adding binary path for Homebrew on MacOS-arm64 (bug 12619).

Patch from Koji.

11 months agoGroup most verbose dbg output into more intuitive categories.
Pavel Sanda [Tue, 18 Jul 2023 20:25:28 +0000 (22:25 +0200)]
Group most verbose dbg output into more intuitive categories.

From now on, having all dbg level except of painting and scrolling
shows debug output which can be actually followed.

11 months agoHonor scroll_below_document when jumping to end of document
Jean-Marc Lasgouttes [Tue, 11 Jul 2023 20:26:00 +0000 (22:26 +0200)]
Honor scroll_below_document when jumping to end of document

While fixing #12491 at 0fed10e4, some band-aids were removed at the
end of `BufferView::scrollToBuffer`. One of them ensured that
scrolling to last paragraph would not leave the last row alone on
screen.

This behavior is actually correct when the scroll_below_document pref is true.

This commit restores the test that avoids the issue.

Of course, this does not fix the real issue, since for example opening
Tutorial.lyx and jumping to "5.3 Errors!" produces the same unwanted
effect.

11 months agoAnother tiny correction (not yet ideal)
Juergen Spitzmueller [Tue, 18 Jul 2023 16:11:59 +0000 (18:11 +0200)]
Another tiny correction (not yet ideal)

11 months agoRemove bogus condition and add comments
Juergen Spitzmueller [Tue, 18 Jul 2023 15:55:08 +0000 (17:55 +0200)]
Remove bogus condition and add comments

11 months agoLaTeXHighlighter: handle grouped values with commas in keyval options
Juergen Spitzmueller [Tue, 18 Jul 2023 15:35:48 +0000 (17:35 +0200)]
LaTeXHighlighter: handle grouped values with commas in keyval options

11 months ago Improve keyval highlighter
Juergen Spitzmueller [Tue, 18 Jul 2023 15:05:56 +0000 (17:05 +0200)]
 Improve keyval highlighter

11 months agoAt end of children, language needs to be reset
Juergen Spitzmueller [Tue, 18 Jul 2023 13:27:17 +0000 (15:27 +0200)]
At end of children, language needs to be reset

This amends 243b0ef90c09d5

11 months agoSupport option snippets in the LaTeXHighlighter
Juergen Spitzmueller [Tue, 18 Jul 2023 13:12:54 +0000 (15:12 +0200)]
Support option snippets in the LaTeXHighlighter

11 months agoAcount for all non-negative spaces used by lyx
Kornel Benko [Tue, 18 Jul 2023 11:09:55 +0000 (13:09 +0200)]
Acount for all non-negative spaces used by lyx

The unicode representation in an ascii-string string is
\302\240                                Normal space
\342\200\257                            Non-breaking Thin (1/6 em)
\342\200\213\342\200\205\342\200\213    Medium(2/9 em)
\342\200\213\342\200\204\342\200\213    Thick (5/18 em)
\342\201\240\342\200\202\342\201\240    Half Quad(0.5 em)
\342\200\203                            Quad(1 em)
\342\200\203\342\200\203                Double Quad(2 em)
\342\220\243                            Visible space

'Double Quad' counts as 2 spaces, all others count as 1 space in the search regex