Skip to content

Commit a26aa0b

Browse files
committed
Fix ParameterCompletionProvider #19
- Change the timeout value to smaller because it is too large
1 parent 25af996 commit a26aa0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/netbeans/modules/php/cake3/editor/completion/ParameterCompletionProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public CompletionTask createTask(int queryType, JTextComponent textComponent, Ph
128128
*/
129129
private Parameter getParameter(FileObject fileObject, int caretOffset, int offset) throws ParseException {
130130
int parameterIndex;
131-
Model model = ModelUtils.getModel(Source.create(fileObject), 3000);
131+
Model model = ModelUtils.getModel(Source.create(fileObject), 300);
132132
if (model != null) {
133133
ParameterInfoSupport parameterInfoSupport = model.getParameterInfoSupport(caretOffset);
134134
ParameterInfo parameterInfo = parameterInfoSupport.getParameterInfo();

0 commit comments

Comments
 (0)