Skip to content

Samime v1.0.2

Choose a tag to compare

@samaidev samaidev released this 18 Aug 23:33
· 8 commits to main since this release

Samime v1.0.2

修复

  • 候选窗定位改用 ITfContextView::GetTextExt 标准实现(微软 SampleIME 方式),浏览器和笔记本候选词都出现在光标正下方
  • GetTextExt 用局部变量避免坐标缓存导致累积偏移
  • 候选窗 y 定位零偏移(rc.bottom,DPI 无关),换不同分辨率屏幕表现一致

优化

  • 加 debug.SetMemoryLimit(512MB) + SetGCPercent(50) 降低内存占用
  • strings.Clone word+pinyin 释放行缓冲
  • byWord map[string]bool 改 map[string]struct{}

其他

  • NSIS 安装脚本修复 samime_tsf.dll 引用(之前误写成 samime_tsf_new.dll)
  • 最终版代码:左右键翻页+分页+UIElement+托盘+浏览器兼容