Page 1 of 1

Minor bug: pasting text into an XML file keeps font attributes

Posted: Sat Apr 17, 2021 6:20 pm
by mrupp
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:
Image
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...

Re: Minor bug: pasting text into an XML file keeps font attributes

Posted: Sat Apr 24, 2021 2:42 pm
by airsoftsoftwair
Yes, definitely a bug, will be fixed.

Re: Minor bug: pasting text into an XML file keeps font attributes

Posted: Sat Nov 06, 2021 7:13 pm
by airsoftsoftwair

Code: Select all

- Fix [IDE]: When pasting contents into plain text or XML files edited in the IDE, the text formatting was
  pasted into the IDE's edit control as well