History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-4711
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Vassiliy Kudryashov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

IndexPatternSearch.search(PsiFile, IndexPattern).findAll() is empty if pattern occurence belong JavaDoc-like comment

Created: 08 Feb 06 13:22   Updated: 14 Feb 06 19:08
Component/s: Plugin Support. API
Fix Version/s: 5.1.1, Demetra 5162

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 4,125
Fixed in build: 5,147


 Description  « Hide
Steps:
1. Add custom pattern (via IndexPatternProvider implementation), for example

author\s+(\S+)

2. Try to search by this pattern in file contaninig code fragment

/**
* @author yole
*/

Expression "(IndexPatternSearch.getOccurrencesCount(file, pattern) > 0)" will be true, but
"IndexPatternSearch.search(file, codeLinkType).findAll()" will return empty collection

For comment

/*
* @author yole
*/

same collection will contain single element.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.