view change is work incorrectly.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: High
    • 2.3.1
    • Affects Version/s: 2.2.4
    • Component/s: None
    • Environment:

      view change is work incorrectly.

      I maked page with content like below,
      a
      b
      c

      and I edit page like below,
      e
      f
      g

      Diff line count is 3. But I view only first line's letter as Attachment image.

      I view source. And detect problem point.

      In diffLine() method on DiffUtils class, run next method always after for loop.

      setDiffMode(DIFF_MODE_NONE);

      so, next line's diff mode is always DIFF_MODE_NONE without first line (first line's diff mode is DIFF_MODE_CHANGE_DELETE).

      I want to view all line in diff. Unix's diff command is also view all diff line's info. isn't it?

      Or is this logic your policy?

      I wait your comment. Happy day~~

        1. change_badmarkup.pdf
          28 kB
          Vijayachandran
        2. diff_error.JPG
          15 kB
          HuiKu,Lee

              Assignee:
              Unassigned
              Reporter:
              HuiKu,Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: