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

Forum for discussion about the Windows IDE of Hollywood
Post Reply
User avatar
mrupp
Posts: 147
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

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

Post 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...
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair »

Yes, definitely a bug, will be fixed.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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
Post Reply