kmerz / graveio

where your code stays alive
BSD 2-Clause "Simplified" License
8 stars 11 forks source link

limit lines in preview to 10 #25

Closed darinkes closed 11 years ago

darinkes commented 11 years ago

Instead of limiting the chars we should limit the lines. It's more readable and also makes highlighting for pygments more reliable.

darinkes commented 11 years ago

@kmerz: Or should we move it to the post helper?

kmerz commented 11 years ago

jupp put it in a helper... First rule of gui development.. avoid logic in the view :)

darinkes commented 11 years ago

Ok. I updatet the pull request.