font-lock
Change face of plain text between double quotation marks in Emacs
I am looking for a way to highlight or use different face of quoted text in plain text. It seems that there should be a sophisticated/enhanced text mode but I cannot find it.[详细]
2023-03-30 03:32 分类:问答Emacs: font-lock-fontify-region and multiline
I am writing a minor mode for php/html files. I use a function (cf. font-lock-keywords) to fontify <?php ?> blocs.[详细]
2023-03-28 21:32 分类:问答Emacs php-mode font-lock properties are not applied to certain chars
For example variable dollar signs. php-mode.el line 1087: \'(\"\\\\$\\\\(\\\\(?:\\\\sw\\\\|\\\\s_\\\\)+\\\\)\" (1 font-lock-variable-name-face)) ; $variable[详细]
2023-03-26 09:33 分类:问答How do I make emacs render mathematical combining characters in font-lock mode?
I am trying to get emacs to properly render mathematical combining characters such the diaeresis, over bar, etc in font-lock mode. The goal is to be able to write something mathematical like x_dot and[详细]
2023-03-05 04:41 分类:问答Regex pattern help (I almost have it, just need a bit of expertise to finish it)
I need to match two cases js/example_directory/example_name.js an开发者_如何学Pythond js/example_directory/example_name.js?12345[详细]
2022-12-28 14:21 分类:问答