|
-
Mar 23rd, 2009, 04:57 PM
#1
BBCode inside [highlight] tags?
Why does this still not work?
VB Code:
Dim i As Integer 'I seriously [b]hate[/b] VB!
Code:
but does this work?
What's up?
-
Mar 23rd, 2009, 05:25 PM
#2
Re: BBCode inside [highlight] tags?
-
Mar 23rd, 2009, 08:47 PM
#3
Re: BBCode inside [highlight] tags?
Why does BBCode work inside code blocks, but not highlight? See the difference in the two examples I posted?
-
Mar 23rd, 2009, 11:50 PM
#4
Re: BBCode inside [highlight] tags?
Oh, I see. This was brought up before and unfortunately there's not much we can do about it.
-
Mar 24th, 2009, 01:11 AM
#5
Re: BBCode inside [highlight] tags?
The formatting seems to interrupting the way the tags work!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Mar 24th, 2009, 07:46 AM
#6
Re: BBCode inside [highlight] tags?
It works fine if you'd use ordinary CODE tags.
Code:
Dim myVar As Integer 'you shouldn't hate VB because something isn't going your way ;)
-
Mar 24th, 2009, 08:00 AM
#7
Re: BBCode inside [highlight] tags?
But then one loses the highlighting... which is the point of the highlight...
-
Mar 24th, 2009, 08:40 AM
#8
Re: BBCode inside [highlight] tags?
I don't think anyone will lose anything - highlights are mostly pain and nothing more than that.
They don't "highlight" code properly and they don't allow copying code "normally" so you have to go through some workarround nonsense - that basically why I never use those tags.
AFAIAC as long as posted code is formatted and readable it's good - if you want to add some spice to it select text and highlight it with some color/bold/italic/etc (green comments perhaps).
-
Mar 24th, 2009, 08:45 AM
#9
Re: BBCode inside [highlight] tags?
I should follow in NoteMe's footsteps and create a modern vB extension for Firefox... something to make this kind of formatting easy...
-
Mar 24th, 2009, 09:48 AM
#10
Re: BBCode inside [highlight] tags?
I believe it has to do with whenboth things are parsed. In order for the plug-in that does the syntax highlighting to override the normal formatting of the forum, it must come last in the sequence, and it doesn't understand BB code.
-
Mar 24th, 2009, 10:24 AM
#11
Re: BBCode inside [highlight] tags?
But why does it have to come last? It makes sense in my mind that the inline code tags should always be the last ones parsed, just to ensure that the block tags don't break them. Maybe it's just me...
-
Mar 24th, 2009, 07:10 PM
#12
Re: BBCode inside [highlight] tags?
HTML Code:
//What about the [b]html[/b] tags?
Edit:
The html tags don't work either!
Last edited by Nightwalker83; Mar 24th, 2009 at 07:11 PM.
Reason: Adding more!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Mar 27th, 2009, 06:56 PM
#13
Frenzied Member
Re: BBCode inside [highlight] tags?
Code:
<Funny>It Works For Me</Funny>
<Im Currently="In The Middle">Of Editing x:Light To</Highlight> VB/C# code
Its taking a while because I'm perfecting the highlight as we all now that the built in highlights in vBulletin isn't great.
-
Mar 27th, 2009, 08:22 PM
#14
Re: BBCode inside [highlight] tags?
 Originally Posted by DeanMc
Its taking a while because I'm perfecting the highlight as we all now that the built in highlights in vBulletin isn't great.
I noticed you are hightlighting the tags too not only the code, strange that vbulletin should only that way and not the way timeshifter posted.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Mar 27th, 2009, 09:18 PM
#15
Re: BBCode inside [highlight] tags?
Because highlighting inside of code tags works... just not inside highlight tags. He ran that text through his own BBCode parser before posting it.
-
Mar 28th, 2009, 05:02 AM
#16
Frenzied Member
Re: BBCode inside [highlight] tags?
Yup its my own engine, built in c#, their is also a basic version in the code bank witten in vb.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|