News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

syntax-highlighting on write-protected sourcefiles fail

Started by stuffbit, May 22, 2006, 10:37:17 AM

Previous topic - Next topic

takeshimiya

Quote from: sethjackson on May 24, 2006, 01:58:31 PM
Quote from: ProutDeMammouth on May 24, 2006, 01:53:57 PM
Quote from: mandrav on May 24, 2006, 10:02:11 AM
Well, I suggest someone should start a poll about this issue. Then we can go with what the community decides...
or just add an option somewhere.

That is an even better idea. :D

No I don't think so. It's better to find a better default (decided by the community as Yiannis said) rather than start cluttering with options.

I vote for a wxBeep (sound) when the user tries to write,
maybe even a MessageBox "This file is read only.",
and a "Read only" in the status bar in red/brown colour.

ProutDeMammouth

I just checked the "Syntax highlighting" dialog box. Currently, we have the choice for the "Background" only. A new button for "Write-protected Backgrnd" below would be the solution.

takeshimiya

Quote from: ProutDeMammouth on May 24, 2006, 02:08:31 PM
I just checked the "Syntax highlighting" dialog box. Currently, we have the choice for the "Background" only. A new button for "Write-protected Backgrnd" below would be the solution.

That doesn't solves the problem, because the users that are using those version control systems would be setting to "white" that background, thus solving the "annoying to read" part, but with a new problem: it will not be clear if it's read-only.

mandrav

Quote from: ProutDeMammouth on May 24, 2006, 01:53:57 PM
Quote from: mandrav on May 24, 2006, 10:02:11 AM
Well, I suggest someone should start a poll about this issue. Then we can go with what the community decides...
or just add an option somewhere.

This will not be made an option. We can't possibly add options for every little thing that could possibly be configured. All we would achieve is create a maze of options.

I have resolved this issue by removing the gray bg color completely (for read-only files) and fixing the state updates (i.e. file's icon in the project tree).
I hope everyone is happy now.
Be patient!
This bug will be fixed soon...

tiwag

Quote from: mandrav on May 24, 2006, 02:19:25 PM
I have resolved this issue by removing the gray bg color completely (for read-only files) and fixing the state updates (i.e. file's icon in the project tree).
I hope everyone is happy now.
CB is now much better usable with version-control-systems which are using the read-only bit for file-protection !

thanks a lot, i'm very  :D  :D  :D now !


btw.: i hope we don't get a bug-report about the missing ugly grey background when a file is set read-only  :P