This repository was archived by the owner on Oct 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
src/AddIns/BackendBindings/CSharpBinding/Project/Src/Completion Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44using System ;
55using System . Collections . Generic ;
6+ using System . Windows . Controls ;
67using ICSharpCode . NRefactory . Completion ;
78using ICSharpCode . NRefactory . TypeSystem ;
89using ICSharpCode . SharpDevelop ;
@@ -27,7 +28,10 @@ public EntityCompletionData(IEntity entity) : base(entity.Name)
2728
2829 protected override object CreateFancyDescription ( )
2930 {
30- return XmlDocFormatter . CreateTooltip ( entity ) ;
31+ return new FlowDocumentScrollViewer {
32+ Document = XmlDocFormatter . CreateTooltip ( entity ) ,
33+ VerticalScrollBarVisibility = ScrollBarVisibility . Auto
34+ } ;
3135 }
3236 }
3337}
Original file line number Diff line number Diff line change 22// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
33
44using System ;
5+ using System . Windows . Controls ;
56using ICSharpCode . NRefactory . TypeSystem ;
67using ICSharpCode . SharpDevelop ;
78using ICSharpCode . SharpDevelop . Editor ;
@@ -27,7 +28,10 @@ public TypeCompletionData(IType type) : base(type.Name)
2728
2829 protected override object CreateFancyDescription ( )
2930 {
30- return XmlDocFormatter . CreateTooltip ( type ) ;
31+ return new FlowDocumentScrollViewer {
32+ Document = XmlDocFormatter . CreateTooltip ( type ) ,
33+ VerticalScrollBarVisibility = ScrollBarVisibility . Auto
34+ } ;
3135 }
3236 }
3337}
You can’t perform that action at this time.
0 commit comments