Daniel Grunwald
2ee86110f6
Fixed some FxCop warnings in AvalonEdit.
15 years ago
eusebiu
4150e8db59
fix for SD-1713
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Martin Koníček
f2a39ffa73
CC window shows the hint "Press Ctrl+Space to show items from all namespaces" only if Ctrl+Space was not already pressed, and only for NRefactoryCodeCompletionBinding (C# and VB languages).
...
Implementation:
- added bool ICompletionItemList.ContainsAllAvailableItems - the list tells if it could contain even more items and anyone displaying it (SharpDevelopCompletionWindow) can handle this
- bool ContainsAllAvailableItems is always true except for NRefactoryCompletionItemList returned by NRefactoryCtrlSpaceCompletionItemProvider, where it can be set to false
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5906 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
8a464f1a8c
Remove EmptyTemplate from AvalonEdit, instead re-style the CompletionListBox within SharpDevelopCompletionWindow.xaml
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5897 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
0d742ce90f
Commented out the style for SharpDevelopCompletionWindow so that the "Set property 'System.Windows.Setter.Property' threw an exception.' Value cannot be null." crash in ctor of CompletionWindow dissapears.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5896 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
e38b228446
Changed CompletionListBox.EmptyTemplate to ContentPresenter. Attempt to provide TextBlock in SharpDevelopCompletionWindow.xaml, but nothing gets displayed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5895 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
0e27d647a6
When CodeCompletion window is empty, it shows "Press Ctrl+Space to show items from all namespaces", so that user learns how to use Ctrl+Space naturally.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5891 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
ef7c0f1457
CodeCompletion: filtered items are shown in the same order as they were before filtering. The best match is selected.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5750 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
5c64642260
Fixed unhandled exceptions during UDC upload.
...
Remove dead code.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
4b57bf13b2
Code completion window sizes height to content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5741 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
e8d33e6fb5
CompletionList - implemented ReSharper (and VS2010)-like Code completion:
...
- search by substring
- search by camel case: writing "fs" finds "FileStream"
- filtering the items (showing only the matching ones) and sorting them by quality
- the exact old behavior (with search by camel case added) can be turned on by setting CompletionList.IsSearchByStartOnly = true
TODO make the CompletionWindow size to content when the list is short - have to ask Daniel for the best way to do this
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
f4902e70d7
Fixed forum-10197: InvalidOperationException in Code Completion ("Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed.").
...
Fixed expanding interactive snippets within a code completion dropdown.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5074 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4a85fa660c
Added snippet support to SharpDevelop (replaces 'code templates').
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5069 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
aad8c0de16
Code snippets: implemented input handling and background renderer.
...
Added support for "stacked" input handlers.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5065 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
e82a1f11fc
Fixed showing completion window when another completion window is already open.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4282 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a1269d8efa
Added ICompletionListWindow interface to allow AddIns to control the completion window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4248 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
27cd1c9931
AvalonEdit: split Gui namespace into Editing and Rendering.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4142 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b58af24885
Reimplemented method insight for AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4035 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
34ed9d7591
Document CompletionWindow.StartOffset and EndOffset.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4031 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c0e8c59603
AvalonEditViewContent: implement ITextEditorProvider.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3964 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1102221b0d
AvalonEdit: added support for preselection.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3925 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
bc400c5dd9
IMementoCapable support is back.
...
AvalonEdit: Fixed some focus issues; fixed crash when control is allowed to grow to infinite size.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3918 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
71993014c9
AvalonEdit: tooltips.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3913 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2c2ef65f89
Improved GetNextCaretPosition - placed word borders at line starts and ends.
...
Implemented GetWordBeforeCaret().
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3901 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f449a85a69
AvalonEdit code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5380d99724
Improvements to AvalonEdit CompletionWindow. Implemented TextAreaInputHandler.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3889 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
b112845f62
AvalonEdit: implemented CompletionWindow
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3888 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago