Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2990

Automation scripting: fix comment / uncomment button consistency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 28
    • Component/s: Automation
    • Tags:
    • Sprint:
      TGV 11

      Description

      In automation scripting:

      • Select text
      • Press the "comment" button
        => Text is commented
        => selection is kept
        => On the first line, comments are added outside of the selection zone
      • Keep the selection
      • Press the "uncomment" button
        => First line remains commented because comments are outside of the selection zone
        => Selection is lost

      => Comment / Uncomment buttons should be usable one after another (i.e. if I press uncomment right after comment, the same text should not be commented anymore) and provide a consistent experience about text selection (either unselect after pressing a button or not for both of them).

        Attachments

        1. comment1.png
          comment1.png
          6 kB
        2. comment2.png
          comment2.png
          6 kB
        3. uncomment.png
          uncomment.png
          6 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: