Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42586, comment 13


Ignore:
Timestamp:
12/05/2017 04:08:47 PM (7 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42586, comment 13

    initial v1  
    1 The only thing I can think of doing here is intercept any “Cmd-F” commands any route them into CodeMirror. This would mean, however, that a user would not be able to do a find to locate a file in the file list, which would be unfortunate. Maybe the solution here would be to show a notice when doing “Cmd-F” when not focused on CodeMirror to prompt the user to focus on CodeMirror to do a find '''of code'''.
     1The only thing I can think of doing here is intercept any “Cmd-F” commands and route them into CodeMirror. This would mean, however, that a user would not be able to do a find to locate a file in the file list, which would be unfortunate. Maybe the solution here would be to show a notice when doing “Cmd-F” when not focused on CodeMirror to prompt the user to focus on CodeMirror to do a find '''of code'''.
    22
    33CodeMirror only loads the current viewport into the DOM, so that is why the browser's find does not match results as it would in a `textarea`. This is for performance.