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)
- lets improve PROP_CORNER_TEXT? HOT 32
- CudaText 1.208.8 alpha HOT 4
- space-only line is not colored OK in Markdown lexer in fenced block
- 1.208.6 alpha: regress in Undo with empty trailing line HOT 2
- "Save a Copy As..." and keeping original file open HOT 13
- API: how to know if mouse button is down? HOT 3
- Suggestion: SelectStart and SelectEnd commands (for use in Macros); or FindSelect HOT 5
- backspace is dead in Gtk2 version 1.208.5 HOT 22
- Suggestion: allow for "if/then/else/exit" in macros HOT 1
- Project Manager: KeyError: 'nodes' HOT 4
- Project manager: open project on Windows, then same project on Linux = empty project HOT 2
- Python portable on Linux distro HOT 2
- slow editor HOT 1
- Plugin for org-mode? HOT 3
- Korean IME does not work properly on Win11 HOT 9
- click does not place caret at correct pos, if separate edit-control has separate proportional font HOT 9
- how to alt-tab from plugin dialog to main window? HOT 24
- Please consider adding printing support HOT 6
- CudaExt, dialog - tab/panel to switch to⦠update HOT 8
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.