| Summary: | Line numbering ruler is not scrolled after unfolding | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Petyo Tanchev <petyo_tanchev> | ||||||||||
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | minor | ||||||||||||
| Priority: | P3 | CC: | zulus | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 178620 [details]
initial condition
Created attachment 178621 [details]
item folded
Created attachment 178622 [details]
item unfolded again
Created attachment 178623 [details]
after scroll down
Works fine, probably since years |
Found on 2.2.1.v20100906 1. You need to have some longer code, so the editor window must have a scroll. 2. In the end of the code, use these lines function func1($dd){ $abc = 'string'; echo $abc; } function func2($dddd){ $abc = 'string'; $def = 'string'; echo $abc; echo $def; } The key point is that the next to the last foldable item (function or PHPdoc) should be 4 lines like func1(). 3. Make sure that the scroll is moved to the end, so you see the last closing bracket of func2() 4. Fold func1() and the unfold it back 5. Now some lines are shifted down because of unfolding. 6. Scroll down with the mouse to see these lines and observe the line numbers on the left. They are not moving and all (-) signs become not on exact place. 7. Scroll up and when the line numbers match their positions all becomes OK again and numbers start to scroll with the lines.