Skip to content

Releases: luck-gh/vscode-text-marker

v1.14.3

Choose a tag to compare

@luck-gh luck-gh released this 25 Oct 07:20

Logo update: the extension icon now clearly shows highlighted text. The reviewed VSIX includes all five production dependencies and its complete runtime payload.

图标更新:扩展图标现在能清楚表达文本高亮。经核验的 VSIX 包含全部五项生产依赖及完整运行载荷。

Text Marker Custom 1.14.1

Choose a tag to compare

@luck-gh luck-gh released this 24 Oct 17:19

修复零高亮规则时无法从右键创建规则的问题, 并恢复高亮导航菜单.

  • 规则选择器首行为“增加规则”, 包括尚无任何规则时. 选择后进入现有 Aa / Ab| / .* 三按钮输入框, Enter 应用, Esc 放弃且不占用颜色. 唯一命中已有规则时仍直接编辑.
  • 增加规则在提交时检查当前色板. 空色板明确报错, 不创建规则或占用颜色; 配置颜色后即可重新创建. 现有规则编辑保持原有颜色和标识.
  • 恢复“跳转到下一个相同高亮”和“跳转到上一个相同高亮”, 保留原循环跳转行为. 六个右键入口默认显示, 均支持独立配置隐藏.
  • 保留配置驱动的前 30 色原生子菜单、完整色板 Ctrl+H 循环及 Ctrl+Alt+H 取消操作. 同步英文与简繁中文提示, 中英文 README 与推荐配置说明.

验证: npm run check 通过编译、lint 和 165 项测试. 最终安装包在 VS Code 1.108.2 简体中文隔离 Host 中通过空色板拒绝新增、恢复后首色分配、创建/取消、三按钮、无效正则和双向导航回绕等定向验证. 英文与繁体中文正常创建/导航路径已在本轮前一安装包通过真实 Host 验证, 新增空色板错误完成三语静态核对. 未将前版验证表述为最终包三语全套验证.

下载 VSIX 后使用 VS Code 的 Extensions: Install from VSIX... 安装. 同时提供 SHA256 文件用于核验. 安装保持现有 textmarker.* 配置和快捷键, 已运行的窗口可在方便时自行 Reload Window.

Text Marker Custom 1.14.0

Choose a tag to compare

@luck-gh luck-gh released this 24 Oct 16:42

直接编辑高亮规则, 在同一个原生输入框中切换 Aa 大小写, Ab| 全字匹配和 .* 正则. Enter 应用, Esc 放弃草稿; 无效正则会提示并阻止提交. 编辑保留规则ID和颜色, 不改全局默认模式.

  • 右键高亮入口收口为设置高亮, 编辑高亮规则, 取消指定高亮和清除全部高亮.
  • 悬停设置高亮打开原生子菜单, 颜色1到颜色N按当前 textmarker.highlightColors 数量和顺序显示, 最多30项. 配置变化即时更新, 点击时读取当前对应颜色. 空色板隐藏子菜单.
  • Ctrl+H继续按完整色板循环换色并回到首色, Ctrl+Alt+H取消指定规则. 超过30项的颜色仍参与循环和自动分配.
  • 删除旧固定十色色名命令和六个失效菜单显示配置. commandsOnContextMenu只保留toggleHighlight, updateHighlight, unhighlight, clearAllHighlight; 其他现用独立命令仍可通过命令面板调用.
  • 更新双语README及三语界面, 保留原MIT署名和三张原作者演示动图, 并注明新版交互差异.

VS Code 1.108的原生API将按钮放在输入框上方标题栏右侧, 当前开关状态显示在输入框下方, 与Ctrl+F的行内按钮位置不同.

Use one native rule input for literal text or regex, with Match Case, Match Whole Words and Regular Expression buttons. The context menu has four highlight entries, and its numbered color submenu follows the first 30 configured palette colors without reload. Enter applies a validated draft; Esc discards it. Ctrl+H still cycles the full palette.

Validation: npm run check passed 155 tests. The exact VSIX passed real VS Code 1.108.2 host and renderer checks in English, Simplified Chinese and Traditional Chinese, including live 2/3/2/empty palettes, actual color selection, direct rule editing, all three buttons, cancellation, both pattern conversions and invalid regex handling.

Install text-marker-custom-1.14.0.vsix through Extensions: Install from VSIX. Disable the original ryu1kn.text-marker before using luck-gh.text-marker-custom. Existing windows need Developer: Reload Window to activate the new version. Marketplace upload is separate from this GitHub Release.

Source: 6503c8d74d471e070f2bc02582e9611d2e8d1f81 (v1.14.0).

SHA256 (text-marker-custom-1.14.0.vsix): FEAC3592851F268C4243470D63B848450EAC55A0F61DCDE8A7A8D8F002B2BF99.

Text Marker Custom 1.13.0

Choose a tag to compare

@luck-gh luck-gh released this 24 Oct 15:33

Text Marker Custom 1.13.0

  • Ctrl+H 使用现有 textmarker.toggleHighlight 命令为新文本添加高亮, 优先使用未占用色板颜色; 再次调用按 textmarker.highlightColors 顺序循环换色, 末尾回首色, 保留规则 ID, 正则表达式和匹配选项.
  • Ctrl+Alt+H 仍使用 textmarker.unhighlight 打开列表取消指定高亮. 这两条是 README 推荐快捷键, 已有用户绑定无需修改.
  • 英文, 简体中文和繁体中文菜单显示新的循环换色名称. 空色板换色时显示本地化错误通知, 保留原高亮.
  • 中英文 README 逐条解释推荐配置的作用和原因, 按四空格列对齐 JSONC 注释. 保留原作者三张 MIT 动图并标注旧切换命令的取消语义与新版差异.

Validation: TypeScript compilation, lint and 153 tests passed. The packaged VSIX passed real isolated VS Code hosts in English, Simplified Chinese and Traditional Chinese, including all ten colors and wraparound, independent removal, regex preservation, localized empty-palette notification DOM and unchanged highlights. User settings and keybindings remained byte-identical.

Source: e098cf4c8776a33b4d9f8a32a1ef592475576299.
SHA256: 48cc11d6810ff95678bbea42b79e87f0ca986be9740cf55225b7ce90c58ff360.

Install the attached VSIX through Extensions: Install from VSIX.... The extension ID remains luck-gh.text-marker-custom. Disable the original ryu1kn.text-marker if present. Existing windows may need a user-initiated Developer: Reload Window.

This GitHub release does not mean the new version is published to Visual Studio Marketplace.

Text Marker Custom 1.12.0

Choose a tag to compare

@luck-gh luck-gh released this 24 Oct 14:52

Text Marker Custom 1.12.0 uses the independent extension identity luck-gh.text-marker-custom, published by luck-gh. It has an original highlighter icon and preserves the upstream MIT notice and attribution to Ryuichi Inagaki's Text Marker.

This release includes:

  • Ten fixed highlight colors, regex-preserving recoloring and live border/radius/opacity controls.
  • English, Simplified Chinese and Traditional Chinese extension UI.
  • Chinese and English introductions with manual language links, the original MIT-licensed demonstration GIFs, and recommended JSONC settings/keybindings with four-space indentation.
  • The existing textmarker.* configuration and command identifiers. Extension usage telemetry remains removed.

Before enabling this edition, disable or uninstall ryu1kn.text-marker because both editions register the same commands. Existing colors, saved highlight rules and custom keybindings continue to use their original identifiers. Reload an existing window after switching editions.

The GitHub VSIX is ready to install. Marketplace web upload is still a separate pending step; this GitHub release does not assert that a Marketplace listing is already public.

Validation on Windows VS Code 1.108.2: TypeScript compilation and lint passed, 148 stub tests passed, and the final package passed real extension-host/renderer checks in en, zh-cn and zh-tw. Each real-host run verified that the new identity reads the recommended existing configuration and restores a previously saved highlight rule, followed by the ten-color menu, regex and live style checks. The README JSONC values were checked against the current configured palette and keybindings. Requires VS Code 1.73 or later.

简体中文介绍 | English introduction

Source commit: 2f44f88090085160dd01637b44368ecc9166fd61.

SHA256 (text-marker-custom-1.12.0.vsix):

28181927fe3e80cd35cc9b4b2f0641045833f94c9336938df1150ce1a64bfcd0

Text Marker Custom 1.11.1

Pre-release

Choose a tag to compare

@luck-gh luck-gh released this 24 Oct 13:16

This prerelease is a custom VSIX build from luck-gh/vscode-text-marker, based on the original MIT-licensed Text Marker by Ryuichi Inagaki.

The package retains the original extension ID ryu1kn.text-marker and replaces an installed Text Marker. It is distributed here as a custom GitHub build. It is not an upstream release or a separately published Marketplace edition. Enable only one Text Marker edition at a time.

Changes:

  • Ten fixed highlight colors in the editor context submenu.
  • Recolor existing highlights while preserving regex expressions and matching options.
  • Configurable border width, style, corner radius and opacity, refreshed immediately on existing highlights.
  • Native English, Simplified Chinese and Traditional Chinese menus, settings and runtime prompts.
  • Removed the upstream telemetry integration and its dependencies, and removed automatic post-publish Git tag/push actions.

Install with VS Code's Extensions: Install from VSIX... command. Existing textmarker.* setting and command identifiers are preserved, including custom keybindings and saved highlight rules. Reload the window after installation if an older build is already active.

Requires VS Code 1.73 or later. Validation was performed on Windows with VS Code 1.108.2:

  • TypeScript compilation, lint and 148 stub-based tests passed.
  • The final 1.11.1 package passed real extension-host and renderer checks in en, zh-cn and zh-tw. Checks covered the rendered ten-color menus, localized regex/save prompts, literal array matches, regex preservation after recoloring and live zero/nonzero style changes.
  • Installation into the existing user profile succeeded. Settings and keybindings remained byte-for-byte unchanged. Existing active windows were not restarted by the test.

Source commit: f7204f565921192cc41300c25b2f586e5f0b6dba.

SHA256 (text-marker-custom-1.11.1.vsix):

0eb11bf43992b0f14d9e0fac59f6bff402cb5f69f2ca7fb28b2f99c19e13859e