Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9408

JBoss Tools XML Editor should not format XML if the file is edited in Source tab.

    XMLWordPrintable

Details

    • Hide
      A bug existed when a user had edited XML in the Source view and changed focus from the XML editor to the Project Explorer. When the focus changed the XML editor would revert any changes made in the Source view. This issue has been resolved by ensuring the Synchronized To Text state of the Source XML editor is correct when focus is changed. The Source view of the XML editor now synchronizes correctly and does not revert to old content when the focus is changed from the XML editor to the Project Explorer.
      Show
      A bug existed when a user had edited XML in the Source view and changed focus from the XML editor to the Project Explorer. When the focus changed the XML editor would revert any changes made in the Source view. This issue has been resolved by ensuring the Synchronized To Text state of the Source XML editor is correct when focus is changed. The Source view of the XML editor now synchronizes correctly and does not revert to old content when the focus is changed from the XML editor to the Project Explorer.
    • Documented as Resolved Issue

    Description

      EXECUTE: Create JSF KickStart project
      EXECUTE: Open web.xml with JBoss Tools XML Editor
      EXECUTE: Re-format the text (use Ctrl+A & Ctrl+Shift+F for example)
      EXECUTE: Save the file
      EXECUTE: Change

      <load-on-startup>1</load-on-startup>

      to

      <load-on-startup>some string</load-on-startup>

      EXECUTE: Save the file
      ASSERT: Text keeps current format.
      FAILURE: The text is re-formated back.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: