How to convert a notebook cell to a string retaining all formatting, colorization of identifiers etc?
I have an opened Mathematica notebook containing several cells. Suppose, I am interested in one of them -- it may contain a complete or incomplete expression (e.g. with syntax errors, highlighted ...
Consider the following setup, based on this answer by WReach: ...
Is there a way that NotebookFind can be used to match string pattern expressions rather than just strings? The documentation for ...