Re: Issue 46 in reviewboard: 80-column indicator in diff view

2010-07-14 Thread reviewboard


Comment #10 on issue 46 by arunbalaji1985: 80-column indicator in diff view
http://code.google.com/p/reviewboard/issues/detail?id=46

Hi,

We also follow certain standards like this in our company. And we have been  
using review board for quite some time now.


Can the review board show margin after 80th column, or allow the admin to  
configure
the limit based on the file extension. It could be a thin vertical line, or  
a slightly different background color.


And/or, lines violating the limit could be highlighted.

Any idea of this would be implemented?

=Arun

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 46 in reviewboard: 80-column indicator in diff view

2010-07-14 Thread reviewboard


Comment #11 on issue 46 by chipx86: 80-column indicator in diff view
http://code.google.com/p/reviewboard/issues/detail?id=46

Arun, this is one of those situations where an easy solution for one group  
is going to cause complaints for another. In large deployments, different  
teams may very well have different coding standards, and because of this we  
need a solution that is a bit more flexible.


The trick is to figure out *where* the 80th column is. We need something  
that is fast but flexible. Doing it server-side is possible and may be  
speedy enough, but will become part of the cached content, so depending on  
how we let the users customize it (whether we choose to make it an admin  
setting or something flexible the user can change) it may or may not be an  
option. If doing it client-side, we need a way to quickly find the 80th  
column on each row, which can be slow.


We also need to figure out the UI for showing that column. Background color  
could work. A thin line is a bit more difficult and looks odd on wrapped  
content.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.