QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: OldMoses on March 01, 2021, 05:59:47 pm

Title: Cut & Paste extended ASCII characters
Post by: OldMoses 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.

  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Title: Re: Cut & Paste extended ASCII characters
Post by: FellippeHeitor 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.
Title: Re: Cut & Paste extended ASCII characters
Post by: OldMoses 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.

Title: Re: Cut & Paste extended ASCII characters
Post by: FellippeHeitor on March 05, 2021, 01:05:34 pm
A fix is available in the development channel now: https://www.qb64.org/portal/development-build/

  [ This attachment cannot be displayed inline in 'Print Page' view ]