Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Making the Editor easier to reuse

Hi Felipe (and Silenio),

Mihai wrote:
editor.js:

- We need to be able to enable/disable animations.

I quite like the fact that the Orion editor has the ability to animate the scrolling, but I realize that some people perceive it as a waste of time [1]. What's worse, the animations are not consistent. For example, page up/page down does not animate.

My gut feeling is that the ability to animate (or not) would be best moved into textView.js, instead of trying to implement it at a higher layer. This would make it much easier to ensure consistency. What do you think?

Boris

[1] Personally, I'd rather have the editor spend 300 ms showing me how the editor contents are changing, than my brain spending roughly the same time trying to re-orient itself. Is it just me?

Back to the top