Change apparance of whitespace dot to something bi

2019-08-29 10:14发布

I am looking for a way to change the appearance of the whitespace grey dot to something bigger and darker (without changing the background color) -- similar to UltraEdit (see screenshot).

I've read all the popular threads on the issue, and I've tried all the popular modifications (e.g., plugins, and/or changing the language and theme files), but I haven't found a way to darken the grey dot or make it any bigger.

I've already experimented with everything mentioned in this related thread, including the links set forth therein: Sublime Text 2: how to change white space characters color?


screenshot http://www.lawlist.com/images/dot_comparrison.png


.tmTheme

<!-- BEGIN whitespace / tab definitions -->
<dict>
  <key>scope</key>
  <string>lawlist.tab</string>
  <key>settings</key>
  <dict>
    <key>fontStyle</key>
    <string></string>
    <key>foreground</key>
    <string>#FF0000</string>
    <key>background</key>
    <string>#FFFFFF</string>
  </dict>
</dict>
<dict>
  <key>scope</key>
  <string>lawlist.space</string>
  <key>settings</key>
  <dict>
    <key>fontStyle</key>
    <string></string>
    <key>foreground</key>
    <string>#000000</string>
    <key>background</key>
    <string>#FFFFFF</string>
  </dict>
</dict>
<!-- END whitespace / tab definitions -->

.tmLanguage

<!-- BEGIN whitespace / tab definitions -->
<dict>
  <key>match</key>
  <string>\t+</string>
  <key>name</key>
  <string>lawlist.tab</string>
</dict>

<dict>
  <key>match</key>
  <string> +</string>
  <key>name</key>
  <string>lawlist.space</string>
</dict>
<!-- END -->

2条回答
欢心
2楼-- · 2019-08-29 10:48

Someone bumped a post on the ST forum about coloring white space and I thought of this post. You may see it too, but just in case, I'll post here. Basically they modified the tmLanguage file to give a new scope to leading whitespace. They then applied a color to that.

https://github.com/ckovey/sublime-whitespace-coloring

查看更多
闹够了就滚
3楼-- · 2019-08-29 11:08

There is no solution to this issue.

查看更多
登录 后发表回答