File tree 1 file changed +24
-6
lines changed
1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ OpsFind::usage=
17
17
MsgFind ::usage = "Finds all the messages for a given object and MessageName pattern" ;
18
18
19
19
20
- (* ::Subsection:: *)
20
+ (* ::Subsection::Closed:: *)
21
21
(*Package Scope*)
22
22
23
23
@@ -47,6 +47,22 @@ EndPackage[]
47
47
Begin ["`Private`" ];
48
48
49
49
50
+ (* ::Subsubsection::Closed:: *)
51
+ (*packageAddAutocompletions*)
52
+
53
+
54
+ (* ::Text:: *)
55
+ (*Lazy dupe of the way my packages implement this*)
56
+
57
+
58
+ packageAddAutocompletions [s_ , l_ ]:=
59
+ If [$Notebooks &&
60
+ Internal ` CachedSystemInformation ["FrontEnd" ,"VersionNumber" ]> 10.0 ,
61
+ FE ` Evaluate [FEPrivate ` AddSpecialArgCompletion [s -> l ]],
62
+ $Failed
63
+ ];
64
+
65
+
50
66
(* ::Subsubsection::Closed:: *)
51
67
(*PaneColumn*)
52
68
@@ -358,7 +374,7 @@ SymbolDetermineType[{},___]:=
358
374
SymbolDetermineType ~SetAttributes ~HoldFirst ;
359
375
360
376
361
- (* ::Subsubsection::Closed:: *)
377
+ (* ::Subsubsection:: *)
362
378
(*DocFind*)
363
379
364
380
@@ -572,11 +588,13 @@ $DocFindInterestingContexts=
572
588
};
573
589
574
590
575
- PackageAddAutocompletions [
576
- "DocFind" ,
591
+ packageAddAutocompletions [
577
592
{
578
- None ,
579
- $DocFindInterestingContexts
593
+ "DocFind" ->
594
+ {
595
+ 0 ,
596
+ $DocFindInterestingContexts
597
+ }
580
598
}
581
599
]
582
600
You can’t perform that action at this time.
0 commit comments