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

 
SuggestionNew messages since 99? Pin
vbmike30-Aug-11 14:00
vbmike30-Aug-11 14:00 
GeneralRe: New messages since 99? Pin
Chris Maunder31-Aug-11 4:35
cofounderChris Maunder31-Aug-11 4:35 
GeneralRe: New messages since 99? Pin
vbmike31-Aug-11 12:50
vbmike31-Aug-11 12:50 
BugThe indent/outdent/untab buttons Pin
Chris Maunder30-Aug-11 13:53
cofounderChris Maunder30-Aug-11 13:53 
GeneralRe: The indent/outdent/untab buttons Pin
Pete O'Hanlon31-Aug-11 0:42
mvePete O'Hanlon31-Aug-11 0:42 
GeneralRe: The indent/outdent/untab buttons Pin
Chris Maunder31-Aug-11 13:29
cofounderChris Maunder31-Aug-11 13:29 
GeneralRe: The indent/outdent/untab buttons Pin
Pete O'Hanlon31-Aug-11 21:21
mvePete O'Hanlon31-Aug-11 21:21 
SuggestionPasted code and language detection - xml comments problem (edited) Pin
Dan Neely30-Aug-11 8:31
Dan Neely30-Aug-11 8:31 
Test 1 was an 8 line dispose method, with 4 lines of xml comment at the start. Initially detected as text, when I selected code in the past it was tagged as xml not C#.

XML
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
    if (disposing && (components != null))
    {
        components.Dispose();
    }
    base.Dispose(disposing);
}



Test 2 is the same code, but without the xml comment. Detected as code and lang="cs" was set automagically as well.

C#
protected override void Dispose(bool disposing)
{
    if (disposing && (components != null))
    {
        components.Dispose();
    }
    base.Dispose(disposing);
}




Test 3 was a similar size xml comment and ~200 lines of "I didn't write and don't have time to refactor this method". (sorry no example since this is real code not autogenerated designer code). This was identified as code by default; but the lang attribute wasn't set at all.


Test 4 was the same code as test 3 but without the xml comment. Same results.

Neither 3 or 4 were de-indented.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius


Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Pasted code and language detection - xml comments problem (edited) Pin
Chris Maunder30-Aug-11 13:49
cofounderChris Maunder30-Aug-11 13:49 
SuggestionSpammers Pin
walterhevedeich30-Aug-11 5:11
professionalwalterhevedeich30-Aug-11 5:11 
GeneralActive spammer Pin
André Kraak30-Aug-11 4:18
André Kraak30-Aug-11 4:18 
GeneralRe: Active spammer Pin
Pete O'Hanlon30-Aug-11 4:26
mvePete O'Hanlon30-Aug-11 4:26 
GeneralRe: Active spammer Pin
André Kraak30-Aug-11 4:38
André Kraak30-Aug-11 4:38 
GeneralRe: Active spammer Pin
Tom Deketelaere30-Aug-11 5:07
professionalTom Deketelaere30-Aug-11 5:07 
GeneralRe: Active spammer Pin
Pete O'Hanlon30-Aug-11 5:13
mvePete O'Hanlon30-Aug-11 5:13 
GeneralRe: Active spammer Pin
André Kraak30-Aug-11 5:22
André Kraak30-Aug-11 5:22 
GeneralRe: Active spammer Pin
Pete O'Hanlon30-Aug-11 5:23
mvePete O'Hanlon30-Aug-11 5:23 
GeneralRe: Active spammer Pin
André Kraak30-Aug-11 5:25
André Kraak30-Aug-11 5:25 
SuggestionNot an article, not a tip? Pin
Sander Rossel30-Aug-11 3:35
professionalSander Rossel30-Aug-11 3:35 
GeneralRe: Not an article, not a tip? Pin
PIEBALDconsult30-Aug-11 4:05
mvePIEBALDconsult30-Aug-11 4:05 
GeneralRe: Not an article, not a tip? Pin
Sander Rossel30-Aug-11 4:22
professionalSander Rossel30-Aug-11 4:22 
GeneralRe: Not an article, not a tip? [modified] Pin
PIEBALDconsult30-Aug-11 5:32
mvePIEBALDconsult30-Aug-11 5:32 
GeneralRe: Not an article, not a tip? Pin
Chris Maunder30-Aug-11 13:55
cofounderChris Maunder30-Aug-11 13:55 
GeneralRe: Not an article, not a tip? Pin
Sander Rossel30-Aug-11 19:32
professionalSander Rossel30-Aug-11 19:32 
SuggestionQ/A Editing: Code indentation Pin
Slacker00730-Aug-11 1:25
professionalSlacker00730-Aug-11 1:25 

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

Flags: AnsweredFixedConfirmedCompleted

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