Cudatext: "New" Find with Highlighting in Linux version (v120.0.3) unusably slow

Created on 6 Jan 2021  路  12Comments  路  Source: Alexey-T/CudaText

The Linux version does nothing at all for about a second between keypresses and loses all keys pressed while it's "thinking". This happens with the smallest of files ie nothing to do with file size.

The Windows version of 120.0.3 is fine.

bug talk

All 12 comments

I see that with 1-3Kb files "Hi" option works fast, no 1sec pause. ie when I type in the "find what" it finds it quickly.
maybe some plugins make it slow?
"highlight occurrences" etc.

with "default.json" (I set max-lines-option to 5000) it works fast too. no pause.

do you see it slow on clean Cud folder (no plugins)?

I am reverting to the version w/o Highlighting until this is resolved.

but you can turn off the "Hi" option and it will be off.

Nope. I'll go back to v119.

I had an idea- show elapsed time of "hi" function in statusbar. it now shows it.
in last beta (same folder).
like this
tm

see my time? 3msec for default.json big file!
do you have 1 second?

@tmsg-gh
you can help me to find, what is that pause. does Cud show you that time "(1000ms)" in the statusbar? or is it additional pause before/after "Hi" works? maybe it's pause from Highlight Occur plugin (it also now shows work time in statusbar)?

does nothing at all for about a second between keypresses and loses all keys pressed while it's "thinking".

Sorry, I can't because I am currently back to 119 and have some other important things to do. I know that this must have to do with one (or more) of the Python plugins because if I disable Python it works. But I can't look into this right now and will come back if and when I know more (from the limited testing I did I do have an idea where to look... but nothing more).

@tmsg-gh
Could you pass only the list of pluggin you have installed? One ls of folder py could be enough.

Thanks.

@Jairo-Martinez That won't help much as I have written a few plugins myself and have heavily patched others. As this problems only happens in Linux and not in Windows, I assume it is an implementation-dependent problem, ie either the Cud code or in the Python I'm using under Linux. When I have some time, I will investigate further.

Excellent @tmsg-gh 馃憤

closing per @tmsg-gh asking to close.

Was this page helpful?
5 / 5 - 1 ratings

Related issues

xcme picture xcme  路  5Comments

Alexey-T picture Alexey-T  路  5Comments

Alexey-T picture Alexey-T  路  4Comments

junguler picture junguler  路  5Comments

EchedeyLR picture EchedeyLR  路  3Comments