Mike Krüger
a4a77737bd
* Src/Visitors/LookupTableVisitor.cs: Catch variable declarations
...
are now valid in the whole catch clause, not only in the statement
block. (Required for the lookup inside the variable declaration)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4520 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
419a5ac3ab
AvalonDock bugfix: only middle clicks on a document tab should close the document.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4494 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a732e7e0d3
CSharpFormattingStrategy: when pressing enter, add '///' inside documentation comments or '" + "' in strings.
...
Exposed the syntax highlighter to ITextEditor to allow AddIns to efficiently determine if a line starts in a multi-line comment.
Ported "Create property","Create changed event" and "Create on event method" refactorings to ITextEditor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4492 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
3602bc21b8
Update to AvalonDock 1.2.2515
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4486 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
de88a9a00b
Use svn:eol-style=native for NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4482 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a07a78e80b
CSharpOutputTest: don't ignore whitespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4481 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
1489bafa98
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/AbstractOutputFormatter.cs: Comments that start
line are no longer indented when outputting them.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4474 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
3ba7f361b6
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Corrected else in
...
new line placement.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4471 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
6ace8895af
NRefactory: Fixed incorrect end column in C# type declarations.
...
Fixes forum-9578: IndexOutOfRangeException in 'Implement Interface' refactoring.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4455 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
bf075f251b
Fixed copying from ICSharpCode.TextEditor to wordpad (encode of characters that are not in Windows-1252).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4453 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8f38d8cc87
Use whole-word selection when Control is pressed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4448 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
b9ebdadd18
* Src/Visitors/AbstractAstTransformer.cs: Made node stack protected.
...
I had a complicated AST transformation where I needed to add/remove
statements this seemed to be the easiest solution for it.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4438 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Siegfried Pammer
f779eb0a69
- added EditGridColumnsAndRowsCommand
...
- ported debugger commands in text editor context menu to SharpDevelop 4.0
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4430 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a257a5b2e9
document ILineTracker.SetLineLength
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4426 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
03339ba83a
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4417 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
80b46b6b8d
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Improved
...
collection initializer output.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4407 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Tomasz Tretkowski
0762a4924b
Handling msbuild4 projects with target platform other than AnyCPU
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4404 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
1fd78f3a55
DocumentHighlighter.GetSpanStack
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4388 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
a3b56d8ca4
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
...
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added anonymous
method brace style.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4349 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
David Srbecký
bbcc95f3d0
Attempt to fix NullReference exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4345 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c3808243ec
Fixed NRefactory unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4343 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
e0152e8500
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Removed
...
unneccessary spaces in if section.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4342 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
David Srbecký
e936a38958
Fix the position of code completion window for non-default DPI
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4341 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
a489ea1e63
Fixed failing unit test.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4337 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
6c6eae52d8
* Output/CSharp/VBNetToCSharpConverterTest.cs: Fixed unit test.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4329 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
64ef2a35f7
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/AbstractOutputFormatter.cs: Corrected block
comment output.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4324 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
52cefeecb0
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: If statements
...
without block are now correctly indented.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4323 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
d80a5b833b
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: removed embedded
...
statement newline. (newline here is incorrect ex. printing "if (a)
Foo(); else Bar();" should be possible without forcing newline after
Foo).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4316 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
5ad991bd51
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Correctly indent
...
embedded statements.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4315 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ab626fb573
Add back all unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4296 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
e7491afa6d
Text snapshot support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4290 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 years ago
Daniel Grunwald
8396a39d9c
Update AvalonDock to 1.2.2154.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4269 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8a4b2018a5
Avoid NullReferenceException when pasting text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4267 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5fea001e96
Avoid NullReferenceException when pasting text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4266 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a0b130adfd
Move solution from SharpDevelop/src to SharpDevelop.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4249 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
c62cfbcad7
AvalonEdit: allow setting the caret color.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4233 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
4d8bde1e77
Added AutomationPeer for AvalonEdit TextEditor. Based on patch by Amir Tuval.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4232 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
d1069f31dc
AvalonDock: set Focusable=false for border inside DockablePane
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4225 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
13bc024ffe
AvalonDock: disable Ctrl+Tab and Shift+Tab shortcuts
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4224 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5eee3babfc
Implemented syntax highlighting in search results pad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4207 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8c332d9550
AvalonEdit: fixed 'Home' key and CaretPositioningMode.WordStart over line borders.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4206 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
80c40ac480
Fixed action="disable" conditions on WPF Menus.
...
Allow AddIns to choose a free title for searches.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4205 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
664dc13b32
Implemented code coverage text markers for AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4203 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fc543e2a99
Implemented updating text anchors on text replace operations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4197 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2db5ccb19e
Implemented the commands in the 'Edit>Format' menu for AvalonEdit.
...
Allow using 'command' attribute on <MenuItem> with custom routed commands defined in AddIns.
Implemented offset mapping in AvalonEdit. This allows replacing text in the document without removing all text markers from the replaced region.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4191 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
60f01927a9
Split AvalonEdit.Gui into Editing and Rendering
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4141 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
eb09b62e33
Fixed two editor bugs introduced in revision 4138.
...
Ask user to save unsaved changes when closing SharpDevelop.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4140 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago