[frameworks-syntax-highlighting] [Bug 468394] r.xml syntax highlighting definitions miss specified integers (e.g., 3L)

Jonathan Poelen bugzilla_noreply at kde.org
Sat Jul 15 02:13:36 BST 2023


https://bugs.kde.org/show_bug.cgi?id=468394

Jonathan Poelen <jonathan.poelen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.poelen at gmail.com

--- Comment #1 from Jonathan Poelen <jonathan.poelen at gmail.com> ---
I tried with https://pandoc.org/try/ and the following code

```r
111
111L
111i
```

The last 2 lines are not in color. Except that this is not the behavior of
KSyntaxHighlighting, for which only L and i are in Normal.

As the syntax version is also 13, I have the impression that this is on the
side of skylighting (https://github.com/jgm/skylighting/), the library used by
pandoc. This library contains a tool for converting to html or displaying in
color on the console (ansi), so I think there will be the same problem as with
pandoc. But for the moment I can't confirm this, as I don't have haskell or
skylighting and can't install anything on my machine :/.

On the other hand, I'm thinking that only the suffix could be in a different
color, something like in the attached image (on the left the current behavior,
on the right what could be the new one).

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list