|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
|||||
|
|||||
|
Re: NRG Code Repository
Quote:
But thanks for the list of the color/values. For attatchments, there's a button called "Manage Attatchments". Click that, and that'll let you upload stuff ![]() |
|
#32
|
|||
|
|||
|
Re: NRG Code Repository
Quote:
I'll go with everything in the post quoted above. |
|
#33
|
|||
|
|||
|
Re: NRG Code Repository
Want to see the current source of the highlighter?
Go here: http://nrg.chaosnet.org/source/repository/download.php |
|
#34
|
|||||
|
|||||
|
Re: NRG Code Repository
Quote:
|
|
#35
|
|||
|
|||
|
Re: NRG Code Repository
I use a buffer to hold all the source so that I can format it into a table with line numbers. You're right, I use show_source and highlight_file (not _code)
|
|
#36
|
|||||
|
|||||
|
Re: NRG Code Repository
Quote:
|
|
#37
|
|||
|
|||
|
Re: NRG Code Repository
Our job now:
To get people to add code to the repository. And, can this thread be made sticky? |
|
#38
|
||||
|
||||
|
Re: NRG Code Repository
Syntax hilighting is not quite so simple. There are special cases you have to account for, that make the code somewhat more complex. For example, if I make a comment that says:
Code:
// If the "if" statement's condition below is true, it should run the "auto-vivify-functifier" For an example of some conditions you didn't catch, look at the PID code. EDIT: especially, looking over it again, in the Trig lookup table, the "extra" highlighted parts of the comment can get annoying, and potentially mess someone up. |
|
#39
|
|||
|
|||
|
Re: NRG Code Repository
The reason I did not use an already made module is because I don't have permissions on the chaosnet server (our host) to install stuff. Since people can see the "special cases" in their own editor (like you said), I'm not gonna spend much more time working on the highlighter. If anyone wants to, they can post it in "Website (Perl/PHP)" folder.
|
|
#40
|
|||
|
|||
|
Re: NRG Code Repository
Each entry can now be rated on 1 to 5 scale.
|
|
#41
|
||||
|
||||
|
Re: NRG Code Repository
cool beans.
![]() |
|
#42
|
||||
|
||||
|
Re: NRG Code Repository
btw, SilverStar, do you have AIM (preferably) or MSN?
|
|
#43
|
||||
|
||||
|
Re: NRG Code Repository
pm, then? or just message me - deltacoder on AIM, mobile@vectorray.com on MSN
|
|
#44
|
|||
|
|||
|
Re: NRG Code Repository
just post stuff here, i'll read it.
|
|
#45
|
|||
|
|||
|
Re: NRG Code Repository
Quote:
File update system - you can always edit your code. But I'll work on an version managemtent system (will take time). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is your most prefered programming language? | Hailfire | Programming | 156 | 19-01-2005 21:42 |
| InfraRed autonomous code ... | mtrawls | Programming | 1 | 11-01-2004 00:25 |
| Autonomous code | PBoss | Programming | 7 | 14-01-2003 15:29 |
| Does your team use the Default code. | Jeff McCune | General Forum | 2 | 09-01-2003 14:46 |
| Patent source code? | Kyle Fenton | Chit-Chat | 3 | 20-10-2001 17:53 |