Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different background color due to file encoding chosen in Komodo Edit 11 #3701

Open
StefanGitHuber opened this issue Feb 26, 2019 · 3 comments
Assignees
Milestone

Comments

@StefanGitHuber
Copy link

Short Summary

Background color changes with the chosen file encoding of Komodo Edit.

Steps to Reproduce

Open example file ASVspoof2019_baseline_CM.m.
(BTW, could be also a .py Python file).
Since I set globally any file encoding to my preferred UTF-8, it opens as UTF-8.
And Komodo Edit recognizes it as Matlab.

Problem, it changes my common background color.
Please see picture, background is too light "2019-02-26 Matlab in UTF8 different background color.png".
2019-02-26 matlab in utf8 different background color

Selecting then ASCII (menu to the right bottom for file encoding, to the left of file type Matlab)
changes the background color to my common setting.
Please see picture "2019-02-26 Matlab in ASCII same background color.png".
2019-02-26 matlab in ascii same background color

Expected results

It should not change the background color no matter which file encoding chosen.

Actual results

It does change the background color according to the chosen file encoding.

Platform Information

Komodo Edit or IDE?
Komodo Edit 11.0

Komodo Version?
Komodo Edit 11.0

Operating System (and version)?
Reproducable on two OS versions:
Ubuntu 16.04 TLS
Linux Mint 19.1 Tessa Cinnamon

Additional Information

Please inspect my color scheme daylight-180926.ksf.txt (added the .txt extension so I can upload).
daylight-180926.ksf.txt

Further problem:
Please note that the Linux tool 'file' tells the Matlab file is encoded as ASCII:
file -i ASVspoof2019_baseline_CM.m
ASVspoof2019_baseline_CM.m: text/plain; charset=us-ascii

However, when I have selected UTF-8 in Komodo and save the file,
the file is still recognized as the same us-ascii as before.
Komodo Edit 11.0 does not change the file encoding on both Linux System

Good luck to all of us :)

@th3coop
Copy link
Member

th3coop commented Feb 26, 2019

Further problem:
Please note that the Linux tool 'file' tells the Matlab file is encoded as ASCII:
file -i ASVspoof2019_baseline_CM.m
ASVspoof2019_baseline_CM.m: text/plain; charset=us-ascii

This is a different bug, please file it separately.

@th3coop th3coop self-assigned this Feb 26, 2019
@th3coop th3coop added this to the 11.x.x milestone Feb 26, 2019
@StefanGitHuber
Copy link
Author

StefanGitHuber commented Feb 26, 2019 via email

@th3coop
Copy link
Member

th3coop commented Feb 27, 2019

@SubiHubi that's a great way to have a bug lost into the ether ;) but up to you. FYI, when you "reply" to a git notification it dumps the entier email body into your response. It's better to open the ticket in your browser from the email. Though they say it's supported, they do a very poor job of handling email replies to tickets.

@th3coop th3coop modified the milestones: 11.x.x, 11.1.2 Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants