Content-Type: multipart/alternative; boundary="_000_9365EF1C2A506A4D8418FFBFB8A02BD01F9CE22D4DTMEXCH2telmap_" --_000_9365EF1C2A506A4D8418FFBFB8A02BD01F9CE22D4DTMEXCH2telmap_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi guys, I tested this HTML file in Chrome 6, Safari 5, Opera 10, and they all displ= ay double scroll bars. However, under IE9, I get a wrap-around and a single vertical scrollbar. Nick [cid:image001.png@01CB5EE8.3EC2F9A0] -----Original Message----- From: Dean Arnold [mailto:dean.arnold@paraccel.com] Sent: Tuesday, September 28, 2010 12:23 AM To: David Sitsky Cc: codestriker-user@lists.sourceforge.net Subject: Re: [Codestriker-user] Break into horizontal scrolling panes ? I'm attaching a sample piece of html (hope it gets thru). It accomplishes most of what I'm after. It works in FF and Chrome, but of c= ourse, not in IE (I tested IE8). I haven't tested safari or opera yet. However, I'm not certain where to make the incision to inject this into the= templates. Its going to add a div around the tables used for the old/new s= ources, and adds a bit of JS. Question: will the delta view always pad the shorter file to the same # of = lines as the longer ? This hack seems to handle different file sizes OK, bu= t to be usable both panes have to have vertical scrollbars; whereas if both= are the same length, then the vertical scroll can be hidden on the left (o= r the right) pane. If you can mark the spot to inject this, I'll hack and give it a whirl. TIA, Dean Arnold ParAccel, Inc. -----Original Message----- From: David Sitsky [mailto:david.sitsky@gmail.com] Sent: Saturday, September 25, 2010 9:03 PM To: Dean Arnold Subject: Re: [Codestriker-user] Break into horizontal scrolling panes ? If you have any luck - feel free to email across your changes. Thanks! On Thu, Sep 23, 2010 at 2:03 AM, Dean Arnold wro= te: > Alas, that's suboptimal. While it does fit everything into the browser, t= he wrap causes the line numbers to align to the center of the wrapped lines= (which is hard to read), and frankly the resulting wrapped layout is hard = to read (my target users tend to be fussy about code layout). > > Looking at the templates, it seems like > template/en/default/viewdeltas.html.tmpl is where the code gets > rendered ? I'll see if I can split the single table into 2. My CSS is > rusty, but I recall doing something similar for other projects (maybe > using a scrollable div instead of table ?) > > I guess I'll kick it around a bit. > > Thanks for the prompt response, > Dean Arnold > ParAccel, Inc. > > -----Original Message----- > From: David Sitsky [mailto:david.sitsky@gmail.com] > Sent: Wednesday, September 22, 2010 3:16 AM > To: Dean Arnold > Cc: codestriker-user@lists.sourceforge.net > Subject: Re: [Codestriker-user] Break into horizontal scrolling panes ? > > Hi Dean, > > Thanks for your message. > > I haven't tried this, but edit the html/codestriker.css file, and replace= : > > white-space: pre; > > white-space: pre-wrap; > > This might give you something closer to what you want.. > > Cheers, > David > > On Wed, Sep 22, 2010 at 9:26 AM, Dean Arnold w= rote: >> 1st, many thnx for a great tool! And in my old favorite language! >> >> >> >> But I've got a request: my source code has long lines, and the lack >> of a wrapping capability is a serious limitation. Is it possible to >> break the display table into 2 nested, fixed width tables w/ >> horizontal scrolling ? Or alternately, into iframes w/ horizontal scroll= bars ? >> >> >> >> If you can point me at the general area where this might be applied, >> I'd be happy to play w/ it and submit a patch. >> >> >> >> Thanks, >> >> >> >> ParAccel, Inc. >> >> >> >> Dean Arnold >> >> Sr. Connectivity Engineer >> >> dean.arnold@paraccel.com >> >> 3 Results Way, Cupertino, CA 95014 >> >> Phone: (858)309-4733 x158 YIM: renodino1 >> >> www.paraccel.com >> >> >> >> >> >> --------------------------------------------------------------------- >> --------- Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Codestriker-user mailing list >> Codestriker-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/codestriker-user >> >> > --_000_9365EF1C2A506A4D8418FFBFB8A02BD01F9CE22D4DTMEXCH2telmap_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi guys,

 

I tested this HTML file in Chrome 6, Safari 5, Oper= a 10, and they all display double scroll bars.

 

However, under IE9, I get a wrap-around and a singl= e vertical scrollbar.

 

Nick

 

 

-----Original Message-----
From: Dean Arnold [mailto:dean.arnold@paraccel.com]
Sent: Tuesday, September 28, 2010 12:23 AM
To: David Sitsky
Cc: codestriker-user@lists.sourceforge.net
Subject: Re: [Codestriker-user] Break into horizontal scrolling panes ?

 

I'm attaching a sample piece of html (hope it gets = thru).

 

It accomplishes most of what I'm after. It works in= FF and Chrome, but of course, not in IE (I tested IE8). I haven't tested safar= i or opera yet.

 

However, I'm not certain where to make the incision= to inject this into the templates. Its going to add a div around the tables us= ed for the old/new sources, and adds a bit of JS.

 

Question: will the delta view always pad the shorte= r file to the same # of lines as the longer ? This hack seems to handle different = file sizes OK, but to be usable both panes have to have vertical scrollbars; whe= reas if both are the same length, then the vertical scroll can be hidden on the = left (or the right) pane.

 

If you can mark the spot to inject this, I'll hack = and give it a whirl.

 

TIA,

Dean Arnold

ParAccel, Inc.

 

-----Original Message-----

From: David Sitsky [mailto:david.sitsky@gmail.com]<= o:p>

Sent: Saturday, September 25, 2010 9:03 PM

To: Dean Arnold

Subject: Re: [Codestriker-user] Break into horizont= al scrolling panes ?

 

If you have any luck - feel free to email across yo= ur changes.  Thanks!

 

On Thu, Sep 23, 2010 at 2:03 AM, Dean Arnold <dean.arnold@paraccel.com> wrote:

> Alas, that's suboptimal. While it does fit everything into the browser, the wrap causes the line numbers to align to t= he center of the wrapped lines (which is hard to read), and frankly the result= ing wrapped layout is hard to read (my target users tend to be fussy about code layout).

> 

> Looking at the templates, it seems like <= /o:p>

> template/en/default/viewdeltas.html.tmpl is wh= ere the code gets

> rendered ? I'll see if I can split the single = table into 2. My CSS is

> rusty, but I recall doing something similar fo= r other projects (maybe

> using a scrollable div instead of table ?)

> 

> I guess I'll kick it around a bit.<= /p>

> 

> Thanks for the prompt response,

> Dean Arnold

> ParAccel, Inc.

> 

> -----Original Message-----

> From: David Sitsky [mailto:david.sitsky@gmail.= com]

> Sent: Wednesday, September 22, 2010 3:16 AM

> To: Dean Arnold

> Cc: codestriker-user@lists.sourceforge.net

> Subject: Re: [Codestriker-user] Break into horizontal scrolling panes ?

> 

> Hi Dean,

> 

> Thanks for your message.

> 

> I haven't tried this, but edit the html/codestriker.css file, and replace:

> 

> white-space: pre;

> 

> white-space: pre-wrap;

> 

> This might give you something closer to what y= ou want..

> 

> Cheers,

> David

> 

> On Wed, Sep 22, 2010 at 9:26 AM, Dean Arnold <dean.arnold@paraccel.com> wrote:

>> 1st, many thnx for a great tool! And in my= old favorite language!

>> 

>> 

>> 

>> But I've got a request: my source code has= long lines, and the lack

>> of a wrapping capability is a serious limitation. Is it possible to

>> break the display table into 2 nested, fix= ed width tables w/

>> horizontal scrolling ? Or alternately, int= o iframes w/ horizontal scrollbars ?

>> 

>> 

>> 

>> If you can point me at the general area wh= ere this might be applied,

>> I'd be happy to play w/ it and submit a pa= tch.

>> 

>> 

>> 

>> Thanks,

>> 

>> 

>> 

>> ParAccel, Inc.

>> 

>> 

>> 

>> Dean Arnold

>> 

>> Sr. Connectivity Engineer

>> 

>> dean.arnold@paraccel.com

>> 

>> 3 Results Way, Cupertino, CA 95014

>> 

>> Phone: (858)309-4733 x158   YIM: renodino1

>> 

>> www.paraccel.com

>> 

>> 

>> 

>> 

>> 

>> ---------------------------------------------------------------------<= /o:p>

>> --------- Start uncovering the many advant= ages of virtual appliances

>> and start using them to simplify applicati= on deployment and

>> accelerate your shift to cloud computing.<= o:p>

>> http://p.sf.net/sfu/novell-sfdev2dev<= /o:p>

>> __________________________________________= _____

>> Codestriker-user mailing list

>> Codestriker-user@lists.sourceforge.net

>> https://lists.sourceforge.net/lists/listinfo/codestriker-user

>> 

>> 

> 

--_000_9365EF1C2A506A4D8418FFBFB8A02BD01F9CE22D4DTMEXCH2telmap_--