Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/integral-dw/scalpel
Simple text property editing in Emacs buffers
https://github.com/integral-dw/scalpel
debugging-tool emacs rich-text
Last synced: 18 days ago
JSON representation
Simple text property editing in Emacs buffers
- Host: GitHub
- URL: https://github.com/integral-dw/scalpel
- Owner: integral-dw
- License: gpl-3.0
- Created: 2021-02-13T14:41:54.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T00:24:47.000Z (almost 4 years ago)
- Last Synced: 2023-03-07T11:32:57.333Z (almost 2 years ago)
- Topics: debugging-tool, emacs, rich-text
- Language: Emacs Lisp
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE:Scalpel: A Simple Tool for Manual Text Property Editing
* About
This package provides small tools to painlessly insert text
properties in a buffer. The primary focus lies in messing with a
buffer's face properties. I wrote these tools for Font Lock
debugging, essentially.* Quick rundown
I don't expect anyone to bother using this, but if you do:* ~scalpel-anonymous-face~ ::
A buffer-local anonymous face (see [[info:Elisp#Faces][info node]]) you can edit
interactively or from lisp.
+ ~scalpel-edit-anon-face~ ::
The main function used to interactively edit the above. It also
always shows a small sample preview of the face as you're creating
it.
+ ~scalpel-clear-anon-face~ ::
Quickly reset the anonymous face.
+ ~scalpel-apply-anon-face~ ::
Applies the anonymous face to the region between point and mark.
* ~scalpel-apply-face~ ::
Applies a named face to the given region.
* ~scalpel-add-text-propery~ ::
Applies a generic text property.