Daniel Grunwald
2f6ade9faf
Fixed NullReferenceException in ShowErrorHelpCommand.Run.
...
Hide "Show error" command from Task List.
Fixed potential InvalidCastException in CSharpOutputVisitor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
0ed2835ba1
applied improvements suggested by Daniel:
...
- changed ClassType mappings
- use cast with CodeGenerator.ConvertMember in XamlCompletionItemList
- pass on targetContext recursively in ConvertClass
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5588 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ce47f3f815
Fixed HighlightingColorizer crash in combination with folding.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b58f8075bb
C# parser: added support for method invocations with named arguments.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5585 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7d3a410d0b
AvalonEdit: Fixed repainting issues when document was modified above the visible region (e.g. using split view) and the highlighting stack changed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5584 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
843a8c4788
Highlighting editor: allow changing the default text color and selection color.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5583 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
e3d7d7dc1b
Fixed bug in syntax highlighting when keywords start with a special character (e.g. ".maxstack" in IL highlighting).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5580 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1c4b406283
Fixed unit tests (the previous commit fixed a minor bug in the C# syntax definition, and the unit test was expecting the incorrect output)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5577 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
471ec831c6
Editing highlighting colors is now supported for C#, VB, XML and .patch files.
...
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
16 years ago
Daniel Grunwald
488d12f83c
SD2-1592 (Add back highlighting editor for AvalonEdit):
...
- implemented CustomizableHighlightingColorizer
- add preview to highlighting editor
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5574 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
061496afc3
Started work on SD2-1592 - Add back highlighting editor for AvalonEdit
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5572 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
71c5d4d290
Move ISnippetElementProvider to ICSharpCode.SharpDevelop.Editor.AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5565 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
7dfe0ac44a
added ISnippetElementProvider
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5561 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b61b39d22a
Fixed NullReferenceException in Caret.BringCaretToView when TextEditor.Document==null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5559 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0e6e93c019
Update to AvalonDock 1.2.2702.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5557 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2af09d613b
Fixed small selection bug in snippet completion window (Ctrl+J).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5548 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4a3f617c1b
Fixed issue in CodeEditorView: CustomTabCommand was modifying a KeyBinding shared by all AvalonEdit instances. The code now creates a new KeyBinding instead.
...
AvalonEdit: mark shared KeyBindings as frozen if possible (only possible on .NET 4).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5545 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
48a4203735
Use DispatcherTimer instead of animation for blinking caret. This reduces the frame rate WPF uses. The processor has to wake up less often -> computer uses less power.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5544 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
edd3fb4a0a
"Normalize" file headers.
...
Enable $Revision$ keyword expansion for all existing .cs files.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5529 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d0e3f61d60
Disable low-priority rendering after text input: it did not work correctly and caused WPF to render twice per character entered into AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5528 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d79c461876
Ported HtmlSyntaxColorizer to AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
83261c2a52
Work around strange .NET feature in command-line parsing.
...
Update SharpDevelopAddIn.xpt for SD 4 (add WPF references).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5525 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
55ab9226d6
fixed scrolling bug in TextView.MakeVisible
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5511 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
84f0895b3b
Added support for default parameters and variance annotations to C# parser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5507 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3188b51637
Fixed unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5489 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
f2bae1ba6e
Fixed forum-10719: AvalonEdit swallows Alt+Space
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5480 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
d111238f33
- added CSharpBackgroundCompiler
...
- extended CodeGenerator
- fixed NullReferenceException in NRefactoryResolver
- various bugfixes in CodeGenerator and NRefactoryASTConvertVisitor
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5470 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b69ac8a54a
Fix build error in CompletionWindowBase.cs. AvalonEdit targets .NET 3.5, but used a .NET 4.0 member.
...
For some reason, this worked fine on most machines (including the build server), these machines seemed to have an updated version of .NET 3.5 SP1 - either using Windows Update or installing VS2010 seems to add members to .NET 3 assmblies.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5468 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2b007b4365
Fixed SD2-1641 - Random crash in AvalonEdit when copying to the clipboard
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5455 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
53b022c615
Add safety check to UndoStack to prevent corruption when the document is changed by UpdateStarted/UpdateFinished events within Undo() or Redo() calls.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5454 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
327fb646e4
Remove <Folder> from AvalonEdit.csproj
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5453 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a7764d92d1
Improvements to C#->VB code converter (see forum-10353).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5448 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
21fbbd06a7
Fixed forum-10403: several bugs in VBNetOutputVisitor
...
* Handle combinations of ParameterModifiers
* Output DefaultValue of optional parameters
* Handle Class.TypeModule in GetTypeToken
* Fixed output of base constructor calls
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5447 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6a8bf3b680
Fixed forum-10660: make EndOfStatement between "Else" and the following block optional. It isn't according to the VB spec, but the MS VB compiler allows such code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5445 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
9ff90bcfd4
Add F# binding back to SharpDevelop 4.0.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5439 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
550c9f7702
Fixed forum-10596: C# to VB.NET conversion problems
...
- base[index] must be converted to MyBase.Item(index)
- Overloads modifier must be added when method has same name as another method in a base class
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5432 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
81e6acf794
Fixed forum-10453: NRefactory VBNetOutputVisitor writes incorrect "AS" keyword
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5431 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
80fb379076
Fixed forum-10436: bugs in VBNetOutputVisitor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5430 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5233909e58
Added whole line selection (triple click).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5429 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d817a55cfe
UDC: add culture, processorArchitecture and number of custom AddIns to environment information
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5426 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2b23a870f5
Use TextLine.GetTextBounds in BackgroundGeometryBuilder. Fixes visual problems with bidirectional text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5421 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3457824d9f
Fixed ArgumentException when selecting right-to-left text in AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5420 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7dcd391057
SD2-1607 - Add printing support to AvalonEdit
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0981fe4c8b
SD2-1601 - Implement disabled text editor settings:
...
- Use smart indentation
- Underline errors
- Highlight matching bracket
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5413 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
404042e3ce
Fixed SD2-1597 - Double click selection does not select entire word with error highlighting
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5412 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4d372dc9b5
Converted VBNet-Mode.xshd to new file format.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5401 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
bcb9d3303a
Fixed bug in XmlHighlightingDefinition that prevented referencing the main ruleset of the current XSHD.
...
Fixed typo in SaveXshdVisitor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5400 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fb53cbeeff
Converted Boo.xshd to new XSHD file format.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5399 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6f3e1f87de
Improve XML highlighting.
...
Fixed bug in XSHD loader when XSHD <Import> refers to a ruleset defined later in the same file.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5398 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
17d5510c03
Fix crash when pressing deadkey while CC window is open.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5397 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago