|
Um.
If you create a new question (or edit an existing one) and "Treat my content as plain text" is set, then toggling it does not show any code blocks as code blocks. This may be why some of the newbie questions are initially showing as plain text with <pre> tags - the option doesn't appear to do what they think it should! Only if they type after setting the option does the change take effect in the preview.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
By Jove Walter, are you bored, unemployed, mad?
I mean good show and all, but evidence there of a man with too much time on his hands
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Dalek Dave wrote: are you bored, unemployed, mad?
They aren't mutually exclusive - that's the only reason I can figure for the existence of Jeremy Kyle.
|
|
|
|
|
Car crash television.
You know it is bad, but you keep watching anyway.
All these families and their problems that you just cannot imagine happening to anyone to doesn't shop in Lidl.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
I actually have a simple program that will parse the user names, their biographies, and homepage, and put it in a grid for review. Its a bit quicker reviewing it on a grid than going over the users on the Who's who page. I'll probably write an article once the code is finalized. Right now, I'm still thinking if the program is worthy of an article.
Signature construction in progress. Sorry for the inconvenience.
|
|
|
|
|
walterhevedeich wrote: I'm still thinking if the program is worthy of an article.
Of course it is. Look at how many "reputation" articles there are, and then ask yourself this question again.
|
|
|
|
|
Thanks Pete. I'll probably finish it by end of September, if time permits.
Signature construction in progress. Sorry for the inconvenience.
|
|
|
|
|
I notice, especially clicking on a link from the CP newsletter (coincidence probably?), that the discussions menu shows "Bold indicates new messages since 22:00 31 Dec '99" and all the discussion links are bold. I have noticed this before and it is intermittent. Use FireFox 6 currently, Windows 7. Not sure if this is on my end or not. Usually it shows just since a few days/weeks when I visit each time. I see old posts similar but no dates as old as Dec '99.
vbmike
|
|
|
|
|
The cause of this would be cookies being deleted, blocked, or if you're using a new machine or browser.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
hmmm, I wonder how that happened? Sneaky browsers.....thank you....
vbmike
|
|
|
|
|
Just to head off the inevitable, here are the current bugs in these buttons
- indent and outdent apply only to text you select. This means if you select a partial line, it may not be outdented correctly, or when indenting, the indent will be applied from the beginning of the selection, not the beginning of the line
- after indent/outdent, the selection is unselected, meaning it's tedious to in/outdent multiple times
- the untab does not correctly replace mixed tabs and spaces with spaces. For instance, 3 spaces and a tab is the same as a single tab (assuming 1 tab = 4 spaces)
The buttons were whipped up in 5 mins just to have "something". I'm travelling for a week so hopefully I'll get a chance in airports or 37,000ft above the Atlantic to get some play time in.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I gather you're in the UK. Are you travelling around or staying in 1 place?
|
|
|
|
|
Both. Staying in one place ( paddington hill? Not sure - itinerary in other bag) and going all over the countryside for meetings
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
If you come up north, let me know.
|
|
|
|
|
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#.
/// <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.
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
|
|
|
|
|
We're currently using Luc Pattyn's PRE tags galore: LPCodeRecognizer[^] code for the code sniffing. I've been looking at some other methods, including that used in the javascript SyntaxHighlight class to see if we can improve the accuracy somewhat. Unfortunately we're completely booked up with current projects for the next 4 weeks so it's not something I'll be able to tackle until then.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I just ran into this spammer[^] is has hit six questions[^] so far.
0100000101101110011001000111001011101001
|
|
|
|
|
You can report this member on his homepage by moving your mouse over Report Member. Click the Spammer link.
|
|
|
|
|
|
Report member is on the right side of the screen underneath the summery of the members articles / messages / ...
Hover above it with the mouse and you'll get a menu with 2 links in it. Click on the' spammer' link.
|
|
|
|
|
André Kraak wrote: By the way all the answers posted have gone now.
I know. I deleted them.
André Kraak wrote: I am unable to find the Report Member option you mentioned.
Look at the bottom right - just above the big orange bar at the bottom. There's a red flag and beside that there's a Report Member option.
|
|
|
|
|
The only thing I see in the area you mention is Bookmark.
Do I perhaps need a certain reputation level to have this option?
0100000101101110011001000111001011101001
|
|
|
|