Click here to Skip to main content
15,896,111 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

 
AnswerRe: Something to worry about? Pin
OriginalGriff6-Sep-20 23:38
mveOriginalGriff6-Sep-20 23:38 
GeneralRe: Something to worry about? Pin
Greg Utas7-Sep-20 1:49
professionalGreg Utas7-Sep-20 1:49 
GeneralRe: Something to worry about? Pin
DaveMathews7-Sep-20 5:56
DaveMathews7-Sep-20 5:56 
AnswerRe: Something to worry about? Pin
Matthew Dennis7-Sep-20 5:57
sysadminMatthew Dennis7-Sep-20 5:57 
AnswerRe: Something to worry about? Pin
Chris Maunder8-Sep-20 5:48
cofounderChris Maunder8-Sep-20 5:48 
BugA niggling little annoyance. Pin
OriginalGriff6-Sep-20 20:58
mveOriginalGriff6-Sep-20 20:58 
GeneralRe: A niggling little annoyance. Pin
Chris Maunder8-Sep-20 5:47
cofounderChris Maunder8-Sep-20 5:47 
GeneralRe: A niggling little annoyance. Pin
OriginalGriff8-Sep-20 6:19
mveOriginalGriff8-Sep-20 6:19 
Paste a block of code, select "as is"
The code appears indented:

Highlight it, and use the "code" widget to select the language: text will do the same as c#:

Notice that the pre tag is flushed right to the first non-space character.
Then when it's posted (and in the preview)it looks like this image:

Because all the "loose spaces" to the left of the pre tag are (correctly) swallowed leaving the rest of the text "orphaned" with their original indentation.

What should happen is that the code widget should put the pre tag flushed left, not right, then the auto formatter will left justify the indentation correctly:

C#
for (int i = 0; i < myDataTable.Columns.Count; i++)
    {
    myDataGridView.Columns[i].HeaderText = myDataTable.Columns[i].Caption;
    }

Does that make sense?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

JokeRe: A niggling little annoyance. Pin
Nelek8-Sep-20 9:22
protectorNelek8-Sep-20 9:22 
GeneralRe: A niggling little annoyance. Pin
Chris Maunder13-Sep-20 3:15
cofounderChris Maunder13-Sep-20 3:15 
GeneralRe: A niggling little annoyance. Pin
OriginalGriff13-Sep-20 4:22
mveOriginalGriff13-Sep-20 4:22 
BugMassive CP link problem Pin
Luc Pattyn6-Sep-20 2:26
sitebuilderLuc Pattyn6-Sep-20 2:26 
GeneralRe: Massive CP link problem Pin
OriginalGriff6-Sep-20 8:24
mveOriginalGriff6-Sep-20 8:24 
GeneralRe: Massive CP link problem Pin
Luc Pattyn6-Sep-20 8:43
sitebuilderLuc Pattyn6-Sep-20 8:43 
GeneralRe: Massive CP link problem Pin
Sandeep Mewara6-Sep-20 9:46
mveSandeep Mewara6-Sep-20 9:46 
GeneralRe: Massive CP link problem Pin
Matthew Dennis7-Sep-20 5:57
sysadminMatthew Dennis7-Sep-20 5:57 
BugArticle Disappeared after edit Pin
honey the codewitch5-Sep-20 22:48
mvahoney the codewitch5-Sep-20 22:48 
GeneralRe: Article Disappeared after edit Pin
Richard MacCutchan6-Sep-20 2:29
mveRichard MacCutchan6-Sep-20 2:29 
GeneralRe: Article Disappeared after edit Pin
honey the codewitch6-Sep-20 3:42
mvahoney the codewitch6-Sep-20 3:42 
GeneralRe: Article Disappeared after edit Pin
Richard MacCutchan6-Sep-20 4:08
mveRichard MacCutchan6-Sep-20 4:08 
GeneralRe: Article Disappeared after edit Pin
User 110609796-Sep-20 4:29
User 110609796-Sep-20 4:29 
GeneralRe: Article Disappeared after edit Pin
Richard MacCutchan6-Sep-20 4:41
mveRichard MacCutchan6-Sep-20 4:41 
GeneralRe: Article Disappeared after edit Pin
honey the codewitch6-Sep-20 5:40
mvahoney the codewitch6-Sep-20 5:40 
GeneralRe: Article Disappeared after edit Pin
Richard MacCutchan6-Sep-20 6:07
mveRichard MacCutchan6-Sep-20 6:07 
GeneralRe: Article Disappeared after edit Pin
User 110609796-Sep-20 6:12
User 110609796-Sep-20 6:12 

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

Flags: FixedSolved

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