Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-246905: File Structure expands previously collapsed nodes in XML on Duplicate Text

$
0
0
Reporter Jura Gorohovsky (gorohoroh) Jura Gorohovsky (gorohoroh)
Created Apr 5, 2011 8:47:06 PM
Updated Jan 14, 2012 2:08:26 AM
Resolved Jan 14, 2012 2:08:26 AM
Priority Normal
Type Bug
Fix versions 6.0
State Can't Reproduce
Assignee Ilya Ryzhenkov (orangy)
Subsystem File structure
Affected versions No Affected versions
Fixed in build No Fixed in build
Steps to reproduce:
1. Open an XML document with rich nested node hierarchy - for example, HtmlDescriptions.xml in project ReSharper:
htmlDescriptions
  tags
    tag  command
      description  
      obsoleteDescription  
    tag  datalist
      description  
      obsoleteDescription  
    tag  dd
      description  
      shortDescription  
      obsoleteDescription  
      attributeDescription  nowrap
        description  
        obsoleteDescription  

2. Collapse a couple of nodes in File Structure: for example, tag command and tag datalist:
htmlDescriptions
  tags
    tag  command
    tag  datalist
    tag  dd
      description  
      shortDescription  
      obsoleteDescription  
      attributeDescription  nowrap
        description  
        obsoleteDescription  

3. Select tag dd > description in File Structure and switch to the text editor.
4. Invoke "Duplicate text" on tag dd > description in the text editor (either upon a selection spanning the entire description tag or just on the tag name.
Result: tag command and tag datalist are expanded.

Note: "Track caret in editor" is on.

Viewing all articles
Browse latest Browse all 106942

Trending Articles