This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254838 - Delete/Backspace removes fold tags characters instead of code inside
Summary: Delete/Backspace removes fold tags characters instead of code inside
Status: NEW
Alias: None
Product: qa
Classification: Unclassified
Component: Test Specifications (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Jiri Prox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-29 07:27 UTC by stwr
Modified: 2015-09-03 15:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Delete case (4.97 KB, image/png)
2015-08-29 07:28 UTC, stwr
Details
Backspace case (4.47 KB, image/png)
2015-08-29 07:28 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-08-29 07:27:51 UTC
Product Version: NetBeans IDE Dev (Build 201508280002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2118/suite/1782/v/1

According to the expected result, the first/last character of the code INSIDE the fold should be removed when hitting DELETE/BACKSPACE key.
Actually, the first/last character of the FOLD TAGS are being removed.
Please see pictures 'Delete case' and 'Backspace' case.
Comment 1 stwr 2015-08-29 07:28:08 UTC
Created attachment 155738 [details]
Delete case
Comment 2 stwr 2015-08-29 07:28:45 UTC
Created attachment 155739 [details]
Backspace case
Comment 3 Svata Dedic 2015-09-01 20:15:15 UTC
The test specification could note custom folds: on Delete/Backspace, character from the custom fold definition is removed, as the definition marker themselves are collapsed into the folded area.