Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1399

Using backspace on empty segment increases segment length

    XMLWordPrintable

Details

    Description

      problem

      1. Use a task with segment based min max length so that segment length is shown in the editor.
      2. Open a segment with empty target for editing.
      3. Press backspace inside the empty target multiple times.
      4. Nothing is visible in the editor, but segment length increases

      reason

      On each press character #8203 (zero length space) is added to the editor. This character is needed for proper working if editor is empty. This issue handles the fact that on each press another 8203 character is added, regardless that the editor contains only one of them and is therefore empty.

      Another issue is the fact that the "zero length space" character counts as one character instead of no character. This is handled in a separate issue.

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: