Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-9966

Characters outside of Ascii range hard to navigate across

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.11.8
    • Fix Version/s: None
    • Component/s: Repl / Interpreter
    • Labels:
      None
    • Environment:

      GNU/Linux 4.7.6-1-ARCH x86_64
      Terminals: xfce4-terminal & termite

      Description

      I've tried the

      Navigating multi-byte characters is "wrong" on REPL. Without telling you the actual behavior, I'd like if you try doing the following. Fix the errors in this statement- `System.out.println( Seq( "允走 ) ) )`.

      You will notice that when you're on the Unihan characters, you'll have to do Ctrl-F/right arrow twice for the cursor to seem to move forward. However, the actual movements registered 4 such forward characters (2 times for each Unihan), so the cursor may show up right after the second Unihan character but you're actually two places forward from there. Needless to say it's a "wrong" behavior and can be annoying.

      This could likely be an issue with jline, or the terminal software itself too.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andesj JohnAndes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: