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 228557

Summary: Find in files functionality works incorrectly with files containing form feed
Product: utilities Reporter: Vladimir Voskresensky <vv159170>
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: VERIFIED FIXED    
Severity: normal CC: issues, mmirilovic
Priority: P2    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: folder with problem files

Description Vladimir Voskresensky 2013-04-15 09:15:42 UTC
extract attached archive
add "ff" folder to favorites
try to "Find..." Answer string in this folder
=>
Search Results correctly displays and highlights results in all files

Try to open by double clicking on result elements from Search TC
=> all except the first occurrence in file opens and selects incorrect content
Comment 1 Vladimir Voskresensky 2013-04-15 09:16:50 UTC
reproducible in trunk.
we need it to be fixed in 7.3.1 if possible.
Comment 2 Vladimir Voskresensky 2013-04-15 09:17:54 UTC
Created attachment 133498 [details]
folder with problem files

have a look at form feed symbols in vi for instance
Comment 3 Jaroslav Havlin 2013-04-15 12:10:46 UTC
Find in Projects uses form feed as line separator, but editor displays it as a space.

http://hg.netbeans.org/core-main/rev/4de42f905edb
Fixed by removing form feed from list of line separators.
Please verify. Thank you.
Comment 4 Quality Engineering 2013-04-18 02:22:32 UTC
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4de42f905edb
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #228557: Find in files functionality works incorrectly with files containing form feed
Comment 5 Vladimir Voskresensky 2013-04-18 11:33:11 UTC
Jaroslav, thanks for the fix. verified, but I found other problem see issue #228700
Comment 6 Vladimir Voskresensky 2013-04-18 11:35:32 UTC
v
Comment 7 Jaroslav Havlin 2013-04-25 08:00:56 UTC
Thank you for reporting and verifying.

Integrated into branch release73 in repository releases:
http://hg.netbeans.org/releases/rev/fa3be280bcf2
http://hg.netbeans.org/releases/rev/229726d69aeb

Please verify also bug 228700.
Comment 8 Quality Engineering 2013-04-26 00:48:18 UTC
Integrated into 'releases', will be available in build *201304252201* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/fa3be280bcf2
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #228557: Find in files functionality works incorrectly with files containing form feed