Author Topic: Cut & Paste extended ASCII characters  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Cut & Paste extended ASCII characters
« on: March 01, 2021, 05:59:47 pm »
I've noticed that the new development builds and 1.5 release don't seem to like trying to cut and paste some extended ASCII characters in a comment line via a right mouse button context menu. Specifically, 176 & 178 don't work, and perhaps others. Version 1.4 didn't give me that issue.

I get a 'Internal IDE error on line: 24692, 3043116' when I try to right click a context menu in a comment line. Screen shot included.

I should note that the screen shot is from one of the earlier dev builds, not the 1.5 release.

  [ You are not allowed to view this attachment ]  
« Last Edit: March 01, 2021, 06:03:32 pm by OldMoses »

FellippeHeitor

  • Guest
Re: Cut & Paste extended ASCII characters
« Reply #1 on: March 01, 2021, 06:34:27 pm »
Thank you for reporting. Because development builds moved pretty fast, I'd request you to try to reproduce the issue in the officially released version. I reproduced it locally. Thanks again.
« Last Edit: March 01, 2021, 07:19:02 pm by FellippeHeitor »

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: Cut & Paste extended ASCII characters
« Reply #2 on: March 01, 2021, 07:35:48 pm »
I can reliably reproduce the issue in the 1.5 release as well. It points to a line in the HashValue& function. At least the line number points to the same code line in that function in any tested dev build or 1.5.

I can cut and paste using the Edit menu just fine, the issue seems to be primarily a mouse click thing with right button context menu.

After some more playing with it, the pattern I'm seeing is trying to right click any highlighted group of extended character #128 or higher in a comment line with consecutive multiples of that character. If there is only a single character present, I don't get the error.

PS after more testing, it seems those consecutive multiples must occur at the end of the line. Putting a couple in the middle of random characters doesn't create a problem.

« Last Edit: March 01, 2021, 07:43:51 pm by OldMoses »

FellippeHeitor

  • Guest
Re: Cut & Paste extended ASCII characters
« Reply #3 on: March 05, 2021, 01:05:34 pm »
A fix is available in the development channel now: https://www.qb64.org/portal/development-build/

  [ You are not allowed to view this attachment ]