Skip to main content
2 of 6
edited tags
Drew
  • 80.9k
  • 10
  • 125
  • 265

Searching for text fragments by character text properties

The text to be processed has special words marked with a special font. The required text is copied to the clipboard with the mouse (from firefox). The text is pasted into the clipboard emacs("ctrl-y"). It is assumed that copying to the clipboard will also be required text properties (namely, the distinctive font of certain words) with subsequent transfer to the buffer emacs. When such copied text is pasted into "LibreOffice Write", it is noticeable that the required the words have inherited the distinctive font, hence the inference that the text properties are on the clipboard. In the emacs buffer, pasted text is printed in the same font. It is known that printing content buffer, namely character display is configurable in emacs buffer and is not important here. It is assumed that the properties of the copied text also ended up in the emacs buffer. The task is to catch words in special font. It is supposed to use the text search functions by character property values. Thank you!

uanr81
  • 169
  • 7