-
Re: VBForums Firefox extension FINALLY updated for 1.0.
this is all that would need to be editted in the extension code
Code:
case "delphi":
keys.push({style:{color:"#999999", bold:false, italic:true, name:"comment"}, start:/\s*\/\*[\s\S]*?\*\//mg});
keys.push({style:{color:"#999999", bold:false, italic:true, name:"comment"}, start:/\s*\/\//mg, end:/\n/mg, neglect:/\\|\?\?\//mg});
keys.push({style:{color:"#000099", bold:false, italic:false, name:"pre"}, start:/\s*?^\s*(?:#|\?\?=|%:)/mg, end:/\n/m, neglect:/\\[\s\S]|\?\?\/[\s\S]/m});
keys.push({style:{color:"#009900", bold:false, italic:false, name:"string"}, start:/\s*(?:\bL)?"/mg, end:/"/m, neglect:/\\[\s\S]|\?\?\/[\s\S]/m});
keys.push({style:{color:"#009900", bold:false, italic:false, name:"char"}, start:/\s*(?:\bL)?'/mg, end:/'/m, neglect:/\\[\s\S]|\?\?\/[\s\S]/m});
keys.push({style:{color:"#996600", bold:false, italic:false, name:"float"}, start:/\s*(?:(?:\b\d+\.\d*|\.\d+)(?:E[\+\-]?\d+)?|\b\d+E[\+\-]?\d+)[FL]?\b|\s*\b\d+\./mgi});
keys.push({style:{color:"#999900", bold:false, italic:false, name:"int"}, start:/\s*\b(?:0[0-7]*|[1-9]\d*|0x[\dA-F]+)(?:UL?|LU?)?\b/mgi});
keys.push({style:{color:"#000000", bold:true, italic:false, name:"bool"}, start:/\s*\b(?:true|false)\b/mg});
keys.push({style:{color:"#FF6633", bold:false, italic:false, name:"type"}, start:/\s*\b(?:bool|char|double|float|integer|long|short|signed|unsigned|void)\b/mg});
keys.push({style:{color:"#3333FF", bold:false, italic:false, name:"flow"}, start:/\s*\b(?:break|case|catch|continue|default|do|else|for|goto|if|return|switch|throw|try|while)\b/mg});
keys.push({style:{color:"#3333FF", bold:false, italic:false, name:"keyword"}, start:/\s*\b(?:procedure|var|start|end;)\b/mg});
keys.push({style:{color:"#663300", bold:true, italic:false, name:"operator"}, start:/\s*[\{\}\[\]\(\)<>%:;\.\?\*\+\-\^&\|~!=,\\]+|\s*\//mg});
break;
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Nope, you would need to highlight:
procedure
and others, i cant remember them all, its not just variables, and statements, its more
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Anyone that has this plug in, can you test something for me?
I am redoing the plug in now. And in stead of having up to 3 nested pop up menues, I wanted max 1-2. So I have re aranged them a bit. But now if I rightclick outside the text box (i.e on the blue stuff around here) I get Canders extension in the pop up menu too. It wasn't like that in the origianl, right? Can anyone just check that for me?
- I have also added a "paste img from clipboard", works like the paste code and quote from clipbard.
- I am also about to add 40+ smilies to the extension. Hope that will work out good.
Nebulom has added Java syntax higlighting and some other fancy stuff to it. But I havn't seen him online in a few days. If you see this Nebulom, do you want to merge our two extension, so we can make a Cander+ extension?..:D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Fine by me. I'll see what I can do.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Will it be best if I send you what I have altered, and tell you where to add it? Or is it better to do it the opposite way? And BTW what have you made that is worth keeping? I love the console thingy. We need to keep that one, even if it doesn't work well for multiple lines....:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I don't know, it's kinda messy. It's better if you send it to me. I'll place things.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
OK. I have altered 3 files. And added 40+ smilies in the smilies catalogue. I am waiting for Wossy to run his app, so he can convert them to png, so we can have a small smilie in the pop up so you know what smilie you are choosing. (see the smilie in the current pop up to see what I mean).
Here is the layout I have now of the menu.
- Code heiglighter:
- C++ code from clipboard
- VB code from clipboard
- PHP code from clipboard
- Pste from clipboard:
- Code from clipboard
- Quote from clipboard
- Img from clipboard
- Format text:
- Bold
- Italic
- Code
- Quote
- Highlight
- Color
- Subscript
- Superscript
- Smilies
- 46 smilies here (might be smart to group them?)
- Nice text:
- Rainbow text
- Rainbow heiglight
- Rainbow heiglight and text
Tell me if you don't agree on this.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
I also would like to get the file on a permanent website location so I can use the Update functionality in Firefox so people can just click a button in FF to update
C'mon Note, be a good boy, step up :D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Fine by me. Code highlighter will be added by Java (mine TODO) and Delphi (hopefully for Adam). Hehehe.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by manavo11
C'mon Note, be a good boy, step up :D
Ohhh....he must have said something like "Hello" in the start of the post. And he knows that I don't read more then one line...he should know better..:)
Cander, you can add it to my server if that is good enough for you. I am thinking about keeping NoteMe.com as long as I can. If that will work.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by nebulom
Fine by me. Code highlighter will be added by Java (mine TODO) and Delphi (hopefully for Adam). Hehehe.
And Python me..:D...hehe...I don't know regular expression at all. Canders regular expression looks scary to me..:D...will have a look at it one day though...but that is not my primary goal.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Smilies? http://www.vbforums.com/attachment.p...postid=1772157
Hmmmm. I missed that in the new version.
What we REALLY need is like, maybe 39 MORE SMILIES! :)
What else does this do?
COOL!
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Well the new one has 45 more smilies...so hope I can get it to work. Wossy just mailed me. I have about 15 more minutes of coding first, then I will download his png smilies, and then I will have 10more minutes of coding to do,then I can send it to Nebulom, hope you havn't left by then Neb...:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Well, the smilies are there. I can see that Wossys converter didn't work 100% so I have to convert some smilies manualy.
I can also see that it became way to many. Might have to devide them into groups. What do you think?
http://vbforums.com/attachment.php?attachmentid=37792
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
w00t, I have updated the extension a 1000 times today, and now Fx suddenly refuses to collaborate here..:D...It won't uninstall the extension again...:D. It just says that it will be uninstalled next time I restart Fx. But I have even restarted the computer with no luck...grrrr....
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
you guys are making me so proud of you. :sniff:
heh
NoteMe, you may have to go manually remove the extension
C:\documents and settings\<windows account>\application data\mozilla\firefox\profiles\<profiles name (or default.xxx)>exrtensions
and delete the folder named {47F7B08F-38B3-4909-B5B9-983F4B71824B}
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I am on linux..::D
But I just managed to make it work again...:).....No idea what happend. But I altered some more on the code, and then tried to install that, and then restarted Fx, and then it was gone..:D
BTW do you want it on my server? Or did you think about something else?
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
your server would be great.
w00t!
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by NoteMe
Well, the smilies are there. I can see that Wossys converter didn't work 100% so I have to convert some smilies manualy.
I can also see that it became way to many. Might have to devide them into groups. What do you think?
http://www.vbforums.com/images/ieima...chmentid=37792
Hey I was thinking maybe a popup with smiley groups with tabs maybe.. Id have to some research on that though
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ahha...:D...yeah that could work..:)...At the moment it is caos..:D One big line of stuff..:). but for some reason I can't take print screen on this machine...grrrrrr
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
your server would be great.
w00t!
Good as gold. I havn't looked into all this auto update at all. Not sure how it works. But I will at least make a folder for it. Do you have any prefered names? Or is "vb_extension" good enough?
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
vb_extension is fine. Here is a quick Tab test I wrote up.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Looks good. But I guess you ment that it will pop up when you rightclick and press something?
BTW Neb has changed the color picker so it won't pop up a new "form", but in stead the menu expands to a color picker..:) I think that might be better.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hmmmm...maybe we need som fancy .htaccess file in that folder?
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
Image for the colorpicker on a menupopup. Also added the Java syntax highlighter. Sorry about that Note. Just a few editing on Cander's set() and setLanguage() function. I'll try putting the Console Output, Note, etc. for Nice text menu.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I guess Alignment is also to be added here. [http://www.vbforums.com/right][/right], [http://www.vbforums.com/center][/center], [http://www.vbforums.com/left][/left], [http://www.vbforums.com/indent][/indent], etc... What do you think?
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Yeah, that colour picker looks great.
But why didn't I know about the indent tag beofore? That is a great thing. I have always tried to fool the quote box to act like the code box. But the quote box does not have indent.
Not sure if you have noticed but the width of the code box is set to a certain amount of columns. So if you have a resolution bigger then 1024 in width, it won't fill the screen as the quote box does. Have you seen that?
But if we use the Indent tag, then we can make the syntax heiglighting in the quote box in stead of the code box, and make it fit the screen. What do you think?'
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
That might not be a good solution after all since it is using blockquotes. So it adds an extra line break and space on the right side too..grrr...well well...
But I managed to make the .xpi file install it self when you click the link. Had too add:
AddType application/x-xpinstall xpi
to my .htaccess file, and now it works. So next job for me is making the update.rdf so it can update it self when we launch a new versoin..:)...and then add spyware..:) J/K
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Finaly made the autoupdate feauture work right for my server...mime types and .htaccess files and bugs fixed.
To Neb:
I found to url errors in the install.rdf file. I have mailed you the new one. So please use this one in the feauture so the autoupdate will still work..:)
Good job BTW.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Not FoundThe requested URL /vb_extension/cander.xpi was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/1.3.33 Server at [url]www.noteme.com[/url] Port 80
PHP Code:
/* The message you have entered is too short. Please lengthen your message to at least 4 characters.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I changed the name of it...it is still under construction...:)
http://www.noteme.com/vb_extension/vbf.xpi
:)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
w00t, why do you have to copy paste the link to make it work....grrr....I am starting to hate this..:D
http://noteme.com/vb_extension/vbf.xpi
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by NoteMe
I just clicked it, reviewed the security notice and it installed itsself :thumb:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ohhh...good...it is probably just my machine that is getting tired of installing and uninstalling it all the time then...:)
http://vbforums.com/attachment.php?attachmentid=37831
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
http://vbforums.com/attachment.php?attachmentid=37794 Yep probably just that overworked poor machine with multiple o/s's...
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Good work guys.
Glad to see the color picker redone. I was never happy with the way I had done it, but it was the best workaround at the time due to some problems where I couldnt get the color picker to work any other way. :o
I am currently looking up a way to get an event to fire when an image is clicked on an xul window for that tabbed smiliey window idea. onclick and oncommand just dont fire for an image. :(
Or I wonder if it can be turned into a widget like the color swatch so it can be like nebulom has it now.
hmmm.
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
It is at the moment working as the menu in Fx. The "back" "forward" "home" button. This is snapshot of how it is working at the moment.
NB: The image is from Moxilla, so the left side of the menu is a bit different then in Fx.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
:o
You guys rock! :D
Can you get me a link to your latest version you are working on so I can sync up here and see what all you guys did?
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
And just to show the allignment feauture added too...:)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
:o
You guys rock! :D
Can you get me a link to your latest version you are working on so I can sync up here and see what all you guys did?
I am affraid not..:(...it became to hard to work on the same files at the same time, so I started on the install and update files, while he was working on the vbf.js file...:(...and when he left the office I just said that I would mail him my part when I was finished, and forgot to ask if I could get his part..:(
http://vbforums.com/attachment.php?attachmentid=37821
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
How dare you say no! :p
Its cool, when you guys get synced up, get me a link to it.
We need a CVS server. :o
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Yeah I know. Do you think it is possible to get some access controll on my server? Cross platformed stuff? Since I am in Linux most of the time? i can at least make a dev folder where we can add the files when we are finished editing them, so we have them online and up to date all the time.
I can at least make a folder, and then we can take it from there. Will PM you and Neb with a psw and stuff.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Is it really meant to look like THIS though ?
http://img202.echo.cx/img202/9295/muckedup1ab.png
It fires like that on ANY webpage :(
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by thegreatone
The newest version doesn't. Look at my last two screen shots..:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by NoteMe
The newest version doesn't. Look at my last two screen shots..:)
ØØ
Cool, i look forward to its release :thumb:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I guess it is going to take a few more days. But I guess we can have a working beta ready tomorrow or in two days. Then we can just put new stuff on the server so you can autoupdate it with Fx.
Please come with ideas if you have any, so we can add that too. Constructive critisism is always allowed...;)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by NoteMe
I guess it is going to take a few more days. But I guess we can have a working beta ready tomorrow or in two days. Then we can just put new stuff on the server so you can autoupdate it with Fx.
Please come with ideas if you have any, so we can add that too. Constructive critisism is always allowed...;)
ØØ
Cool, i'll give you a shout if i think of anything.
Keep up the good work :thumb:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ohh....and if you guys find any funny FREE smilies please post them too, and I will add them.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by thegreatone
Cool, i'll give you a shout if i think of anything.
Keep up the good work :thumb:
Thanks, but most of the credit is still Canders. He is our head houncho (SP?) here..:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
honcho* i think, i might look for some smilies just for a contribution to the momentus piece of work :D
EDIT:
http://silentaggression.net/images/smilies/puke.gif
EDIT2 : http://www.vbforums.com/
http://silentaggression.net/images/smilies/iagree.gif
http://silentaggression.net/images/smilies/owned.gif
http://silentaggression.net/images/smilies/bowdown.gif
http://silentaggression.net/images/smilies/bowrofl.gif
http://www.silentaggression.net/foru...s/confused.gif
http://www.vbforums.com/
http://silentaggression.net/images/smilies/stupid.gif
Code:
EDIT3 : http://silentaggression.net/images/smilies/kkk.gif
http://silentaggression.net/images/smilies/ughkiss.gif
http://silentaggression.net/images/smilies/rl.gif
http://silentaggression.net/images/smilies/lolsign.gif
http://silentaggression.net/images/smilies/repost.gif
http://silentaggression.net/images/smilies/iagree.gif
http://silentaggression.net/images/smilies/thinker.gif
http://silentaggression.net/images/smilies/dark.gif
http://silentaggression.net/images/smilies/bounceban.gif
http://silentaggression.net/images/smilies/hitit.gif
http://silentaggression.net/images/smilies/nuts.gif
EDIT4 : http://silentaggression.net/images/smilies/shrug.gif
http://silentaggression.net/images/smilies/wow.gif
http://silentaggression.net/images/smilies/boo.gif
http://silentaggression.net/images/smilies/dancenaughty.gif
http://silentaggression.net/images/smilies/werd.gif
http://silentaggression.net/images/smilies/bash.gif
http://silentaggression.net/images/smilies/shifty.gif
http://silentaggression.net/images/smilies/grinok.gif
http://silentaggression.net/images/smilies/rofl2.gif
http://silentaggression.net/images/smilies/bsflag2.gif
http://www.silentaggression.net/forum/images/smilies/rolleyes.gif
http://www.silentaggression.net/forum/images/smilies/eek.gif
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Good...:)....we need all the help we can get...finding the smilies is half the job. And home made funny smilies is also allowed. As long as they are made nice...:)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by thegreatone
All those Smilies
Yeah, those smiliesd were actually found offa the net a while back at that forum, i helped them do it, therefore no copyright applies ;)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Good...I will add them tomorrow when I get the newest set of the vbOverlay.xul and vbf.js file....:)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Cool, glad to help (well, not much, but still)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
All help is good help. So thanks a lot..:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
testing
Code:
For Each dr In ds.Tables(0).Rows
'If Convert.ToDateTime(dr("TourStartDate")) >= "10/1/2004" Then
If Convert.ToDateTime(dr("TourStartDate")) < lowDate Then
lowDate = Convert.ToDateTime(dr("TourStartDate"))
End If
If Convert.ToDateTime(dr("TourEndDate")) > hiDate Then
hiDate = Convert.ToDateTime(dr("TourEndDate"))
End If
total = total + Convert.ToDouble(dr("amt"))
'End If
Next
Code snippet thingy i was telling you about is working now. Editor works too. w00t!
Next plan is to let the person select what language the code is for and pass it throug the appropriate code highlighter