2009-03-23T00:00:45 <ThomasWaldmann> that maybe can work out, maybe not
2009-03-23T00:00:59 <dennda> we'll see
2009-03-23T00:01:25 * dennda completes the application
2009-03-23T00:02:54 <dennda> hm
2009-03-23T00:24:52 <TheSheep> moving the cursor and scrolling the textarea to specified line is surprisingly difficult with js :(
2009-03-23T00:32:34 <dreimark> TheSheep: I remember a snippet of code but haven't found it yet (thought i've had a bookmark)
2009-03-23T00:34:15 <TheSheep> dreimark: the difficult part is determining the line height and the actual number of lines, taking line wraps into account
2009-03-23T00:38:01 <ThomasWaldmann> and font-sizes and ...
2009-03-23T00:38:25 <ThomasWaldmann> and fluctuations of line height ...
2009-03-23T00:38:38 <TheSheep> ThomasWaldmann: line height only, but I just found a great workaraound!
2009-03-23T00:39:02 <TheSheep> ThomasWaldmann: I set line height to one pixel, scroll by the amount of pixels I need lines, and set line height back t oprevious value
2009-03-23T00:40:24 <ThomasWaldmann> hehe
2009-03-23T00:40:40 * ThomasWaldmann bets it's broken on IE
2009-03-23T00:41:41 <TheSheep> aah, I figured out how to get the line wraps right!
2009-03-23T00:42:02 <dreimark> TheSheep: http://moinmo.in/FeatureRequests/BackToSamePlaceInEditboxAfterPreview
2009-03-23T00:42:22 <ThomasWaldmann> if you set char width to 1px also, it doesn't wrap? :)
2009-03-23T00:42:23 <TheSheep> I just create a div with the same font and content, and measure that
2009-03-23T00:42:35 <TheSheep> ThomasWaldmann: I can't set char width :(
2009-03-23T00:42:42 <dreimark> http://aktuell.de.selfhtml.org/artikel/javascript/bbcode/
2009-03-23T00:43:26 <TheSheep> dreimark: saving the position, in pixels, is easy, it's the conversion from lines to pixels that's difficulat
2009-03-23T00:46:34 <dreimark> http://aktuell.de.selfhtml.org/artikel/javascript/bbcode/beispiel.htm
2009-03-23T00:46:42 <TheSheep> same with cursor position, only there we have character index vs. line number
2009-03-23T01:09:37 *** grzywacz has quit IRC
2009-03-23T01:59:52 <TheSheep> http://hatta-test.sheep.art.pl/edit/Home?line=15
2009-03-23T01:59:55 <TheSheep> tadah! :)
2009-03-23T02:17:49 <TheSheep> now, if you refresh, double-clicking on normal paragraphs will jump to editor scrolled to the right place :)
2009-03-23T09:33:13 <dreimark> moin
2009-03-23T09:33:51 <dreimark> TheSheep: congrats :)
2009-03-23T09:36:33 <TheSheep> doesn't work in Opera :(
2009-03-23T09:43:30 <TheSheep> can I easily force the line number tags in MoinMoin, like in diff?
2009-03-23T09:43:47 <dreimark> we have this span-id with the line number
2009-03-23T09:45:25 <TheSheep> that will do
2009-03-23T11:56:46 *** vpv has quit IRC
2009-03-23T11:56:46 *** Noya has quit IRC
2009-03-23T11:57:35 *** Noya has joined #moin-dev
2009-03-23T11:57:35 *** vpv has joined #moin-dev
2009-03-23T13:09:17 <ThomasWaldmann> moin
2009-03-23T13:13:11 <TheSheep> moin
2009-03-23T13:13:31 <TheSheep> ThomasWaldmann: almost works: http://moin.sheep.art.pl/
2009-03-23T13:13:37 <TheSheep> (double click on some paragraph)
2009-03-23T13:15:01 <ThomasWaldmann> yeah, at least it is near
2009-03-23T13:15:35 <ThomasWaldmann> did you kill the english i18n or why does it talk polish to me?
2009-03-23T13:16:51 <ThomasWaldmann> hmm, if i doubleclick on "Search" (in that list, 1st word of 3rd item), nothing happens
2009-03-23T13:20:21 <TheSheep> uh, sorry, apparently I broke it, will continue with it this evening
2009-03-23T13:25:09 <ThomasWaldmann> I hope we can finish the storage stuff soon, so hacking on page/pageeditor won't produce conflicts any more
2009-03-23T14:16:51 *** LotekThirteen has joined #moin-dev
2009-03-23T14:16:59 <LotekThirteen> moinmoin
2009-03-23T14:19:34 <LotekThirteen> I've got a problem with the statistic "hit counts", on some pages it work on some not... no idea why
2009-03-23T14:19:47 <LotekThirteen> Works: Works:
2009-03-23T14:19:51 <LotekThirteen> Works: http://rock.heavy.ch/Heavy?action=info&hitcounts=1
2009-03-23T14:19:58 <LotekThirteen> Works not: http://rock.heavy.ch/Latest%20News?action=info&hitcounts=1
2009-03-23T14:20:18 <LotekThirteen> don't know why; maybe because of the pagename? are empty spaces a problem?
2009-03-23T14:27:57 <LotekThirteen> I made a test and it seems to be a bug: see here (also no hits: http://moinmo.in/4ct10n/info/WikiSandBox/Test%20for%20Hitcounts?action=info&hitcounts=1)
2009-03-23T14:28:11 <LotekThirteen> would you like to have a bug report on the moinmoin wiki.... :-)
2009-03-23T14:29:12 <ThomasWaldmann> yes, please. just so we do not forget it.
2009-03-23T14:34:36 <LotekThirteen> no problemo; was just wondering...
2009-03-23T14:49:07 <ThomasWaldmann> maybe some quoting problem
2009-03-23T14:53:16 <LotekThirteen> yes %20 and spaces... well here is the bug report: http://moinmo.in/MoinMoinBugs/PageStatisticHitCountsDontWorkWithSpacesInPagename
2009-03-23T14:53:48 *** LotekThirteen has left #moin-dev
2009-03-23T15:00:25 *** LotekThirteen has joined #moin-dev
2009-03-23T15:53:42 <LotekThirteen> @sheep: tried out your http://wiki.sheep.art.pl/edit/Textarea%20Scrolling?line=12 stuff, great!
2009-03-23T15:53:42 <moinBot> LotekThirteen: Error: "sheep:" is not a valid command.
2009-03-23T15:53:53 <LotekThirteen> sheep: tried out your http://wiki.sheep.art.pl/edit/Textarea%20Scrolling?line=12 stuff
2009-03-23T15:54:32 <ThomasWaldmann> LotekThirteen: use tab completion
2009-03-23T15:56:03 <LotekThirteen> TheSheep: is working with Firefox3, IEX8 but not with Google Chrome e.g. SRWare and maybe safari (because they share the same engine)
2009-03-23T15:56:49 <LotekThirteen> ThomasWaldmann: thanks
2009-03-23T15:57:23 <ThomasWaldmann> LotekThirteen: btw, watch out for LED sheep (on google)
2009-03-23T15:57:44 <TheSheep> LotekThirteen: try http://wiki.sheep.art.pl/edit/Textarea Scrolling#12
2009-03-23T16:00:22 <LotekThirteen> TheSheep: what's happen if somebody has some some #pragma, acls, comments or even macros in the page (like Include, MonthCalendar), etcetera? Can I try out somewhere or download a beta?
2009-03-23T16:01:28 <LotekThirteen> *watching led sheep movie on youtube* http://www.youtube.com/watch?v=D2FX9rviEhw
2009-03-23T16:02:53 <TheSheep> LotekThirteen: that thing is pure javascript, it only looks on what is in the textarea
2009-03-23T16:03:27 <TheSheep> LotekThirteen: note that wiki.sheep.art.pl is not MoinMoin
2009-03-23T16:04:52 <LotekThirteen> TheSheep: do you plan to adapt your javascript to be moinmoin compatible?
2009-03-23T16:06:57 <LotekThirteen> ThomasWaldmann: I want darksky (http://darksky.ch/) and not noctilucent sheeps, cows, squirrel, bats walking around. damm google need to censor this ideas - very bad :-)
2009-03-23T16:12:23 <TheSheep> LotekThirteen: yes
2009-03-23T17:08:21 <ThomasWaldmann> LotekThirteen: hey, it's fake (at least most of that video)
2009-03-23T17:56:39 <LotekThirteen> ThomasWaldmann: ooups; I already started to create an shop for sheepleds (slogan: "never miss a ship in dark" or "help the wolfs to catch the sheep"). I was thinkin' this would be a great qualified lead or oportunity to make money, shitt happens I'm failed :-)
2009-03-23T18:02:49 <LotekThirteen> bye
2009-03-23T18:02:50 *** LotekThirteen has left #moin-dev
2009-03-23T18:49:55 *** grzywacz has joined #moin-dev
2009-03-23T22:38:55 *** grzywacz has quit IRC
2009-03-23T23:29:21 <ThomasWaldmann> hitcounts bug is quoting related, as suspected
2009-03-23T23:54:25 <ThomasWaldmann> anyone who has used recoverpass for names with blanks?
MoinMoin: MoinMoinChat/Logs/moin-dev/2009-03-23 (last edited 2009-03-22 23:15:01 by IrcLogImporter)