Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 232509 Details for
Bug 411042
Find/Replace hook needed to report results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Fix
file_411042.txt (text/plain), 1.15 KB, created by
Bogdan Gheorghe
on 2013-06-18 12:26:44 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Bogdan Gheorghe
Created:
2013-06-18 12:26:44 EDT
Size:
1.15 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js >index 45bf226..ba7d9e8 100644 >--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js >+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js >@@ -260,6 +260,7 @@ > findAfterReplace: this._findAfterReplace, > hideAfterFind: this._hideAfterFind, > reverse: this._reverse, >+ findCallback: this._findCallback, > start: this._start, > end: this._end > }; >@@ -396,6 +397,9 @@ > if (options.reverse === true || options.reverse === false) { > this._reverse = options.reverse; > } >+ if (options.hasOwnProperty("findCallback")) { //$NON-NLS-0$ >+ this._findCallback = options.findCallback; >+ } > if (options.hasOwnProperty("start")) { //$NON-NLS-0$ > this._start = options.start; > } >@@ -480,7 +484,10 @@ > }, 500); > } > } >- if (result) { >+ if (this._findCallback) { >+ this._findCallback(result); >+ } >+ else if (result) { > editor.moveSelection(result.start, result.end, null, false); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 411042
: 232509