rgieseke / textredux

Text-based interfaces for Textadept
http://rgieseke.github.io/textredux/
Other
58 stars 11 forks source link

Textredux buffers update slowly #8

Closed mkottman closed 10 years ago

mkottman commented 10 years ago

When I switch to a textredux buffer, I see the remains of the previous buffer for something like a second, then the buffer clears up. The same thing happens when I switch to a directory with a few items - I can see the previous content for a little bit. I am not sure if this is a problem with Textadept or textredux, however the problem only happens when switching to textredux buffers or changing their content (like filtering).

Here is an animation of what it looks like. The animation shows the use with tabs from the latest nightly, but the problem existed even before the update.

animation

rgieseke commented 10 years ago

That's odd. The only problem I had with Textredux buffers opening slowly was when I had an event hook to disable word wrapping only for Textredux buffers (but never noticed a ghosting effect).

Which wrapping mode have you set? It looks a horizontal scroll button there, so could you try setting

buffer.wrap_mode = buffer.WRAP_WORD

in your .textadept/properties.lua?

Also, are you loading only Textredux in your .textadept/init.lua or anything else?

mkottman commented 10 years ago

After trying it with a new (clean) version of Textadept and without ~/.textadept folder, it turns out this is a problem with Textadept itself, not Textredux. It was just more visible in Textredux. I will post to the Textadept mailing list instead.