rainje / Monokai-Dark-Soda

Brackets theme based on the monokai dark soda color scheme from Sublime Text.
Other
45 stars 10 forks source link

Missing character when code folding is collapsed #6

Closed jerryyan1990 closed 8 years ago

jerryyan1990 commented 9 years ago

qq 20150829154238

@rainje as you can see!

rainje commented 9 years ago

Similar to #4, not sure why it's happening but doesnt seem theme related but more likely system related, use a font that provide that character if you have older OS.

Can you try editing the main.css of the theme Change this:

.CodeMirror-foldgutter-open:after {
  content: "⌵";
  font-size: 1.3em;
  color: #767676;
}

To:

.CodeMirror-foldgutter-open:after {
  content: "\2335";
  font-size: 1.3em;
  color: #767676;
}

Using Win7/10 and I can't replicate the issue, I also have no special font installed.

syntag commented 9 years ago

I'm having the same issue on my Windows 10 machine. I must not have the character on my computer then if I don't see the character on Google Chrome either. http://i.imgur.com/fpkW5bJ.png

Still have no clue how to install that character...

rainje commented 9 years ago

http://www.utf8icons.com/character/9013/countersink http://chars.suikawiki.org/char/2335

I think I get it now, it seems this char works with latin1 windows (iso-8859-1) and not with many others.

I'll try to find a new char that does work with mostly everything (why can't windows use UTF8, that'd solve it all).

rainje commented 9 years ago

Does this one work for you ? " ˅ "

http://chars.suikawiki.org/char/02C5

It does show up in my windows charmap. If it doesnt, can you find one char that looks like this and that works for you? char

Either on your charmap (WIN+R, charmap) or here http://unicode-table.com/fr/#2335

syntag commented 9 years ago

Yeah that character works for me. However, I know on my Windows 7 computer I can see the UTF-8 character just fine. So it can't be all Windows, or maybe I just don't have a required font or something?

rainje commented 9 years ago

I had no font installed for win7 or win10 and never had this issue, I think that's more of a regional windows encoding problem.

I'm sure there's an simple explanation.

syntag commented 9 years ago

I'll report back if I find anything.

rainje commented 9 years ago

I'll keep it opened for now.

joeky888 commented 8 years ago

Check this https://github.com/adobe/brackets/issues/11671

I think using small down triangle '▾' looks better!

.CodeMirror-foldgutter-open:after {
  content: "⌵";
  font-size: 1.3em;
  color: #767676;
}

to

.CodeMirror-foldgutter-open:after {
  content: "▾";
  font-size: 1.3em;
  color: #767676;
}

rainje commented 8 years ago

I like my minimal arrow ;)