-
To [code] or not to [code].
I'm task to create a Console Output function in Cander's VBForums extension. Sample output would be
javac -d ../build/classes HelloWorld.java
java HelloWorld
I'm having trouble dealing with spaces as is disabled now. I just put ... to fill the spaces and colored it black
javac -d ../build/classes HelloWorld.java
java HelloWorld..........................
The problem now arises if a user copy pasted the text. (...) would be a mess. Here's an alternative
Code:
javac -d ../build/classes HelloWorld.java
java HelloWorld
But code tag is not very nice to look at for some. What do you think guys? In code btw, we just have to add space in it so in copy/paste thing, it's safe.
-
Re: To [code] or not to [code].
Hehe..I like it better without the code tag...:)
-
Re: To [code] or not to [code].
-
Re: To [code] or not to [code].
Quote:
Originally Posted by visualAd
I would say code it :D
I am sooo going to kill you..:D...why would you do that? It is not code....and the code box doesn't fill the screen, so if you have more then 30 or what ever chars on a line you will get a horizontal scrool bar....ahhhhhh
Edit: And it looks stupid with the blank line on the bottom too...:)
-
Re: To [code] or not to [code].
And noobxurz pasted .... if they (including me) copied commands. BAahahahaha.
-
Re: To [code] or not to [code].
noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
noteme@PCDSUSI02:~/mydoc$ les............
I don't see the problem you are having...I can't make it a problem even if I try...:D
-
Re: To [code] or not to [code].
Quote:
Originally Posted by NoteMe
I am sooo going to kill you..:D...why would you do that? It is not code....and the code box doesn't fill the screen, so if you have more then 30 or what ever chars on a line you will get a horizontal scrool bar....ahhhhhh
Edit: And it looks stupid with the blank line on the bottom too...:)
Code tags are your friend. Respect them .....
You are just jealouse becuase you 10x10 screen resolution doesn't support code tags :D
-
Re: To [code] or not to [code].
Yeah I am, but it is the opposite though, since I am using 1280*1024, but I could just as well have used 1024*765 and gotten the same out of the code tag...the code tag sucks...grrrr...
-
Re: To [code] or not to [code].
I think we need an "insert code tags button" in the Quick Reply area. There is a quote tag button so why not code? Bloody mods being lazy as usual.
-
Re: To [code] or not to [code].
Quote:
Originally Posted by wossname
I think we need an "insert code tags button" in the Quick Reply area. There is a quote tag button so why not code? Bloody mods being lazy as usual.
You can do it with the extension...but first you have to vote here...and I guess you see that my solution is much better then Neb and Visuals...;)
-
Re: To [code] or not to [code].
I like note's solution best, the invisible dots, although that would be annoying if copying and pasting...
EDIT: instead of using a dot, perhaps use a very rare ascii charactor, so people can do find/replace when pasting it.
EDIT2: how about this char? █ (ALT+ 987)
-
Re: To [code] or not to [code].
And you didn't vote..:eek:.....grrr....looks like I am fighting a losing combat here...hehe..guess I can always alter my version later on so I can have it my way...:D:D:D
-
Re: To [code] or not to [code].
What do you mean? of course i voted.... :D:D
-
Re: To [code] or not to [code].
Good, now we only need 3 more...:D
-
Re: To [code] or not to [code].
I dont think we should call it Cander's VBF Extension anymore. Lets call it Canotebulom's extension.
-
Re: To [code] or not to [code].
-
Re: To [code] or not to [code].
I don't think I can pronounce that..:D...BTW I can see you voted the wrong option...:D
-
Re: To [code] or not to [code].
Quote:
Originally Posted by wossname
Who even remotely cares?
Me and Neb..:D
-
Re: To [code] or not to [code].
I haven't checked the replies, but how about a horizontal line before the black box?
-
Re: To [code] or not to [code].
Quote:
Originally Posted by wossname
Who even remotely cares?
You would if you were as cool as us.
-
Re: To [code] or not to [code].
Quote:
Originally Posted by mendhak
I haven't checked the replies, but how about a horizontal line before the black box?
What do you mean? Like black horizontal line in front? Like this?
.noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
.noteme@PCDSUSI02:~/mydoc$ les............
I like that.Maybe even after too..:) Or maybe just make it as wide as a console window or :rolleyes: the code box...
ØØ
-
Re: To [code] or not to [code].
Quote:
Originally Posted by NoteMe
What do you mean? Like black horizontal line in front? Like this?
.noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
.noteme@PCDSUSI02:~/mydoc$ les............
I like that.Maybe even after too..:) Or maybe just make it as wide as a console window or :rolleyes: the code box...
ØØ
Where??
-
Re: To [code] or not to [code].
I added one black space in front of each line..:)...Making up a.....ohhh..you said horizontal..:D...I did vertical..:D
So you mean like THIS then:
..........................................
.noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
.noteme@PCDSUSI02:~/mydoc$ les............
-
Re: To [code] or not to [code].
Actually I meant an <hr>, but this seems better. GIve it a one-space padding all around, so as to give it a properly boxed appearance.
-
Re: To [code] or not to [code].
What about this then. If I fix the top and bottom picture to suit the line width. That shouldn't be a problem if we have a fixed line widt, since Courier New is taking up the same space no matter what char we are adding.
http://www.vbforums.com/images/ieima...chmentid=37920
.noteme@PCDSUSI02:~/mydoc$ les.........................................
.totalt 60.............................................................
.drwxrwxrwx 11 noteme noteme 4096 2005-06-23 19:01 ....................
.drwxrwxrwx 31 noteme noteme 4096 2005-06-24 08:59 ....................
.drwxr-xr-x 2 noteme noteme 4096 2005-06-23 19:01 cander.web...........
.drwxr-xr-x 2 noteme noteme 4096 2005-06-22 17:28 doc..................
.drwxr-xr-x 3 noteme noteme 4096 2005-06-23 18:25 editor...............
.drwxr-xr-x 2 noteme noteme 4096 2005-06-23 17:34 extension............
.drwxrwxrwx 2 noteme noteme 4096 2005-06-21 17:13 pdf..................
.drwxr-xr-x 3 root root 4096 2005-06-23 09:46 python...................
.-rw-r--r-- 1 root root 210 2005-06-23 10:33 pythontags.py.............
.-rw-r--r-- 1 root root 30 2005-06-23 10:22 pythontags.py~.............
.drwxr-xr-x 3 noteme noteme 4096 2005-06-23 12:09 regex................
.-rw-r--r-- 1 noteme noteme 18 2005-06-23 14:18 regex.txt..............
.drwxr-xr-x 3 noteme noteme 4096 2005-06-23 19:46 test.................
.-rwxrwxrwt 1 noteme noteme 878 2005-06-23 19:00 update.rdf~...........
.drwxr-xr-x 2 noteme noteme 4096 2005-06-21 12:42 wossy png............
http://www.vbforums.com/images/ieima...chmentid=37921
-
Re: To [code] or not to [code].
So can someone just give me two more votes now..:)
-
Re: To [code] or not to [code].
How about changing the titlebar picture to say 'console output' or something?
-
Re: To [code] or not to [code].
That was just a sample. It isn't cut very nicely either. Didn't botter to do it propely just to show a test..:)
ØØ
-
Re: To [code] or not to [code].
Was it rigged now? Or did I actualy win here?