Last modified: 2014-08-15 12:56:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53923 - Browser Search (Ctrl + F) does not work in Code Editor
Browser Search (Ctrl + F) does not work in Code Editor
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
PC Windows 7
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-08 17:34 UTC by Yellowcard
Modified: 2014-08-15 12:56 UTC (History)
4 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yellowcard 2013-09-08 17:34:44 UTC
In Firefox 23 and other FF versions the browser search (Ctrl + F) does not work as the code in the editor is not part of the search. Especially when editing long code the search function is important.
Comment 1 Andre Klapper 2013-09-09 17:19:39 UTC
Any testcase available?

Entering a few random lines on https://en.wikipedia.org/w/index.php?title=User:AKlapper_%28WMF%29/Whatever.js&action=edit and then searching for them works for me in Firefox 23.0.1 on Fedora 19, but maybe I misunderstand the problem?
Comment 2 Ltrlg 2013-09-10 15:06:14 UTC
The search does not work because all hidden lines are out off what the navigator can search.

But CE adds a search tool for code area, just use it (Ctrl+F when the focus is on the code area).
Comment 3 Yellowcard 2013-09-11 12:10:13 UTC
See Comment 2, the lines that are not currently shown on the screen are not subject to the browser search.

The CE search is quite useless as it finds the first occurance of a string only. After the first match I cannot continue the search for a second string. Also, search & replace is not available.
Comment 4 Andre Klapper 2013-09-30 14:34:27 UTC
(In reply to comment #3)
> Also, search & replace is not available.

Separate issue...
Comment 5 Derk-Jan Hartman 2014-01-02 11:09:33 UTC
The search in https://gerrit.wikimedia.org/r/104510 is much improved. And using ctrl-f keycombo twice exposes the replace function. It also has regexp capabilities now and incremental search automatically highlights any match in the editor as you type.

I think that should take care of most concerns.
Comment 6 Derk-Jan Hartman 2014-08-15 08:30:01 UTC
I'd love to hear some feedback on what people think about this now..
Comment 7 Helder 2014-08-15 12:56:39 UTC
Another problem with the search tool from CodeEditor is that it doesn't work immediately after I press CTRL+F, causing the text to be inserted in the JS code instead of its search box, which is annoying.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links