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
16 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
16 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
16 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
16 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
16 years ago
Daniel Grunwald
79e8189c7c
Fixed SD2-1604 - Code completion does not learn commonly used items
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
65e2ff4868
fixed insertion bugs in XAML code completion and added unit tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
9108aaa781
Use TextFormattingMode.Display for dialog and code completion windows.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5266 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 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
17 years ago
Daniel Grunwald
0630068f58
Move code completion types into ICSharpCode.SharpDevelop.Editor.CodeCompletion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4175 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 years ago
Daniel Grunwald
024c5fb887
ITextEditor: moved to namespace ICSharpCode.SharpDevelop.Editor.
...
Added support for anchors and text markers.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
173236e380
Allow using icons in code completion items.
...
ClassBrowserIconService now provides both WinForms and WPF images.
Some refactorings are now using the ITextEditor interface.
Started working on bookmark support for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3982 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
c0e8c59603
AvalonEditViewContent: implement ITextEditorProvider.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3964 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7f94fc4146
Allow completion list and items to handle insertion of text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
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