|
Nice!
- I will use this
---------------------------------
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[ ^]
English League Tables - Live
|
|
|
|
|
Hi Richard,
Yes, okay, even a medium-level HTML coder can "go downtown" like this, easily, but for most QA users this would be not only probably be outside their skills, distracting, and too much work, and also easily prone to errors.
We come on QA to get "down to business," not to practice HTML coding.
There is a much simpler solution which I've suggested in my response to Chris below.
best, Bill
"Your theory is crazy, but it's not crazy enough to be true." Niels Bohr
|
|
|
|
|
BillWoodruff wrote: We come on QA to get "down to business," not to practice HTML coding.
I do both; I'm not a web programmer and much of the knowledge I have about HTML/Javascript has been gained by working here. Looking at answers to other questions is as much part of being a CP member as answering questions.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Richard MacCutchan wrote: Looking at answers to other questions is as much part of being a CP member as answering questions. Hi Richard, I read a lot of questions, and their answers, as well as articles and Tips/Tricks. Very few questions I see on QA are about JavaScript or HTML per se: references to those usually occur in relation to use within ASP.NET.
It would actually be interesting to know how active the JavaScript, and Web Development forums are in comparison to the other forums.
But, the topic of this thread is the editing of CP QA answers, and the awkwardness of the editing facilities, and looking at answers on QA certainly does not reveal the HTML codes used to create some body-text effect in the answer ... unless you examine the page source in your browser: do you have time to search through all the HMTL in a page source and locate where the HTML is used ? I bet you don't.
So I find this response a peculiar nonsequitur to what this thread is about. This response feels like an answer to a question that was never raised here. But it also has the feel to me of an "innuendo:" if I point out what I regard as less than optimal functionality in the editing facility on QA, how do you then infer that I do not read the answers to many questions, and how do you get from there to hinting that perhaps I am not being a "full" CP member.
This is the Site Bugs and Suggestions Forum, and I am posting what I feel is appropriate feedback about the editor facilities on QA based on many hours of my time asking clarifying questions, posting answers, etc.
I discovered, by accident, that some HTML codes will actually work in comments Like the codes for bold text.
Let's stay on topic, shall we ?
best, Bill
"Your theory is crazy, but it's not crazy enough to be true." Niels Bohr
|
|
|
|
|
BillWoodruff wrote: It would actually be interesting to know how active the JavaScript, and Web Development forums are
I look in them whenever I see new questions posted, it's part of my self-learning process. As to comparing them with the other forums I don't keep statistics.
BillWoodruff wrote: do you have time to search through all the HMTL in a page source and locate where the HTML is used ? I bet you don't.
No, I have never done that, I just add some HTML when I want my response to be formatted in a particular way.
BillWoodruff wrote: This response feels like an answer to a question that was never raised here. But it also has the feel to me of an "innuendo:" if I point out what I regard as less than optimal functionality in the editing facility on QA, how do you then infer that I do not read the answers to many questions, and how do you get from there to hinting that perhaps I am not being a "full" CP member.
I have no idea how you managed to infer this from my comments; all I did was explain one of the ways I use this site.
BillWoodruff wrote: This is the Site Bugs and Suggestions Forum, and I am posting what I feel is appropriate feedback about the editor facilities on QA based on many hours of my time asking clarifying questions, posting answers, etc.
Where did I say that it was wrong to do that?
BillWoodruff wrote: Let's stay on topic, shall we ?
So you decide what the topic is and no-one else is allowed to deviate from that view.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
your message gets stored as HTML, some tags may be refused by CP upon entry, what remains works as expected. So use PRE tags, or non-breaking spaces, or lists, or tables, or rely on the CSS styles that get included automatically...
|
|
|
|
|
Have you any experience, and any desire to use, Markdown[^]?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: Have you any experience, and any desire to use, Markdown Hi Chris, No I have never used "MarkDown," but will take a look at it, and evaluate it carefully.
... edit ... I looked at MarkDown: no way I would ever burden my mind with yet another system of syntax ! And to say I find MarkDown's syntax "peculiar" would be an under-statement ... end edit ...
Suggestions:
0. of course the simplest solution is to allow space or tab characters at the beginning of body-text lines.
else:
1. when treat text as HTML is enabled in QA answers, and body text (text outside pre-tags) is selected:
a. make hitting the 'indent menu choice add three non-breaking HTML space characters to the start of each line in the current selection.
b. make hitting the 'outdent menu choice remove three non-breaking HTML space characters for those lines in the current selection that begin with at least three of said characters.
Consider that: when only body-text is selected, that menu items which are not functional are greyed out.
Comment: I've always thought it was weird that there was no 'tab command to match the 'untab command, but if 'indent and 'outdent are implemented adequately, then I think there's no need for either 'tab or 'untab.
It's also strange that you can actually paste Tab characters into the editor window, and see the body text indent as expected, but they are, of course, ignored when the message is rendered in its final form, if the message is treated as HTML. Why can't those working tabs in the editor, be rendered in the final message as a series of non-breaking space codes ?
best, Bill
"Your theory is crazy, but it's not crazy enough to be true." Niels Bohr
modified 23-Feb-12 12:22pm.
|
|
|
|
|
I just got an email with the subject "CodeProject | Web Developer Newsletter - Does anyone actually like the Metro interface?"
Shouldn't that quote have been for the Daily News email (the one with a link to this message)?
|
|
|
|
|
Not necessarily, since that message was featured as a news item, and news items appear in the Mobile and Web dev newsletters.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I didn't notice it anywhere in the email, but I could have missed it (I have since deleted the email, so I can't confirm).
|
|
|
|
|
Items that need attention:
It appears that this message has already been posted in this forum.
How did you know?
Bastard Programmer from Hell
|
|
|
|
|
I suspect magic. Or, perhaps, programming.
|
|
|
|
|
Aw, magic..
Without Mustrum Ridcully, how would this have been done without magic? The subject and time/date of the post cannot be the identifying item here, as it would have qualified as a new post.
Bastard Programmer from Hell
|
|
|
|
|
|
Neh, there is a wizard that they've got to sort this out.
|
|
|
|
|
I suspect a hash code is stored for each message body, then an index is placed on that hash code. When a new message is created, a hash can be created and it can be quickly looked up in the database. If a match is found for the hash, the message body corresponding to that hash can be compared against the new message body. If they match, it's a copy. In fact, SQL probably does all that hash magic under the covers for varchar fields, so I suspect there's no need to create a new field for it. Not really that mysterious.
|
|
|
|
|
AspDotNetDev wrote: Not really that mysterious.
Would be a good explanation, if the first post were actually posted. Could have been a GUID. Without a first post, the error is erroneous.
Disclaimer: altough it's a fact, it's also a fact that I have been drinking. Surrounded by clowns ATM.
Bastard Programmer from Hell
|
|
|
|
|
Ah, so you are saying that you got that error when the message you posted was, in theory, completely original?
I suspect Chris will want details, such as the exact contents of the message. And if you tried again, did it error out again. And which forum this was in.
|
|
|
|
|
AspDotNetDev wrote: I suspect Chris will want details, such as the exact contents of the message. And if you tried again, did it error out again. And which forum this was in.
IamsorryandIwillnotdoitagain?
Bastard Programmer from Hell
|
|
|
|
|
Eddy Vluggen wrote: Without a first post, the error is erroneous. I am taking this as my Zen Koan for the day's meditation.
thanks, Bill
"Your theory is crazy, but it's not crazy enough to be true." Niels Bohr
|
|
|
|
|
Magic.
Did this message appear after you had tried posting a message? Did you double-tap the submit button? Or have I overclocked the CPUs on the servers too much so they are returning results before you post them?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: Did you double-tap the submit button?
That must've been it; sitting behind a laptop with a touchpad for a mouse.
Bastard Programmer from Hell
|
|
|
|
|
I was browsing Toolbar section and a few articles have their images broken. Possibly it was broken during transition to new URL system.
For example Sizing TabControlBar[^] doesn't show image. I did a test and Googled the title of the article to see if image shows up in Google's site Preview. There were two links that I got as a search result. The second (old-style) link to article's comment shows the article with the main image: Sizing TabControlBar[^]
Thanks,
Damir
modified 22-Feb-12 12:38pm.
|
|
|
|
|
It's been happening for several months now. I already reported it, but it's not fixed. CodeProject is automatically publishing ALL posts published in my blog, not only tagged to be so.
People is complaining about senseless articles published by me, when they were wrongly taken by codeProject. Can you please fix this?
Thanks !!
Inaki Ayucar
http://graphicdna.blogspot.com
|
|
|
|
|