Fixed hoverinfo not showing on JS method declarations

This commit is contained in:
bigguy345 committed 2026-01-05 23:39:06 +02:00
1 parent 33442f9398
commit ce3700b820
1 file changed
+1 -1
@@ -2465,7 +2465,7 @@ public class ScriptDocument {
int methodDeclStart = m.start();
MethodInfo methodInfo = null;
for (MethodInfo method : getAllMethods()) {
if (method.getDeclarationOffset() == methodDeclStart) {
if (method.getFullDeclarationOffset() == methodDeclStart) {
methodInfo = method;
break;
}