[elm-discuss] Re: Again: which editor do you like best for Elm?

2017-02-02 Thread 'Andrew Radford' via Elm Discuss
Try elmjutsu if you haven't already. On Thursday, 2 February 2017 16:53:59 UTC, Rupert Smith wrote: > > I'm currently using Atom. > > I see lots of new features are getting added to the Light-Table plug in > though... (Right now I want to be able to preview wha

[elm-discuss] Re: Using Elm with existing UI controls

2017-02-02 Thread Eric G
Not a maintainer, but what about http://faq.elm-community.org/ ? On Thursday, February 2, 2017 at 7:31:30 PM UTC-5, Joe Andaverde wrote: > > Elm maintainers: where would be the best place to document this use case? > I'd hate for this to be lost in a sea of threads. > > On Tuesday, January 31, 20

[elm-discuss] Re: Using Elm with existing UI controls

2017-02-02 Thread Joe Andaverde
Elm maintainers: where would be the best place to document this use case? I'd hate for this to be lost in a sea of threads. On Tuesday, January 31, 2017 at 10:41:51 AM UTC-6, Joe Andaverde wrote: > > The DOM could still be invalidated and redrawn at any time by virtual-dom. > I haven't studied t

[elm-discuss] Re: Svg without getBBox?

2017-02-02 Thread Max Goldstein
Try it with ports. If that's helpful, it could possibly be added to the DOM package: https://github.com/elm-lang/dom -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email

[elm-discuss] Re: Local third-party packages

2017-02-02 Thread Oliver Searle-Barnes
What do you think to using the version from the elm-package.json in the cloned repo? That way it's as though you'd specified a hard constraint in elm-package.json (e.g. 1.2 <= v <= 1.2) and then you can follow the usual semantics. On Thursday, 2 February 2017 07:48:48 UTC+1, Gusztáv Szikszai w

[elm-discuss] Again: which editor do you like best for Elm?

2017-02-02 Thread 'Rupert Smith' via Elm Discuss
I'm currently using Atom. I see lots of new features are getting added to the Light-Table plug in though... (Right now I want to be able to preview what the Elm docs will look like). -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscr

Re: [elm-discuss] ANN: opensolid/geometry, a comprehensive 2D/3D geometry package for Elm

2017-02-02 Thread Duane Johnson
On Thu, Feb 2, 2017 at 9:11 AM, Ian Mackenzie wrote: > Thanks Duane! You have have already noticed this in the README, but > there's also an associated opensolid/svg > package...so > if you used an OpenSolid Triangle2d value to define th

Re: [elm-discuss] ANN: opensolid/geometry, a comprehensive 2D/3D geometry package for Elm

2017-02-02 Thread Ian Mackenzie
Thanks Duane! You have have already noticed this in the README, but there's also an associated opensolid/svg package...so if you used an OpenSolid Triangle2d value to define the shape of one of your HCCB triangles, you could then use O

[elm-discuss] Re: Detecting keypresses

2017-02-02 Thread Bernardo
Your code should work with a couple of changes. To receive the events the div should have the focus; divs normally don't have focus, so you need to add the attribute tabindex 0 to be able to focus the div. Also instead of the keypress event you should listen to keydown as keypress is only for p

[elm-discuss] Re: Svg without getBBox?

2017-02-02 Thread 'Rupert Smith' via Elm Discuss
On Wednesday, February 1, 2017 at 5:04:11 PM UTC, papl...@gmail.com wrote: > > I'm trying to create a simple SVG app (rectangle, text, arrow), but can't > seem to align them properly without getBBox (not even with monospaced > fonts). > Is there really no way to get back any information from the

Re: [elm-discuss] Svg without getBBox?

2017-02-02 Thread 'Rupert Smith' via Elm Discuss
On Wednesday, February 1, 2017 at 5:21:43 PM UTC, Christopher Anand wrote: > > I got better results by using centered alignment and fixed-width text. > Embedding html in svg was so unreliable, I gave up on it, but it seems to > me that should be the right way of doing it. > There was also this

[elm-discuss] Re: Detecting keypresses

2017-02-02 Thread roovo
There is a Keyboard package which might work for you -> 'This library lets you listen to global keyboard events' http://package.elm-lang.org/packages/elm-lang/keyboard/1.0.1/Keyboard although I seem to remember that I did have problems with event propagation when I was playing with it (in that