Comments (7)
added option "ui_timer_idle": 1000, and also removed that limit 500 for "py_change_slow".
Limit for both is now 10, because 50 is the min Win32 timer interval (per docs)
from cudatext.
instant reaction of LSP diagonstics is when i'm using on_change
instead of on_change_slow
. no delay at all!
but we need to use on_change_slow
.
if I set py_change_slow
option to 1 and set TimerAppIdle.Interval := 1;
- i'm still not fast enough as on_change
,
there is something else that adds to delay.
comparison of on_change vs on_change_slow:
cudatext_XeVU2W4pDd.mp4
so even fastest on_change_slow is still slower then on_change. why? some another timer?
from cudatext.
if I set py_change_slow option to 1 and set TimerAppIdle.Interval := 1; - i'm still not fast enough as on_change,
there is something else that adds to delay.
yes, is it IDLE timer, so it starts to work when no keyboard/mouse input exist.
from cudatext.
what if LSP uses on_change, and it starts API-made timer (with small delay e.g. 100)?
of course, you need to stop&start the timer (so often occuring on_change won't be slow).
from cudatext.
if I set py_change_slow option to 1 and set TimerAppIdle.Interval := 1; - i'm still not fast enough as on_change,
there is something else that adds to delay.yes, is it IDLE timer, so it starts to work when no keyboard/mouse input exist.
oh. i have found 500ms here:
UiOps.PyChangeSlow:= Max(500, cfg.GetValue('py_change_slow', UiOps.PyChangeSlow));
changed to 1 and now it's same speed as on_change (with TimerAppIdle.Interval = 1
and py_change_slow == 1
)
can we allow user to specify 1ms for py_change_slow if he wants to boost speed?
also TimerAppIdle.Interval is 1000 by default, can we set it to very small value like 10?
what if LSP uses on_change, and it starts API-made timer (with small delay e.g. 100)? of course, you need to stop&start the timer (so often occuring on_change won't be slow).
yes. additional work. we can just tune timers i mentioned and user will be allowed to speed up on_change_slow to the on_change speed if he wants. what do you think?
from cudatext.
thanks. will test it now.
from cudatext.
working as expected.
from cudatext.
Related Issues (20)
- Autocomplete dialog prevents to focus find input on Ctrl+F
- `(without undo) sort` command isn't reliable when word wrap is enabled HOT 6
- Code-Tree Bookmarks plugin, bug with Markdown
- Sometimes, multi-line inputs (`+`) is suddenly enabled in find bar HOT 11
- Error in default.json on MacOS HOT 15
- Caret at wrong position after replace-all HOT 1
- tree_proc API: add node's prop "state image index"
- on_state API event: don't reuse APPSTATE_CODETREE_SET_SELECTION
- Wrapped regex back search doesn't work HOT 26
- Load new file into first instance; font ugliness HOT 7
- "Find first" doesn't work with regex enabled HOT 2
- Command line parameter to go to line does not work in v1.214.x.x HOT 1
- LSP Client not working after adding config for language server HOT 26
- Unable to open Addon Manager or Multi Installer on Windows 10 HOT 9
- Hide popup data HOT 2
- for forum user: test KeyDown, x64 Qt5 version
- "Replace All" break syntax highlighting especially comments HOT 2
- For long CJK lines (len>1024), CJK chars are rendered overlapped HOT 5
- Broken selection when you perform column selection and move mouse out of editor HOT 3
- When doing column selection, cursor shouldn't be displayed at invalid positions at right HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudatext.