![](https://seccdn.libravatar.org/avatar/7131ec792f05bac4a6cb0fb370439522.jpg?s=120&d=mm&r=g)
David C. Rankin wrote:
On 4/7/23 02:34, Per Jessen wrote:
Per Jessen wrote:
I'll try out the pasting with a key, it seems to me that ought to work,
I created a new key and then pasted something:
susepaste -k mykey -t "testing C code" -f c
It was pasted fine, but not associated with my account. https://paste.opensuse.org/pastes/4156a3c23ad0
That's the puzzling part, why would the -k <long key> not associate it with your (or my) paste account?
I expect that is a bug or perhaps not implemented (yet). I've added a comment to poo#127376 .
I see a pattern on the C syntax-highlight.
If the code as a leading comment before the #include
-- then highlight doesn't work. That's just a messed-up highlight model on paste.o.o
Well spotted! I can confirm - test#1 (no initial comment) https://paste.opensuse.org/fa45d4a4e0bb test#2 (C++ style initial comment) https://paste.opensuse.org/85239941f673 test#3 (C-style initial comment). https://paste.opensuse.org/009104383322 -- Per Jessen, Zürich (7.9°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes