Skip to content

Commit

Permalink
bump to v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Jan 11, 2025
1 parent 536ff4b commit f12bb10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release_note_en.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.7.0
======
Jan 12, 2025

- Introduced a new interface for syntax highlighting.
- Pattern specifies the range to which the highlight is applied. A `regexp.Regexp` is acceptable, but any type is sufficient as long as it has `FindAllStringIndex(string, int) [][]int`.
- `Sequence` specifies the escape sequence to apply to the `Pattern` parts.
Expand Down
4 changes: 4 additions & 0 deletions release_note_ja.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.7.0
======
Jan 12, 2025

- シンタックスハイライトの新しいインターフェイスを用意した。
- `Pattern` はハイライトを適用する範囲を指定する。`regexp.Regexp` でよいが、`FindAllStringIndex(string, int) [][]int` を持つ型なら何でもよい
- `Sequence``Pattern` の部分に適用するエスケープシーケンスを指定する
Expand Down

0 comments on commit f12bb10

Please sign in to comment.