Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
6.x-1.x-dev
Component:
Filtering
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2010 at 12:45 UTC
Updated:
4 May 2010 at 00:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
soxofaan commentedInteresting idea, good work.
Some remarks, after giving it a first quick look:
I would avoid the if-construct by just putting the title in the md5 call:
md5($title . $source_code)this looks wrong:
$source_code_gets overwritten?Comment #2
sanpi commentedI would avoid the if-construct by just putting the title in the md5 call: md5($title . $source_code)
Great idea.
this looks wrong: $source_code_ gets overwritten?
Yes, but I misunderstood the inline mode. The new patch use the attribut as span title (let the mouse cursor on the code to show tooltip).
Comment #3
soxofaan commentedI tried the patch and it worked fine.
One minor issue: in your screenshot, the title is on a gray background (like the collapse link), but the patch does not contain the necessary CSS to make this happen.
Comment #4
sanpi commentedThe CSS style has been added.
Comment #5
soxofaan commentedadded filter tips
added tests
tweaked some minor things
and committed: http://drupal.org/cvs?commit=356912
thanks!