Hi, I see in the documentation that if ‘viewPortMargin’ is set to infinity, for browser search to search through the entire code, will impact the performance for large files. However the codemirror search seems to work fine (it searches the given string through the entire content) without having to explicitly set the viewPortMargin to inifinity. Will there be similar impact to the performance, while using codemirror search too? (doing search by clicking on the codemirror editor and clicking cmd+f)
No, the point of the seach addon is that it’ll search directly through the document data structure, whereas the native browser search needs the entire document to be in the DOM.
Makes sense, Thanks!