projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fcff9a
)
src/Palete/LanguageClientVala.vala
author
Alan
<alan@roojs.com>
Wed, 27 Mar 2024 08:30:11 +0000
(16:30 +0800)
committer
Alan
<alan@roojs.com>
Wed, 27 Mar 2024 08:30:11 +0000
(16:30 +0800)
src/Palete/LanguageClientVala.vala
patch
|
blob
|
history
diff --git
a/src/Palete/LanguageClientVala.vala
b/src/Palete/LanguageClientVala.vala
index
9b69168
..
0e1b4df
100644
(file)
--- a/
src/Palete/LanguageClientVala.vala
+++ b/
src/Palete/LanguageClientVala.vala
@@
-668,12
+668,14
@@
namespace Palete {
// try and block multiple calls - better than a big timeout loop?
hover_call_count++;
var call_id = hover_call_count;
// try and block multiple calls - better than a big timeout loop?
hover_call_count++;
var call_id = hover_call_count;
+ GLib.debug("get hover call=%d count=%d", call_id, hover_call_count);
var loop = new MainLoop();
GLib.Timeout.add(500, () => {
loop.quit();
return false;
});
loop.run();
var loop = new MainLoop();
GLib.Timeout.add(500, () => {
loop.quit();
return false;
});
loop.run();
+ GLib.debug("end hover call=%d count=%d", call_id, hover_call_count);
if (call_id != hover_call_count) {
GLib.debug("get hover CANCELLED %s %d %d", file.relpath, (int)line, (int)offset);
return ret;
if (call_id != hover_call_count) {
GLib.debug("get hover CANCELLED %s %d %d", file.relpath, (int)line, (int)offset);
return ret;