- Display Splitter and GridUnitSelector on MouseEnter rather than if a particular Row/column is clicked and selected.
- Fix bug : Invert Row lengths that appears in left GridRailAdorner
- Fix bug : Update code which caused Row/Column lengths to be displayed at wrong positions after creation of new RowDefinition/ColumnDefinition.
- Fix bug : Grid now remains selected while being adorned by GridRailAdorner.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/wpfdesigner@5837 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed incorrect behavior of TextEditor.IsModified when continued undo groups are used.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5762 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
How I did this (please Daniel check if it's OK):
- added new method CtrlSpaceResolveHelper.AddReferencedProjectsContents()
- use this method in NRefactoryResolver.CtrlSpaceInternal() instead of CtrlSpaceResolveHelper.AddImportedNamespaceContents(), that means this will work for NRefactory languages. I believe there is no simple way to make it work for XAML, F#, Boo and Python at the same time, as they have different IResolvers that don't share any code, (although they maybe could?)
-> that means CC list always contains all referenced APIs
- Extend CodeCompletionItem.Complete() method to look if IClass being completed can be resolved in current context, and if not, add the using
The CC list gets larger now - I am profiling this to achieve the best speed possible.
Minor CC improvement:
- if there are more types with the same name, all of them are shown in CC. If user selects type which is not the one closest to current scope, CC inserts full name (e.g. if user has his own XmlNode class in current namespace, he can still choose to insert "System.Xml.XmlNode" from CC). TODO show fully qualified name in CC tooltips.
- compare to VS 2010 behavior: shows only the type that is closest to current scope (i.e. only shows user's XmlNode)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5753 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- 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
Please provide feedback (usefulness, performance, highlight color, ...)
It should have no effect on editor performance - when moving caret by holding an arrow in the editor, nothing gets executed. After the caret stops for 100ms at one place, expression under caret is resolved to e.g. hide current highlight if no expression is under caret. Then, if the caret stays in place for 1000ms, "Find references in current document" is executed (on the main thread, but it's quite fast, maybe could be moved to background thread).
The timeouts are done using two DispatcherTimers.
Added "Find references in given document" (RefactoringService.FindReferencesLocal) to RefactoringService.
Refactored RefactoringService a bit, but public API and its behavior stays unchanged.
Fixed comment of DebuggerService.HandleToolTipRequest.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
TODO: now fully qualified names of enum fields are used in case labels, even though namespace is unnecessary when it is present in document's 'using' section (very common case - have to improve this).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5718 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
TODO: make the code generation work for VB (using CodeGenerator), now C# switch is always inserted.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5710 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Close code completion window after '.'-completion when deleting the dot with backspace.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Remove WPF designer's copy of NumericUpDown and ZoomControl and use SD.Widgets instead.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5659 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
LoadSolutionProjectThread: Send progress report for the number of files parsed.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5637 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Removed IParseInformationListener as it was unreliable (depended on view content), use ParserService.ParseInformationUpdated instead.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5623 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed FxCop issues in AvalonEdit.
Still missing in highlighting editor:
- edit environment colors (normal text, line number margin, etc.)
- support all syntax definitions shipping with SharpDevelop
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5575 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61