|
1090b253
|
2019-01-23T04:45:07
|
|
Show invisibles inside tokens (#1610)
This PR fixes #1608.
The patterns for invisible characters (ICs) are now also recursively added to the `inside` of every pattern.
I also had to change the color of ICs because in #1607 I changed the color to `inherit` which causes the ICs to have different colors depending on which token they are inside of.
So, to make everything consistent, I changed the color to grey (`rgb(128, 128, 128)`) and made it half transparent so it would blend in. Looks really similar to #1607.
---
Most of the code is just traversing the language definition, handling the different kinds of tokens (simple regex, array, pattern object), and trying not to fall because of the added tokens for ICs and the `rest` property.
|
|
7a2d153b
|
2018-11-12T20:14:19
|
|
Revert "Show invisibles inside tokens"
This reverts commit 2d622f17e4f6d746e8f4fa211c7f6b7ccb3f27b4.
|
|
2d622f17
|
2018-11-12T20:12:44
|
|
Show invisibles inside tokens
|
|
2ba62268
|
2018-11-12T13:32:32
|
|
Updated styles of show invisibles (#1607)
Changes the color of the placeholders of invisible characters.
They will now use the default text color of the theme as the base
and blend in instead of a fixed color for all themes.
|
|
05442d3e
|
2016-02-01T14:16:13
|
|
Add support for the space character for the show-invisibles plugin
This patch adds a bit of position magic, so that the invisibles
are displayed on top of the original character. This allows for
the inclusion of the space character.
|
|
b6e7da53
|
2015-01-10T21:48:54
|
|
fixes #464 crlf issue
|
|
bd4e8d15
|
2012-07-23T18:54:30
|
|
ALL THE THINGS! Most notably: Simple templating, API changes, show invisibles plugin, download (build) page
|