Closed haarp closed 10 months ago
Good call!
This is actually due to the fact that the v
next to [
is lowercase where as ;
is neutral.
I will try to add some logic so this doesn't happen.
This should be fixed in the latest release. However, I have a feeling that there could be more issues out there, so I will try to fine tune it again later.
Thanks. However something seems to be broken now, rendering went bonkers in my text editor (xed) using a custom version. Bold and Bold-Italic seem less affected. It looked fine on the website.
Screenshot:
Settings CommitMono_custom-settings.json.zip
That looks super weird. When I download the font with the custom settings you attached, I see nothing wrong with them. Can you send your font files, so I can check them?
Wait, it seems the problem was my editor. It seems to dislike replacing font files while it's running. Looks fine after restarting it. Sorry for the false alert!
As for Smart Case: Judging by the website, it now doesn't modify [
or ]
at any location in the C++ example. Consistency :)
I notice something in the Python example however. In % 2 == 0 and
the ==
gets raised, (x == 1):
it's not.
Okay, case closed haha.
The Python example is intentional. Since x
is lowercase the ==
follows its case rather than the case of 1
.
Ah, gotcha. Thanks for your time and thanks for making this font!
The smart casing for brackets/parens/braces is still very clunky, IMO. It's easy to end up with a pair of brackets that are vertically misaligned. If the brackets are close together, this misalignment is noticeable.
It could be worthwhile splitting the smart case feature into two parts:
IMO, only the latter feature should be selected by default on the website, because it is only one that is robust.
Hey,
I found an interesting issue that is reproducible on the commitmono.com page.
Go to Customize
Select C++ as example
Toggle Smart case
Observe
1][0]
: Both[
and]
are raised.Observe
argv[1];
: Only]
is raised, leading to inconsistency.So it seems Smart case doesn't react properly when bordered by letters.
Cheers!