Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 431958

Summary: Editor does not show all occurrence of a keyword for a specific file.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2014-04-03 16:18:05 EDT
Steps
1. Create a js file and paste the following contents

document.write('<link rel="stylesheet" href="https://gist.github.com/assets/embed-7b8103377581721ca8d69844a377985c.css">')
document.write('<div id=\"gist9961561\" class=\"gist\">\n        <div class=\"gist-file\">\n          <div class=\"gist-data gist-syntax\">\n            \n\n\n\n    <div class=\"file-data\">\n      <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines highlight\">\n        <tr>\n          <td class=\"line-numbers\">\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L1\" rel=\"file-gistfile1-txt-L1\">1<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L2\" rel=\"file-gistfile1-txt-L2\">2<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L3\" rel=\"file-gistfile1-txt-L3\">3<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L4\" rel=\"file-gistfile1-txt-L4\">4<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L5\" rel=\"file-gistfile1-txt-L5\">5<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L6\" rel=\"file-gistfile1-txt-L6\">6<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L7\" rel=\"file-gistfile1-txt-L7\">7<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L8\" rel=\"file-gistfile1-txt-L8\">8<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L9\" rel=\"file-gistfile1-txt-L9\">9<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L10\" rel=\"file-gistfile1-txt-L10\">10<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L11\" rel=\"file-gistfile1-txt-L11\">11<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L12\" rel=\"file-gistfile1-txt-L12\">12<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L13\" rel=\"file-gistfile1-txt-L13\">13<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L14\" rel=\"file-gistfile1-txt-L14\">14<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L15\" rel=\"file-gistfile1-txt-L15\">15<\/span>\n            <span class=\"line-number\" id=\"file-gistfile1-txt-L16\" rel=\"file-gistfile1-txt-L16\">16<\/span>\n          <\/td>\n          <td class=\"line-data\">\n            <pre class=\"line-pre\"><div class=\"line\" id=\"file-gistfile1-txt-LC1\">&lt;!doctype html&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC2\">&lt;html&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC3\">    &lt;head&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC4\">		&lt;meta name=&quot;copyright&quot; content=&quot;Copyright (c) IBM Corporation and others 2010, 2014.&quot; &gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC5\">		&lt;meta http-equiv=&quot;Content-Language&quot; content=&quot;en-us&quot;&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC6\">		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC7\">		&lt;title&gt;Test gist&lt;/title&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC8\">    &lt;/head&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC9\">&nbsp;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC10\">	&lt;body id=&quot;orion-browser&quot; spellcheck=&quot;false&quot; class=&quot;orionPage&quot;&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC11\">		&lt;div class=&quot;fileBrowserDemoTextParent&quot;&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC12\">			&lt;p&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC13\">			&lt;/p&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC14\">		&lt;/div&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC15\">	&lt;/body&gt;<\/div><div class=\"line\" id=\"file-gistfile1-txt-LC16\">&lt;/html&gt;<\/div><\/pre>\n          <\/td>\n        <\/tr>\n      <\/table>\n    <\/div>\n\n          <\/div>\n          <div class=\"gist-meta\">\n            <a href=\"https://gist.githubusercontent.com/anonymous/9961561/raw/91ac59ed7e3772c06efc9449598d070a31aee12a/gistfile1.txt\" style=\"float:right\">view raw<\/a>\n            <a href=\"https://gist.github.com/anonymous/9961561#file-gistfile1-txt\">gistfile1.txt<\/a>\n            hosted with &#10084; by <a href=\"https://github.com\">GitHub<\/a>\n          <\/div>\n        <\/div>\n<\/div>\n')


2. Save and open the find bar in the editor.
3. Search for something, e.g. "div"

The editor does not show all occurrence of "div". The show all option is on. This does not reproduce for other files.