I have one file where I can not copy the whole content to a new file using
Ctrl-A, C and V.
I have other files in the same session where I can copy the whole content
without problems.

The content is always cut off at the end of a code block. When I add lorem-ipsum
text before that block, the situation remains the same. The content is cut off
at the end of the code block.

When I compare the file with an older version, the relevant line is shown as
different between the two files. From the older version I *can* copy the
whole content. The new version is "UTF-8 no BOM" encoded, the old version is
"ANSI Western European (1252)".

The relevant line looks like this "  }}": Two blanks and then two curly braces.
When I move the cursor across the line in the old version, the status bar shows
the correct character codes: $0020 $0020 $007D $007D.
When I do the same with the new version, the code for the second blank is not
shown in the status bar. The cursor moves, but no code.

In the past I often had the "chinese character" issue with similar lines. It
could be related.

The code is open source, I can provide you the two files. How?

I'm using 5.5.1 (815).

-- 
<https://forum.pspad.com/read.php?4,79200,79200>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem