Monday, January 21, 2008, 8:13:00 AM, Helmut Hullen wrote: >> But seeing this I think a lines=n option is more friendly and useful: >> lines=5 would display the first 5 lines from every page, and >> lines=-5 would display the last 5 lines from every page matching. >> This would be similar to the (:include PageName lines=... :) option >> (but would work on multiple pages).
> And then a third option would be nice > lines=+5 > skips the first 4 lines and starts at line 5. Actually I implemented a third way, so we got lines=n show n lines lines=-n show last n lines lines=n..m show lines from n to m (included) lines=n.. show lines from n to end so the last works like your suggestion lines=+5. I think it is a cleaner syntax, and in line with use in PmWiki pagelist etc. ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
