|
-
Jul 14th, 2003, 09:40 PM
#1
Thread Starter
Sleep mode
VB.NET syntax highlighting?[Resolved]
I have no idea how difficult it is to add some of the VB.NET (and probably C#.NET also) language keywords to the previous VB code highlighting . You know, just to identify them in blue color . I believe this would make VB.NET Forum most updated and would make the members more impressed.
Some of the new keywords :[the ones not in blue]
VB Code:
Friend
Protected
Overloads
Interface
Implements
MustInherit
NotInheritable
Overrides
MustOverride
Thanks .
Last edited by Pirate; Jul 30th, 2003 at 11:26 AM.
-
Jul 15th, 2003, 02:08 PM
#2
Hyperactive Member
You forgot Shared
-
Jul 15th, 2003, 02:11 PM
#3
Thread Starter
Sleep mode
Yea , I didn't list them all I know maybe they will refuse to fix this .
-
Jul 15th, 2003, 07:41 PM
#4
Thread Starter
Sleep mode
Why mods didn't reply yet ??
-
Jul 16th, 2003, 01:04 PM
#5
Stuck in the 80s
Adding hacks, modifying current hacks, or modifying the current board code is frowned upon around here, because they don't want to have to do it again when they update the forum software (bleh).
And an Administrator would probably have to do this, not a Moderator.
So...Brad...Gus?
-
Jul 16th, 2003, 01:46 PM
#6
Stuck in the 80s
It looks to me as if Brad is trying to implement a solution as we speak: http://www.vbforums.com/showthread.p...hreadid=253802
-
Jul 16th, 2003, 01:49 PM
#7
Thread Starter
Sleep mode
...........................................
-
Jul 16th, 2003, 02:06 PM
#8
I've hacking the hack, but it isn't happening. I've made the appropriate change to add the list of new terms, but it isn't working. I'm going to let it sit and look at it again tomorrow.
Brad
If I can't do it, then it won't happen until after the upgrade of vBulletin.
-
Jul 16th, 2003, 02:11 PM
#9
Thread Starter
Sleep mode
Hmm , When are you going to update it ??
-
Jul 16th, 2003, 02:19 PM
#10
Originally posted by Pirate
Hmm , When are you going to update it ??
This (the date) is in the hands of the Jupitermedia administrators.
We have a copy of the new version installed and have been testing it out. There are some issues that I've identified that have to be fixed before it can be rolled out to any of our sites. For example, quoting doesn't work right.
In the mean time, I'll work on the code for the vb coloring again tomorrow.
Brad!
-
Jul 16th, 2003, 04:58 PM
#11
Thread Starter
Sleep mode
Thank you .
-
Jul 16th, 2003, 08:46 PM
#12
Stuck in the 80s
It'd also be cool if you guys fixed the PHP tag bug.
-
Jul 17th, 2003, 07:40 AM
#13
It'd also be cool if you guys fixed the PHP tag bug.
Can you give me more details on what this bug is?
Thanks,
Brad!
-
Jul 17th, 2003, 11:51 AM
#14
Stuck in the 80s
I posted it a long time ago, but basically:
PHP Code:
//this is my code here
Notice how the php tag creates extra newlines above and below the code. It's really annoying and kinda looks tacky.
-
Jul 17th, 2003, 12:16 PM
#15
Stuck in the 80s
Hey Brad,
Is the PHP tag a hack or is it just a custom vB Code tag? If it's a custom tag, can you tell me what the vB Code Replacement is set at?
I was looking at the HTML generated for the page, and figured out a way to remove the extra lines.
-
Jul 17th, 2003, 12:22 PM
#16
Stuck in the 80s
Nevermind. I did some researching and found out that the PHP tag is hard coded into the scripts, so I'm guessing you wouldn't want to bother with it if you're just going to be updating soon anyways.
Maybe the new version will fix it?
-
Jul 17th, 2003, 01:28 PM
#17
Originally posted by The Hobo
Maybe the new version will fix it?
In version 3, there is no spacing added before or after php code when using the php tags.
Brad
-
Jul 17th, 2003, 02:11 PM
#18
Stuck in the 80s
:mouth waters:
-
Jul 19th, 2003, 05:09 PM
#19
Addicted Member
Originally posted by The Hobo
I posted it a long time ago, but basically:
PHP Code:
//this is my code here
Notice how the php tag creates extra newlines above and below the code. It's really annoying and kinda looks tacky.
There's a solution here:
http://www.vbulletin.com/forum/showp...04&postcount=9
Gary W Web Developer & Designer
Visual Basic 6
-
Jul 27th, 2003, 05:59 PM
#20
Thread Starter
Sleep mode
Any progress regarding new .NET Keywords ??
-
Jul 27th, 2003, 06:16 PM
#21
Monday Morning Lunatic
They were being messed with in the testing forum, I saw. Don't know whether normal users can see that...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 27th, 2003, 06:24 PM
#22
Thread Starter
Sleep mode
-
Jul 28th, 2003, 08:09 AM
#23
The testing forum is public.
I made changes to the php file. These changes should have gone immediately live, but didn't. I've asked the server admins to look into why the php changes didn't show on the live server. I'm waiting on a reply.
Brad
-
Jul 28th, 2003, 08:36 AM
#24
Thread Starter
Sleep mode
Great
Thanks . We'll be waiting too .
-
Jul 29th, 2003, 04:33 PM
#25
I didn't take the time to look up all the new VB keywords. I added those in the list provided earlier in this thread. If you look in the testing forum, you'll see the list of terms I added as well as the complete list of terms in the script for VB (they are in one of my test messages).
The change for the PHP spacing didn't work. I've incorporated the suggested code change.
Brad
-
Jul 29th, 2003, 05:31 PM
#26
Stuck in the 80s
Originally posted by brad jones
The change for the PHP spacing didn't work. I've incorporated the suggested code change.
It looks like it did work, somewhat. There is no longer an extra space under the code. Did you miss something, by chance?
Thanks for looking into it, Brad.
-
Jul 30th, 2003, 11:25 AM
#27
Thread Starter
Sleep mode
Thanks Brad for being so helpful .
-
Jul 30th, 2003, 12:58 PM
#28
Stuck in the 80s
If Brad can get the other half of the PHP tag fixed, I think I might have to start a campaign to get him a raise.
-
Jul 30th, 2003, 01:00 PM
#29
Thread Starter
Sleep mode
You said it's been solved .
-
Jul 30th, 2003, 01:03 PM
#30
Stuck in the 80s
Originally posted by Pirate
You said it's been solved .
Where?
-
Jul 30th, 2003, 01:06 PM
#31
Thread Starter
Sleep mode
Originally posted by The Hobo
It looks like it did work, somewhat. There is no longer an extra space under the code. Did you miss something, by chance?
Thanks for looking into it, Brad.
-
Jul 30th, 2003, 01:15 PM
#32
Stuck in the 80s
Where in that quote do you gather that it was solved? I was telling him that it was fixed on the bottom of the text, but not the top.
So it is somewhat solved, but indeed, not solved.
-
Jul 30th, 2003, 01:20 PM
#33
Thread Starter
Sleep mode
Hmm , you should've started your own thread with PHP title or so . This thread should be strictly for VS.NET highlighting problem .
-
Jul 30th, 2003, 01:25 PM
#34
Stuck in the 80s
Originally posted by Pirate
Hmm , you should've started your own thread with PHP title or so . This thread should be strictly for VS.NET highlighting problem .
I did. A long time ago.
-
Jul 30th, 2003, 04:07 PM
#35
okay, the PHP is 1/2 resolved. It has been changed to the suggested fix that was posted earlier in this thread. It should actually be working on both the top and bottom, but obviously is not. I've dug a little into the code, but will have to dig a lot deeper to figure out what is still wrong.
The VB highlighting is now under control. As I mentioned, I didn't validate keywords. I can, however, get to the code to make changes if additional words come up. I'm guessing words like partial and generic may be added soon....
Regardless, I'm closing this thread as resolved. Any new changes to a new thread.
(I'll post a reminder thread on the PHP).
Brad!
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
|