Re: [Pharo-users] PIllar >> #visitAnnotatedParagraph:

2014-06-01 Thread Ben Coman
Ben Coman wrote: PRMarkdownWriter >>visitAnnotatedParagraph: says "Pier seems to lack consistency here ...". Indeed, for #visitAnnotatedParagraph: we currently have: * PRPillarWriter outputs all annotations unchanged * PRMarkdownWriter * prepends the the annotationLabel to the annotationTex

Re: [Pharo-users] PIllar >> #visitAnnotatedParagraph:

2014-06-01 Thread Damien Cassou
On Sun, Jun 1, 2014 at 11:37 AM, Ben Coman wrote: > etc! This is since existing PRTextWriter throws the annotation label away. > So on the side of: > * "include annotation label" we have PRMarkdownWriter & PRLaTeXWriter, > * "exclude annotation label" we have PRHTMLWriter & PRTextWriter. > To res

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-01 Thread José Comesaña
Hi Sven. First of all, I know that in VisualWorks there exists a class called FixedPoint, that is (more or less) similar to ScaledDecimal (is what the class comment says). But, instead of 123.45s2, VWs writes 123.45s. NEVERTHELESS, it can read 123.45s2 with no pain. There exists a Fraction type a

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-01 Thread José Comesaña
And this is an improved version. More changes to avoid parsing weird things as 123.456s3e2 (it could be improved, for sure, but I don't have any more time...) parseNumber | negated number | negated := readStream peekFor: $-. number := self parseNumberInteger. (readStream peekFor: $.) ifTrue: [ num

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-01 Thread José Comesaña
One last thing. If you do: sd := STON fromString: '1345.76s2'. sd2 := ScaledDecimal readFromString: '1345.76s2'. you can note that sd = sd2 returns false, and that sd - sd2 returns 0.00s2. Both numbers are different in the order of precision, because the first has numerator 5918715072783319 and d

Re: [Pharo-users] Mac keyboard bindings

2014-06-01 Thread darrinm
Thanks for the help Ben. Submitted! -- View this message in context: http://forum.world.st/Mac-keyboard-bindings-tp4760656p4761232.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Mac keyboard bindings

2014-06-01 Thread Ben Coman
darrinm wrote: Thanks for the help Ben. Submitted! -- View this message in context: http://forum.world.st/Mac-keyboard-bindings-tp4760656p4761232.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. Cool. Now its good practice to end the mail thread with a link t

Re: [Pharo-users] Mac keyboard bindings

2014-06-01 Thread Ben Coman
Ben Coman wrote: darrinm wrote: Thanks for the help Ben. Submitted! -- View this message in context: http://forum.world.st/Mac-keyboard-bindings-tp4760656p4761232.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. Cool. Now its good practice to end the mail t