Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (578)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  New feature: serverside syntax highlighting  (Read 5130 times)
0 Members and 1 Guest are viewing this topic.
Offline nsigma
« Reply #30 - Posted 2012-01-04 17:44:19 »

Hm, it's very clear on both my monitors.

Better now?

hmm ... feels like being at the optician!   Smiley  Actually, doesn't look much if any different.  If no-one else pipes up, leave it and I'll furkle with my screen instead.

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #31 - Posted 2012-01-04 17:49:45 »

Having "#ffa" look like "#fff"... That must be a really bad configured monitor.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline nsigma
« Reply #32 - Posted 2012-01-04 18:02:17 »

Having "#ffa" look like "#fff"... That must be a really bad configured monitor.


Actually, it does look better now.  Did you change it before or after you edited your post?  Maybe some caching going on - I did try and force a refresh.

You might be right about my laptop screen, though.  It's a good job that the web platform stuff I do is backend and not client facing. Otherwise we might have lurid mid-90's throwbacks and I wouldn't even notice.  <blink> anyone???  Grin


Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #33 - Posted 2012-01-04 18:03:23 »

Finally fixed the last 'known bug'...

The ' character had 3 variants in the database: ', &#39; and &#039; Cranky

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #34 - Posted 2012-01-04 18:59:42 »

And the line numbers are back, somehow forgot about them in the rewrite persecutioncomplex

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Mike

JGO Wizard


Medals: 86
Projects: 1
Exp: 6 years


Java guru wanabee


« Reply #35 - Posted 2012-01-04 19:08:43 »

Yuck, line numbers! If I want to copy something (using without asking isn't stealing, the pirate bay taught me that) I now have to manually remove the line numbers? Maybe make text select ignore them somehow or add a button to turn them off so we can copy code out of the code block?

Ignore me, I forgot that Riven was awesome

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #36 - Posted 2012-01-04 19:09:54 »

Yuck, line numbers! If I want to copy something (using without asking isn't stealing, the pirate bay taught me that) I now have to manually remove the line numbers? Maybe make text select ignore them somehow or add a button to turn them off so we can copy code out of the code block?
Did you try it? persecutioncomplex

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Mike

JGO Wizard


Medals: 86
Projects: 1
Exp: 6 years


Java guru wanabee


« Reply #37 - Posted 2012-01-04 19:11:59 »

I did, promise! Tested again though without moving the mouse cursor over the line number  Pointing I edited the above post as you posted a reply Wink

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #38 - Posted 2012-01-04 19:14:33 »

I hate it too when the line numbers are part of the code. I look at you, pastebin...

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline ra4king

JGO Kernel


Medals: 353
Projects: 3
Exp: 5 years


I'm the King!


« Reply #39 - Posted 2012-01-04 19:42:29 »

That's why you copy the code from the text box BELOW the highlighted syntax in pastebin Tongue

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #40 - Posted 2012-05-03 17:18:34 »

Want to correct somebody's code? So much easier now!

1  
2  
3  
4  
5  
6  
7  
8  
9  
public class Main {
   public static void main(String[] args) {

-      System.out.println("Hello world!");
-      System.out.println("Wait, what?!");

+      System.out.println("Bye cruel world!");
   }
}

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline pitbuller
« Reply #41 - Posted 2012-05-03 17:32:46 »

Would select all button doable at bottom of paste bin box?

I tried to select code from above example and every second time I messed it some how. Just test starting selectin from every corner one at time and you see funky behaviour.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #42 - Posted 2012-05-03 17:47:54 »

Would select all button doable at bottom of paste bin box?

I tried to select code from above example and every second time I messed it some how. Just test starting selectin from every corner one at time and you see funky behaviour.
I'm fighting the DOM in different browsers now. No luck as of yet.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline sproingie

JGO Kernel


Medals: 202



« Reply #43 - Posted 2012-05-03 17:50:06 »

In Firefox, you can ctrl-click on some part of the code and it'll select the table cell that contains the code, which you can then ctrl-c to copy.  The few times I do web apps, I often stick blocks in table cells for that reason alone.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #44 - Posted 2014-10-08 18:25:14 »

After almost three years I finally got around fixing the bug in the syntax-highlighter that caused highlighted lines just after a line containing a single-line-comment to be broken.

Lo and behold:
1  
2  
3  
4  
5  
6  
  highlighted line
  code // comment
+ added line  <---- works!
  code /* comment */
- removed line
  code /** comment */


I also added '&' as a delimiter:
1  
abc&def+4&5L


Fixed short comment that was mistaken for a javadoc-comment (/**) that was 'never' closed:
1  
ABC /**/ XYZ


Are there any more bugs to be fixed?

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline BurntPizza
« Reply #45 - Posted 2014-10-08 20:15:03 »

Looks pretty good!

Not a bug, but more a wish list item: auto-formatter, or at least indentation awareness/"fixer".
Often the people who need help the most are the ones with the least readable code standards (or lack thereof).
Offline SHC
« Reply #46 - Posted 2014-10-09 12:43:55 »

I prefer Monaco on mac, Andale Mono on Ubuntu and Consolas on Windows.

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 823
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #47 - Posted 2014-10-09 13:05:49 »

So... this isn't some 'post your setup' thread Clueless

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline matheus23

JGO Kernel


Medals: 110
Projects: 3


You think about my Avatar right now!


« Reply #48 - Posted 2014-10-09 14:52:55 »

I prefer Monaco on mac, Andale Mono on Ubuntu and Consolas on Windows.

What the heck that was so random Cheesy

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Pages: 1 [2]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

DarkCart (16 views)
2014-10-31 21:44:48

DarkCart (21 views)
2014-10-31 21:43:57

TehJavaDev (40 views)
2014-10-27 03:28:38

TehJavaDev (31 views)
2014-10-27 03:27:51

DarkCart (44 views)
2014-10-26 19:37:11

Luminem (27 views)
2014-10-26 10:17:50

Luminem (30 views)
2014-10-26 10:14:04

theagentd (36 views)
2014-10-25 15:46:29

Longarmx (64 views)
2014-10-17 03:59:02

Norakomi (62 views)
2014-10-16 15:22:06
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!