Go to file
copilot-swe-agent[bot] 6333a09856 Initial plan
2025-12-11 02:30:48 +00:00
LICENSE Initial commit 2025-10-13 00:13:38 +08:00
readme.md update 2025-10-16 00:01:52 +08:00
tp-tests-utils.el first commit 2025-10-13 00:15:18 +08:00
tp-tests.el update 2025-10-13 20:58:11 +08:00
tp.el update 2025-10-23 01:29:04 +08:00

The project is in progress...

text properties layer

  • tp-layer-set (name start end &optional object)
    将 object 在 start 到 end 范围内的文本当前展示的文本属性层命名为 name。

  • tp-layer-push (name start end properties &optional object)
    给 object 在 start 到 end 范围内的文本设置 properties 并 push 到最上层。

  • tp-layer-delete (name start end &optional object)
    删除 object 在 start 到 end 范围内的文本名称为 name 的层。

  • tp-layer-rotate (start end &optional object)
    循环移动 object 在 start 到 end 范围内的文本的属性层。即每次将最上面的层移到最下面,交替使用每个层的文本属性。

  • tp-layer-pin (name start end &optional object)
    将 object 在 start 到 end 范围内的文本的名称为 name 的层移到最上面。

  • tp-layer-define (name properties)
    定义 properties 为名称为 name 的文本属性层。

  • tp-layer-group-define (name &rest layers)
    定义 layers 为名称为 name 的文本属性层的组合。

text properties propertize

  • tp-propertize (string properties &optional layer)
  • tp-layer-propertize (string layer)
  • tp-layer-group-propertize (string layer-group)
  • tp-forward (property &optional value predicate not-current)
  • tp-backward (property &optional value predicate not-current)
  • tp-forward-do (function property &optional value predicate not-current)
  • tp-backward-do (function property &optional value predicate not-current)
  • tp-regions-map (function property &optional value predicate collect)
  • tp-strings-map (function property &optional value predicate collect)