Editor screenshot
Printable View
Editor screenshot
Neb said I should do a Delphi highlighter. So when you get it synced I'll have a go at adding that.
Just so you know, I expect my name in the credits for doing absolutely nothing to help, OK? :afrog:Quote:
Originally Posted by NoteMe
Quote:
Originally Posted by Cander
Wow, that is sooo nice...:)...but it is loaded from a file now?
Maybe it would be better to add a tag in the start of the file that detects the language automaticaly? So you don't have to change the syntax heiglighting every time? Or something like that?
Quote:
Originally Posted by visualAd
It is nothing stopping you from working on it now...;)...
BTW Everyone with version 0.2.0 or later can now press update in Fx, and get the newest version updated (you still have to restart Fx though). For others that just want to test the newest Beta, you can go to.
http://www.noteme.com/vb_extension/vbf.xpi
but then you have to uninstall the old one first.
ØØ
Quote:
Originally Posted by manavo11
That would require a hack, and we don't do hacks...:)....ohhh and it would probably have to go through my boss*...;)
*Cander is my boss...http://vbforums.com/attachment.php?attachmentid=37824
ØØ
I need to sort my mind here now. Too many ideas..:)
- Python
- Delphi
- C#
- Text size
- Text differer
- Fonts
- incorperate Canders new editor
- add common notes to Canders editor (or something like that)
- Fix the console output with my new version
- add the new smilies
- ?Tabs for the smilies? (Do we need it?)
- List |list||list=1||list=a| (using canders editor again?)
- Indent
This kicks ass!
good that you like it..:) BTW since you found the console output, maybe you want to vote in the poll about what it is going to look like..:)
http://vbforums.com/showthread.php?t=346034
ØØ
Cander, sorry to bother you. But I need to ask you about your regular expressions...:) I don't know anything about RegEx, but I am starting right here and right now. Testing on this code:
Lets say I want to match the keyword len here. I can do this:Code:#Hello mother
def main():
if len(sys.argv) < 1:
usage() #Yeah thats your mother all right
else:
kek_number_list = tidy_up_file(sys.argv[1])
if kek_number_list != -1:
download_pdf(kek_number_list)
\s*\b(?:len)\b
and it will match this:
yes, with the space in front. But why do you have this expression to do the same:Code:#Hello mother
def main():
if len(sys.argv) < 1:
usage() #Yeah thats your mother all right
else:
kek_number_list = tidy_up_file(sys.argv[1])
if kek_number_list != -1:
download_pdf(kek_number_list)
/\s*\b(?:len)
with the / in front. What is that? My RegEx coatch doesn't match anything if I add that. Is it a part of the RegEx at all?
I'm sure he won't mind :) Would he? *raises fist* :DQuote:
Originally Posted by NoteMe
Quote:
Originally Posted by manavo11
If he don't mind, then I hope Me or Neb has a veto...:)
Nah, you'll add me, you know you want to :) Plus, I just saw that I got the 3rd highest mark in a class I thought I was failing (shows just how smart I am ;) ), so you have to add me :DQuote:
Originally Posted by NoteMe
It can show that, or just show that your whole class is full of lazy greak rednecks..:)
Or both :afrog:
Nope, probably just lazy...now help me with my RegEx or leave my thread...:) (or was it Canders)..:)
Hey NoteMe,
I'm not able to get the latest version. When i click the link nothing happens(it opens the site but the extension doesn't seem to install). The same thing happened when i tried to get the 0.2.0 version as well.
Thanks
Andy
Hmmm...that happend to me a couple of times too, but others said it worked. The current work around is to copy the link and paste it to the address bar. Then it should work..:)
The extra / NoteMe is just a Javascript, and some other languages, thing that signifies the start of a Regular Expression.
Ahha...I started to guess in that direction since I couldn't find any info on it at all..:) Still battling my way to find the right Expression to heiglight Python...this is HARD...but fun..:)
I am rude. You know the answer.Quote:
Originally Posted by manavo11
:mad:
I would have to kill you.
sweet, thanks
Quote:
Originally Posted by space_monkey
I am not sure what happens...but I have an idea....hold on...:)
Hey NoteMe I found a good trick. While testing new changes, instead of having to un-install/re-isntall, you can just paste the latest .jar file into the /extension/{b58da81d-89d5-4ae7-a18e-c29ec0203aef}/chrome ddirectory in your firefox profile directory.
Arent you supposed to work @cern? Or is you secretary doing all the work for you? :lol:Quote:
Originally Posted by NoteMe
It was as I thought. It is because you are not comming from that domain, and you try to install something. And you can see that Fx doesn't add the URL to the Adress bar. So the way it has too be is to go to this page:
http://noteme.com/vb_extension/download.htm
and then press install. But I guess we need to make a home page too then...:D
PS: Remember to allow my page to pop up stuff...;)..hehe...eventualy, I have controll over all of you..:D
ØØ
Quote:
Originally Posted by Cander
Ahha....good....That was what Neb wad doing with Mozilla, but he didn't figgure out how to do it for Fx..:)..but you found out...goody...well I was thinking about writing a Python script that could do it for me, I guess I still can though, since I have to make the jar file and put it in the right folder...;)
ØØ
Quote:
Originally Posted by Sgt-Peppa
I have fixed it....or...ehhh...my secretary fixed it... :blush:
Just as a note to Cander. Neb didn't upload his work when he left. He just said "good bye" on MSN, and before I managed to reply he left..:D...so I am not sure how much he did toady after I got his last version. Can't have been much, but some.
Well next time you speak to him, you both agree on a feature freeze and finish up anything major you are working on. Then when you guys are done I'll sync up and add the code snippet stuff.
Easier said then done with that kid...:) But I guess he will read this in the morning too. So hope we can give you the new stuff tomorrow so you can add it. I am exited about your editor and how it works.
But on an other side, since he forgot to update, I guess an other way to do it would be to just add it for you now on the current version that is in the FTP folder, then he can add his new stuff to that one. Because I am pretty sure he didn't do too much, so it won't take him much time to copy paste it to your version.
Ok. Ill start merging my code into whats on the ftp a few minutes
OK...good. I work like this all the time. Even here at CERN, with a local test version, and then add my stuff when it is finished or neads real testing.
Looking forward to see it.
ØØ
Hmm. cant connect to the ftp from here. Can you mail it to me [email protected]?
remove the nospammy. part :D
Hehe...do you think I am stupid..:D...BTW sendt...tell me if you don't get it...I don't realy on Linux and MS Exchange server at all..:)
BTW I almost forgot to take away the ? on the end of the mail address..:D
waiting.........
Not getting anything. ...maybe just attach it here.
Hmmm....I hate this...grrr...
well, here you go. BTW there might be some redundant files there like both the jar file and the actual folders. But they contain the same thing, so don't worry.
I havn't added anything for the Python heiglighter yet. It is not complete enough.
ØØ
kk. I got your emails finally but the attachments were deleted. :o
Quote:
Originally Posted by NoteMe
Quote:
Originally Posted by Cander
Why did they delete them? Because they where zip files? Or didn't the anitvirus manage to read the linux zip files....sounds stupid. Like when I tried to send something with hotmail to be able to get it on my Linux machine, Hotmail said that it couldn't scan the zip file, so I was not allowed to download it again..:D
Ah well. no biggy really. But there is a problem. What you sent me looks older than the packaged xpi file you have up now.
woot? well let me attach the XPI then...even if I am pretty sure it is the newest. But I remember that Ian had given me the wrong XPI this morning too. So I might have forgotten to add the latest after I told him. 2sec...
This is the xpi on the server now. Just change the name.
PS, add the extension here when you are finished then, so Neb can pick it up here early tomorrow. Since you won't be able to upload it to the server again???
ØØ
Its still not in sync. The overlay file doesnt match the latest package and god knows what else. I will just wait until you guys get it straightened out.
What version does it say you have in Fx? 0.2.2? If so that is what you have now, and that is what I have. :confused:
0.2.2. But what you posted here is not the same as http://noteme.com/vb_extension/vbf.xpi
I could just get the code out of that, but I don't know what changes may be in what you sent me that is not in http://noteme.com/vb_extension/vbf.xpi
Note: Looking Good :thumb:
Here. I took the xpi from your site and added my changes. Here is the jar.
The changes added are as follows:
New file: snipEdit.xul
New functions in vbf.js: mnuCodeSnips_Build() and writeSnippet()
Edited functions in vbf.js: xpcomFileRead will now try to write a missing file if its missing instead of just popup an error. This will create the snippet.vbf file the first time someone select the Code Snippets menu item.
:confused: :confused: :confused: :confused: :confused: :confused:
I want to cry..:D...for some reason the version that was the newest one had the version number 0.2.0 :confused: Just found it now, cleaned out all the redundant files. I have a bit of time on the end of the day, so I can add your stuff to the this one, so you don't have to do it again. :)
I have no idea how the download thingy worked with the wrong version number, I have to sleep on that one.
ØØ
Oh and I got to mention the overlay file has a new menu item of course.
Yeah, will add that too...soon finsihed now..Just got to make sure he didn't alter the xpcomFileRead file too, but I doubt it.
Oooppsss...must have forgotten something. I get a "you forgot to choose an option" message when I tried it. Will look over it again.
Edit: or maybe it is because of the "rights" to write and read files on my linux box...hmmm
ØØ
I am a bit lost here...:)...havn't had time to read all the code because of co workers buggin me with everything...but how does it work..:)...do we...wait a sec...
Code:If you == home:
# booooo
Ohhh...thats how it worked...:D
I was wondering how creating a file would work on Linux. hmm
Well, it looks like it worked though...let me fatch it again..:)
Code:If (you == home) then
booooo
Yup...:)
Leerrooooooooooooooooy Jeeeeennnkinsss!
Hehe....BTW if you try to press update under tools-extensions now. Does it update for you?
Yep.
updated to 0.2.3