[wp-trac] [WordPress Trac] #42586: Code Editor: Inconsistent results between finding in CodeMirror vs browser

WordPress Trac noreply at wordpress.org
Thu Sep 27 00:53:39 UTC 2018


#42586: Code Editor: Inconsistent results between finding in CodeMirror vs browser
--------------------------+--------------------------------------------
 Reporter:  wpress2010    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Future Release
Component:  General       |     Version:  4.9
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility, administration
--------------------------+--------------------------------------------

Comment (by Clorith):

 It seems, from a quick glance, that CodeMirror expects you to style
 selected text for this, as it appears to selected the "active" text.


 I understand the disagreement with the find feature though, but I'd like
 to make a counter-argument here that the editing of files is the primary
 focus, and that the files list on the side isn't very search friendly if
 files are in directories (as they will be in many cases). It just felt
 "unnatural" that I can't just search to find what i need in the code
 editor right away without extra interactions, but I will admit that I have
 limited experience with these use cases, and will defer to your experience
 here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42586#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list