Click here to Skip to main content
15,886,016 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralAfghanistan Pin
Luc Pattyn20-Jan-09 5:32
sitebuilderLuc Pattyn20-Jan-09 5:32 
GeneralRe: Afghanistan Pin
Chris Maunder20-Jan-09 21:14
cofounderChris Maunder20-Jan-09 21:14 
GeneralRe: Afghanistan Pin
Luc Pattyn21-Jan-09 0:48
sitebuilderLuc Pattyn21-Jan-09 0:48 
GeneralRe: Afghanistan Pin
Chris Maunder28-Jan-09 16:42
cofounderChris Maunder28-Jan-09 16:42 
GeneralRe: Afghanistan Pin
Luc Pattyn29-Jan-09 0:46
sitebuilderLuc Pattyn29-Jan-09 0:46 
GeneralTabs in code snippets [modified] Pin
Luc Pattyn20-Jan-09 5:22
sitebuilderLuc Pattyn20-Jan-09 5:22 
GeneralRe: Tabs in code snippets Pin
Chris Maunder20-Jan-09 21:13
cofounderChris Maunder20-Jan-09 21:13 
GeneralRe: Tabs in code snippets Pin
Luc Pattyn21-Jan-09 2:31
sitebuilderLuc Pattyn21-Jan-09 2:31 
Hi Chris,

I experimented a bit with this:
a   sp3
a   nbsp3
a       sp7
a       nbsp7
a	tab
a<span style="display:none">	</span><span style="margin-left:4em"></span>span4
ab  sp2
ab  nbsp2
ab      sp6
ab      nbsp6
ab	tab
ab<span style="display:none">	</span><span style="margin-left:4em"></span>span4
ab<span style="display:none">	</span><span style="margin-left:3em"></span>span3


where spN is N regular spaces, nbspN is N non-breaking spaces, tab is a HTAB character,
spanN is a span entity with left margin N em

looking at it with FF3 and IE7, and pasting to VS2008.

observations:
- regular spaces and non-breaking spaces work identical inside PRE tags.
- tab width is not correct (too narrow), it does not match 8 spaces (both IE7 and FF3)
- 4em span width is correct on IE7, not on FF3, when 3 or 7 spaces would be required;
- 4em and 3em span width are not correct when 2 or 6 spaces would be required.
- copy-paste to Visual Studio works as expected (result is spaces or tabs)

conclusion:
- it is a mess; there seems to be no way to get it right for 2 popular browsers
- if anything needs changing, it is the browsers: they could offer a switch to set the
tab width to 8 (HTML standard) or less (4 or 2) at the user's discretion. I doubt it
they would even consider that if not specified in the HTML spec though.
- just keep tab handling at CP the way it is; there is no easy way to make it really better.

Thanks.

Luc Pattyn [Forum Guidelines] [My Articles]

Good riddance W


GeneralRe: Tabs in code snippets Pin
Chris Maunder29-Jan-09 0:42
cofounderChris Maunder29-Jan-09 0:42 
GeneralRe: Tabs in code snippets Pin
Luc Pattyn29-Jan-09 0:47
sitebuilderLuc Pattyn29-Jan-09 0:47 
GeneralRe: Tabs in code snippets Pin
Chris Maunder29-Jan-09 0:53
cofounderChris Maunder29-Jan-09 0:53 
GeneralRe: Tabs in code snippets Pin
Sam Hobbs24-Jan-09 20:47
Sam Hobbs24-Jan-09 20:47 
GeneralHey Chris, finding an old article Pin
#realJSOP20-Jan-09 4:19
mve#realJSOP20-Jan-09 4:19 
GeneralRe: Hey Chris, finding an old article Pin
Chris Maunder20-Jan-09 20:52
cofounderChris Maunder20-Jan-09 20:52 
GeneralRe: Hey Chris, finding an old article Pin
#realJSOP21-Jan-09 0:25
mve#realJSOP21-Jan-09 0:25 
GeneralForum "Search Messages" bug Pin
#realJSOP20-Jan-09 4:16
mve#realJSOP20-Jan-09 4:16 
GeneralRe: Forum "Search Messages" bug Pin
Chris Maunder20-Jan-09 20:50
cofounderChris Maunder20-Jan-09 20:50 
GeneralRe: Forum "Search Messages" bug Pin
#realJSOP21-Jan-09 0:28
mve#realJSOP21-Jan-09 0:28 
GeneralRe: Forum "Search Messages" bug Pin
Chris Maunder21-Jan-09 2:09
cofounderChris Maunder21-Jan-09 2:09 
GeneralNo message still there Pin
#realJSOP20-Jan-09 2:44
mve#realJSOP20-Jan-09 2:44 
GeneralRe: No message still there Pin
Chris Maunder20-Jan-09 20:50
cofounderChris Maunder20-Jan-09 20:50 
GeneralRe: No message still there Pin
#realJSOP21-Jan-09 0:29
mve#realJSOP21-Jan-09 0:29 
GeneralRe: No message still there Pin
Pete O'Hanlon21-Jan-09 1:17
mvePete O'Hanlon21-Jan-09 1:17 
Generalminor smiley bug Pin
Luc Pattyn19-Jan-09 7:17
sitebuilderLuc Pattyn19-Jan-09 7:17 
GeneralRe: minor smiley bug Pin
Chris Maunder19-Jan-09 17:12
cofounderChris Maunder19-Jan-09 17:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.