Daniel Grunwald
8b507a58ac
Use Dictionary instead of Hashtable in BrushRegistry to prevent boxing of Color objects. Use Pen.DashPattern instead of Pen with HatchBrush for dotted pens.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3673 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
dbaed14afa
Memory usage optimization for the Text Editor as suggested in forum-8629.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3672 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
650e909244
Fixed forum-8538: incorrect selection on Undo/Redo.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3664 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
20fad3dd84
Forum-8545: Fixed color of +/- sign in folding marker.
...
By default, use system colors for folding marker.
Fixed Mode.xsd so that .xshd files generated by the highlighting editor are valid again.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3658 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Ivan Shumilin
1069fc57dc
xaml specification, xaml backend, reorganize code, etc etc
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2bffb7e184
Update Clipboard.ContainsText using a separate thread.
...
Fix/workaround for SD2-1466 - SharpDevelop freezes when debugged application sets clipboard text.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d8da3abb1e
Add <inheritdoc/> to XML doc completion, add MIT/X11 license template.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3562 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b8d273dc27
Fixed crash in CSharpExpressionFinder when the document contains carriage return (\r) without line feed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3544 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d25a379fae
Removed code duplication IndentSelection<->FormatBuffer
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3537 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
72bc6eddad
SD2-611 - Auto-Complete tooltip does not word wrap when displayed on the left
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3515 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e71f8f1c16
When repeatedly getting the full document text, reuse the same string instead of creating a new one every time.
...
Write executed menu and toolbar commands to log.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3463 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0ab5c4b55e
At "Caret Line" to text editor (disabled by default) - based on patch by Troy Simpson.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3440 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ce47d3c5db
Throw descriptive exception when escape character '@' is at the end of a highlighting expression.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3439 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f60b4cbb8f
Fixed NullReferenceExceptions when Clipboard.GetData returns null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3359 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8b11b9d6e7
r7325@daniel-notebook (orig r3356): daniel | 2008-08-14 22:29:59 +0200
...
Remove unnecessary cast to int.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3358 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0b36168819
r7323@daniel-notebook (orig r3354): daniel | 2008-08-14 18:09:24 +0200
...
Fixed SD2-1265: Font size chosen in text editor options is not consistent with other Windows applications
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3356 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b3d8bda1a8
Don't throw exception when an SDK tool is not found.
...
Update caret position when foldings change.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3323 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f18f9a6817
Add "Add check for null" and "Add range check" commands to C# refactoring menu.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3279 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
13814fa026
Raise TextAnchor.Deleted events before LineManager.LineCountChanged.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3274 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2f65a05f2b
Fixed forum-7979 (breakpoint disappears when the line above is deleted).
...
Bookmarks now don't bind to a line, but use a TextAnchor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3272 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d2b66aed54
When the code-completion window is opened with Ctrl+Space/"complete when typing", deleting the completed text with backspace closes the code-completion window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3244 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cb0ac968c0
Fixed overwriting selected text by pasting.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3211 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2af778abe8
SD2-1366: Add Boo Interpreter back to SharpDevelop
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3209 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9fae8aee0d
Allow specifying movement type of text anchors.
...
Make ConsolePad read-only text marker invisible.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3206 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6898622e89
Improved support for read-only text sections in the text editor: fixed some bugs, removed CustomLineManager, read-only sections now are created using text markers.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3205 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
5080d5c8d9
Fixed Breakpoint.Hit event;
...
Checking the MD5 of debugged file with the original MD5
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3176 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6c80e7b99b
Added managed Caret implementation to the TextEditor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3113 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c1a0dbbbe9
Fixed InvalidOperationException in RefactoringMenuBuilder when right-clicking on a definition immediately after adding/removing a field.
...
Fixed ParserService: two ParseInformations could be created for the same file if the file names were in different case.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4d258e1545
Don't validate the caret position when a nested EndUpdate() call, only do so on the final EndUpdate() call.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3078 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
be4618829d
Validate caret position after document updates; the caret could get outside the document after refactorings.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3075 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ac524be22c
Fixed bug that prevented caret position update when confirming code completion with Enter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3074 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
38cef94960
Fixed SD2-1414: Mouse wheel scrolling does not work for high-resolution mice
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3064 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7970b7720d
Fixed caret update when scrolling.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3063 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9cdbc0f174
Fixed forum-7725: A zombie caret stays visible when closing a code completion dropdown with Esc.
...
The caret was sometimes updated in OnPaint, which is invalid (Windows temporarily disables carets during WM_PAINT)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3054 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7efa54a6fb
Fixed casing of Microsoft.CSharp.targets and System.Xml in .csproj files, fix FileUtility.Minimal.cs when running on Mono.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3050 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
985ca71e1b
Add SimpleWorkbenchLayout (a very simple layout which is not using the docking library, all pads are fixed on the left side)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3037 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5f1c768d62
Moved IHighlightingStrategy.GetRuleSet and IHighlightingStrategy.GetColor into a separate interface.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3036 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
bc1cff71af
Fixed forum-7627: FindWordStart function bug
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3020 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
392ef70922
Fixed SD2-1297: Implement "safe saving"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2997 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
98b7690971
Fixed usage of AmbienceService.CurrentAmbience: sometimes the ConversionFlags were not used because the ambience object was recreated.
...
Fixed page up/page down in text editor: confusion between character and pixel coordinates caused caret to move to the wrong column.
Fixed crash when StartProgram or WorkingDirectory were invalid paths.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6bfa9f37c2
NRefactory: add support for evaluating C# preprocessing directives
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2972 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2d0d13aae7
Fixed forum-7331: Deleting .cs code template group causes code completion to throw NullReferenceException
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2939 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
82bbab8aec
Forum-6859: Show code templates in code completion.
...
Templates are now inserted by pressing Tab (instead of Space).
However, when "Automatic template insertion" in the text editor options is on (new default: off), templates are also inserted when a template is chosen from the code completion list.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2932 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cad71281f0
Fixed forum-7200, forum-7286: Exception when trying to remove lines with breakpoints
...
Improved default selection in "Go to" dialog.
SharpDevelop.Dom: Renamed IDecoration->IEntity, moved common properties in IClass and IMember into IEntity.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2931 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
347af114dd
Fixed code completion after new-expression "new SomeClass().Member".
...
Fixed overload resolution to try overloads in base class if no overload in the derived class is applicable.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2827 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9b4679edf1
NRefactoryResolver rewrite: remove code duplication between NRefactoryResolver and TypeVisitor. Changed handling of method groups to follow C# specification more closely.
...
This fixes several bugs in overload resolution.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2819 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
849b934739
XML editor now uses the text editor's CodeCompletionWindow instead of its own custom version.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2760 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
996079f1d1
Fixed forum-6858: Bug in New Project/New File Dialog: LastSelectedCategory is not saved correctly for sub-categories.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2740 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
8f2e284793
Allow choosing the target framework when creating a new project.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2739 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
44fcb45530
FxCop AddIn: allow suppressing assembly-wide messages (e.g. AssembliesShouldHaveValidStrongNames)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago