Re: [fossil-users] source viewing code

2013-03-22 Thread Martijn Coppoolse
On 21-3-2013 19:48, Stephan Beal wrote: On Thu, Mar 21, 2013 at 7:18 PM, C. Thomas Stover wrote: i know that some users are using JavaScript to do diff highlighting, and don't see why the same couldn't be done for source code highlighting. There’s a description of how to implement client-side

[fossil-users] source viewing code

2013-03-21 Thread C. Thomas Stover
I wanted to take a look at the code that renders files for the web interface. Can anyone point me in the right direction? Is it using the vfile stuff to put a temp file on disk and then going with the browse code, or is there something that prints out a blob somewhere? Ultimately, I wanted to see

Re: [fossil-users] source viewing code

2013-03-21 Thread Stephan Beal
On Thu, Mar 21, 2013 at 5:40 PM, C. Thomas Stover c...@thomasstover.comwrote: I wanted to take a look at the code that renders files for the web interface. Can anyone point me in the right direction? The easiest way to found that sort of thing in fossil is to look at the URL you are wanting

Re: [fossil-users] source viewing code

2013-03-21 Thread C. Thomas Stover
On Thu, 21 Mar 2013 17:49:38 +0100, Stephan Beal wrote: The easiest way to found that sort of thing in fossil is to look at the URL you are wanting to explore, e.g. /timeline and then run, from the command line, something like: stephan@tiny:~/cvs/fossil/fossil/src$ grep 'WEBPAGE: timeline'

Re: [fossil-users] source viewing code

2013-03-21 Thread Stephan Beal
On Thu, Mar 21, 2013 at 7:18 PM, C. Thomas Stover c...@thomasstover.comwrote: Next any tips for adding new themeable fields in the style sheet logic? For instance, the thing I'm working on references css stuff like: .c_keyword { color: red; } i can unfortunately offer little useful advice as