Pigments + soft wrap = broken indentation
- 主要語言
- CoffeeScript
- 星號
- 518
- 分支
- 70
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
I have looked for a similar issue but didn't find anything similar to my problem.
I use Atom's soft wrap setting to see all my code even in narrow window spaces. But when pigment finds and displays a color, it breaks the indentation, and weird blank spaces are colored. See images below :


Does anyone have an idea on how to fix this ?
貢獻指南
研究方向
The issue is about soft wrap breaking indentation when pigments displays colors. Look at the pigment package's color highlighting logic, likely in the main CoffeeScript files. Start by reproducing the bug with Atom's soft wrap enabled, then examine how pigment overlays color markers on text. Check for existing tests related to rendering or indentation.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- coffeescript
- 領域
- desktop
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100