Support » Requests and Feedback » New theme editor can’t be searched

  • webrightnow

    (@webrightnow)


    I often find myself using the theme editor under Appearance > Editor, especially if I’m working on a machine where FTP and/or a text editor like Notepad++ are not available.
    I’m generally quite impressed with the new color-coded theme editor that has been introduced with one of the recent updates: it’s good at picking up errors and it helps format the code correctly.
    Sadly, the update has also removed the ability to search the code from the browser’s “Find…” box. Unless the particular bit of code you are looking for is actually visible on the screen, the browser’s search function is unable to find it. This makes the editor virtually unusable, because if you are working with a large stylesheet (or god forbid, a minified one) you are never going to find the class you are trying to edit unless you know exactly where it is.
    I presume this is to do with the underlying JS which is giving the code its formatting and color-coding. While these features are great, I dare say (in my humble opinion) that being able to search the code is – if anything – more important in terms of usability. How about introducing a built-in JS search box that’s capable of searching the whole file? It could sit at the top, near the “Selected file content” text, and work in a similar (or better…) fashion as a browser’s Find box.
    I’m sure you clever WP developers could build that in about 30 minutes?
    Just a suggestion!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.