| Summary: | Toggle comment operation not working correct if selected area are part of two lines | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Teodor Kirkov <teodor.k> | ||||||
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P1 | CC: | gadi, ganoro | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 170303 [details]
Code selection for Toggle Comment Operation
Created attachment 170304 [details]
Result after double performed Toggle Comment operation
fixed in head Verified at PDT-2.2.0.v20100616 Toggle comment now works just perfect even have selected only part of one or more lines Closing this issue... Thanks Verified by Teodor Kirkov teodor.k@zend.com |
Build Identifier: 2.2.0.v20100521 Toggled comment cannot be reset by Ctrl+/ if at enter it have selection of multiple lines and one of them are not fully selected Reproducible: Always Steps to Reproduce: Have the following code at Editor: <?php class test { public function test1(){ echo "test "; echo "test 3 "; echo "test 33 "; } } ?> Select whole line 5 and part of line 6 - see attached Code_selection_screen After selection Perform Toggle Comment operation by clicking Ctrl+/ After that perform again Ctrl+/ Expected result: Line comments to be removed from selected area Actual result: We have Toggled Comment and the line 4, and doubled line comments at line 5 and 6 - see attached Double_comment_screen