aspose file tools*
The moose likes Ranch Office and the fly likes whats that Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "whats that "#" in [code] tags ?" Watch "whats that "#" in [code] tags ?" New topic
Author

whats that "#" in [code] tags ?

salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

I have observed this quite often now:

suppose you copy code:



you get this :

# public static void main (String args[])
# {
# System.out.println("Hello world");
# }


is this to dither people from copying code ??
cause it isn't much difficult for someone to copy it using [view plain]

also its really irritating for someone to copy code snippets.

If i am not wrong, this functionality was not initially there.

My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

I don't like it either, truth be told, but I have never looked into whether there might be a way to remove it. It's related to the how the line numbers are rendered, and I like those very much, and wouldn't want to do without them.

In any case, yes, if you want to copy code, use "view plain".


[Jess in Action][AskingGoodQuestions]
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

I think this wasn't there a month ago...
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

salvin francis wrote:I think this wasn't there a month ago...


No, it's been this way ever since we migrated to JForum, precisely a year ago.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

hmmm
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: whats that "#" in [code] tags ?
 
Similar Threads
can main be declaired final ? why
For Rahul Mahindrakar
for loop with one parameter
pass by value
Java file is compiling but not running.