Submitted by viking on 2022/01/28 21:06

Hi Pierre,

I am not sure how to troubleshoot this... Do you use Notepad++?
I open a script file (EasyLanguage) in Notepad++ and I have added a custom Language file for syntax coloring.
I then use the built-in plugin NppExport to copy HTML to clipboard.
I finally paste the HTML code into the Doc Pane.

This usually works fine.

However, sometimes, IQ hangs after successful pasting and the CPU goes to 25% (on a 4-core CPU) and my PC consequently barely responds.

I have attached an IQ database with this issue. In the inbox, select the item "Pasted HTML"

Comments

p.s. I do not have this issue if I instead save the color coded script as an HTML file (instead of copying to clipboard), and then open the file in the DOC Pane.
However, I have a large IQ file with many scripts and it makes it harder to share/collaborate if I need to link to external files. I much rather have it in the IQ file.

p.p.s Here is a somewhat cumbersome workaround;

1. Open script file in Notepad++

2. Save as html file

3. Open the html file in Notepad++

4. Copy the html code

5. In the Doc Pane click "View as HTML code" (and delete current content)

7. Paste the html code

8. Click "View as HTML code" again.

 

Hi viking,

I've looked at the supplied sample. Notepad++ generates the most horrible HTML code I've seen in years !!!

Zillions of tags, most useless

I've reduced some checking for large HTML documents and the file now loads fine (in v119)

Bug reports