Closed braunharald closed 3 years ago
Hi, I remember someone else also mentioned this issue. Can you try adding a space at the end of your code and run the extension again?
I have now tested the following: a) In my existing document, a space was inserted at the end of the text field with the code. b) Create a new Writer document; created a text field with a code to be highlighted and executed "Highlight (default style) for Groovy" with no spaces at the end.
To a) The extra space at the end has no effect. The last character of a highlighted word remains in its original state.
To b) The error (the last character in each case is not converted) does not occur here at all.
I am now somewhat at a loss as to why this could be.
I enclose as an attachment a) the newly created Writer text document b) the existing document; Text field on page 54.
/ Harald New_Writer_Document.odt Existing_Document_Textfield_on_page_54.odt
Groovy, Kotlin: The last character of a highlighted word is not colored Groovy_colored.pdf LibreOffice 7.1.4.2 Ubuntu 20.04.2 Python3 3.8.2
/Harald