I was looking for this thread yesterday, but couldn't find it.
Now, I have! w00t!
Printable View
I was looking for this thread yesterday, but couldn't find it.
Now, I have! w00t!
Hehehe....just ask me...I know where every thread from the last 4-5 years are..:D...
PS: Cander, while we got the thread here. What is the difference on the vbOverlay.bak and vbOverlay.xul file?
Can this extension be used for Opera?
Just wont install, i rename to .xpi and open with firefox... but nothing :eek:Quote:
Originally Posted by Cander
Any help ?
And Madboy, this won't work with opera as its a different browser altogether
Well i figured it might work, as Opera can be identified as IE, FireFox and Opera :ehh:
This is a test of the emergency broadcast system
Just to clear up what is meant by open with firefox, you open up firefox and click File, Open then select the .XPI file...
yadayayaydyayayday aydyayday dayd aydya ydaydyay dyadad
Quote:
Originally Posted by thegreatone
Hehhee...smart boy...:)
Sarcastic sod :pQuote:
Originally Posted by NoteMe
Most people are renaming it then right-clicking and selecting "Open With..." then selecting Firefox, which simply does not work.
The .bak was just an old file I backed up while coding. I just forgot to delete it when I no longer needed it. It serves no purposeQuote:
Originally Posted by NoteMe
Quote:
Originally Posted by thegreatone
Most people..:D..talk for your self..:D
Would actually be easy to add in new syntax highlighters to the extension.Quote:
Originally Posted by Madboy
Just add a new switch case per language with the Regex expressions what needs to be highlighted and have the setLanguage function called with a parameter telling which language to use, and finally add a menu item.
Thanks Cander
But what about the .bak vs xul file cander? Is the bak file a backup file, or has it any purpose?
Quote:
Originally Posted by NoteMe
I answered that. look up.
Quote:
Originally Posted by Cander
Are you telling me to read all the posts...thats just rude..:D
It was on the first page (50posts/page here). So I didn't see it..:)...sorry.
ØØ
:blush:
Holy crap this is nice!
How about having it so that if you havn't highlighted text and there's nothing in the clipboard it hides menu items that need text as input?
If you could that, that would be awesome :thumb:Quote:
Originally Posted by Cander
If you were to add a Delphi one, i could post up the keywords that are highlighted in Delphi, like:
VB = Dim
Delphi = Var
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;
Nope, you would need to highlight:
procedure
and others, i cant remember them all, its not just variables, and statements, its more
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
Fine by me. I'll see what I can do.
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....:)
ØØ
I don't know, it's kinda messy. It's better if you send it to me. I'll place things.
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.
ØØ
C'mon Note, be a good boy, step up :DQuote:
Originally Posted by Cander
Fine by me. Code highlighter will be added by Java (mine TODO) and Delphi (hopefully for Adam). Hehehe.
Quote:
Originally Posted by manavo11
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.
ØØ
Quote:
Originally Posted by nebulom
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.
ØØ
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!
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...:)
ØØ
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
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....
ØØ
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}
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?
your server would be great.
w00t!
Quote:
Originally Posted by NoteMe
Hey I was thinking maybe a popup with smiley groups with tabs maybe.. Id have to some research on that though