| | |
BBCode Interferes With Code
![]() |
•
•
Join Date: Mar 2006
Posts: 50
Reputation:
Solved Threads: 2
Dear moderators,
I would like to report a potential bug as in this post:
http://www.daniweb.com/techtalkforums/post200331-1.html
I used
Is it possible to prevent such a thing from happening somehow? Removing the parsing of BBCode within [CODE] and [INLINECODE] tags alone will not do because I do use [B] within them.
I would also like to suggest providing an alternate BBCode to [INLINECODE], like [C] or something. That's because [INLINECODE] is meant to be frequently used (I do use them frequently) and manually typing them is a little of a chore. Perhaps implementing keyboard shortcuts would be a good choice.
Also, is there a way to prevent the edit box from scrolling all the way to the top whenever I click on one of the formatting buttons? It gets in the way whenever I try to format a long reply. Thanks!
P.S. May I also ask why is there a 30 minute edit limit?
I would like to report a potential bug as in this post:
http://www.daniweb.com/techtalkforums/post200331-1.html
I used
if (!(fin >> pianoPlayer[i])) in line 6 and the [i] was interpreted as the italic BBCode. This would not have happened if I did not use a close italic BBCode in this line further below (the italicised part is underlined here):•
•
•
•
Originally Posted by AstroNox
Call which method with parameters by reference or value? TheReadScoresmethod above usesifstream& finas its parameter; the&tells the compiler that the parameter is passed in by reference and not by value.
I would also like to suggest providing an alternate BBCode to [INLINECODE], like [C] or something. That's because [INLINECODE] is meant to be frequently used (I do use them frequently) and manually typing them is a little of a chore. Perhaps implementing keyboard shortcuts would be a good choice.
Also, is there a way to prevent the edit box from scrolling all the way to the top whenever I click on one of the formatting buttons? It gets in the way whenever I try to format a long reply. Thanks!
P.S. May I also ask why is there a 30 minute edit limit?
Best Regards, God Bless,
AstroNox
AstroNox
This is just a built-in bug with the vBulletin software which powers DaniWeb. The problem is eliminated when you use [php] or [html] tags as opposed to [code] tags.
The full standard and WYSIWYG editors (which appear everywhere except for the quick reply box) contain a button to quickly insert inline code.
The full standard and WYSIWYG editors (which appear everywhere except for the quick reply box) contain a button to quickly insert inline code.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Mar 2006
Posts: 50
Reputation:
Solved Threads: 2
Hi cscgal,
I understand that clicking on the button will do in the Advanced Reply mode. I always use the Advanced Reply anyway. It's just that if there's a lot of inline code it is rather "tiresome" (if you get what I mean), to click that button. In fact, the edit box scrolling to the top on a button click makes it worse. I was thinking of an easier way where one could insert these tags without touching the mouse, i.e. keyboard combination shortcuts for tags, or, shorter tag names. Just a suggestion
Anyway, I'll keep the [php] and [html] tags in mind. Thanks!
I understand that clicking on the button will do in the Advanced Reply mode. I always use the Advanced Reply anyway. It's just that if there's a lot of inline code it is rather "tiresome" (if you get what I mean), to click that button. In fact, the edit box scrolling to the top on a button click makes it worse. I was thinking of an easier way where one could insert these tags without touching the mouse, i.e. keyboard combination shortcuts for tags, or, shorter tag names. Just a suggestion

Anyway, I'll keep the [php] and [html] tags in mind. Thanks!
Best Regards, God Bless,
AstroNox
AstroNox
![]() |
Similar Threads
- Code problems with cut and paste? (DaniWeb Community Feedback)
- No Colors Anymore? (DaniWeb Community Feedback)
- Syntax language can be highlighted (IT Professionals' Lounge)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: NEEDS A News & Announcements
- Next Thread: Alignment
| Thread Tools | Search this Thread |
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar glitch ie6 itsatag! kids layout login lulz negative newfeature poll post preview privatemessaging problem profanitytest profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search snippet socialgroups solvedthreads sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining






