Minor bug: pasting text into an XML file keeps font attributes
Posted: Sat Apr 17, 2021 6:20 pm
I found a minor bug, nothing grave at all but I thought I'll report it anyway:
When editing an XML file and pasting text from the clipboard, the text is inserted in a formatted way, meaning it keeps its font and font attributes. I noticed because I copied a notification name from the CHM help and it looked strange. For testing purposes I formatted some text in Word and inserted it into the editor and it looks like this:
Save the file and re-open it and everything is fine again.
Interesting thing is, this can't be done with a .hws script file, just with an XML file. So maybe formatted inserting could be deactivated for XML files as well...
When editing an XML file and pasting text from the clipboard, the text is inserted in a formatted way, meaning it keeps its font and font attributes. I noticed because I copied a notification name from the CHM help and it looked strange. For testing purposes I formatted some text in Word and inserted it into the editor and it looks like this:
Save the file and re-open it and everything is fine again.
Interesting thing is, this can't be done with a .hws script file, just with an XML file. So maybe formatted inserting could be deactivated for XML files as well...