These are chat archives for ractivejs/ractive

8th
Nov 2018
Arnaud Dagnelies
@dagnelies
Nov 08 2018 14:49
If you just want ace, take a look here: https://github.com/dagnelies/ractive-ace
the way I do it is to maintain a separate "updating" flag in order to have just the ace listener or just the ractive observer running
@ceremcem FYI
Cerem Cem ASLAN
@ceremcem
Nov 08 2018 16:14
thanks @dagnelies . I just looked it again and yes, keeping a flag seems also nice and simple
while being talked about ace, may I address you an issue I'm experiencing with ace in general?
is there a way to keep the width of line numbers column in order to prevent ace editor from flickering while scrolling from 2 digit line numbers and 3 digit line numbers?
Cerem Cem ASLAN
@ceremcem
Nov 08 2018 16:21
reproduction:
  1. go to https://dagnelies.github.io/ractive-ace/
  2. copy and paste the same content again (to have +100 lines)
  3. scroll down and up and see leftmost align of text area flickers due to line number column width change
Chris Reeves
@evs-chris
Nov 08 2018 16:28
that's really weird
I will say I've had much more luck with codemirror in the last year or two
Cerem Cem ASLAN
@ceremcem
Nov 08 2018 16:39
wow, I even didn't know that ace has a competitor