Author Topic: Unicode Corruption on Column Operations  (Read 279 times)

Compuref

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Unicode Corruption on Column Operations
« on: August 31, 2020, 06:41:23 am »
I've seen weirdness handling unicode characters in column mode.  I use Brief emulation so my examples will use Alt-C as the start of a column select.

The odd behavior doesn't always occur, so I will provide two examples.

Example 1:
Create a new UTF-8 document.
1. Type the following two lines, each terminated with a new line (I used the number pad to enter Alt-130 to get the accented character):
a
é
2. Press [Home] [Home] to position at the start of the document.
3. Press Alt-C and down arrow once.
4. Press [Space] [Space] [Space].
There should be three spaces inserted at the beginning of each of the two lines at this point, but I often see characters be consumed under the column insertion point.

Example 2:
1. Type the following two lines, each terminated with a new line (I used the number pad to enter Alt-13 to get the musical note character):
- Line 1
- ♪♪ Line 2 ♪
2. Press [Home] [Home] to position at the start of the document.
3. Press right arrow twice.
4. Press Alt-C and down arrow once.
5. Press [Space] [Space] [Space].
The erasing behavior occurs here for me as well.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5749
  • Hero Points: 459
Re: Unicode Corruption on Column Operations
« Reply #1 on: August 31, 2020, 04:45:23 pm »
I can reproduce this every time with both examples but I need to start the column selection from the second line and then move the cursor to the first line.

What appears to be happening is that sometimes after you press space, the selection becomes larger. Then when you press space the next time, it's deleting characters.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5749
  • Hero Points: 459
Re: Unicode Corruption on Column Operations
« Reply #2 on: August 31, 2020, 06:52:03 pm »
Glad you found this one!

Fixed for beta 4