Daniel Grunwald
a48804720d
Fixed bug in HighlightedLine.ToHtml that could cause text in front of the selection to be copied to the clipboard.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5386 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
91c33ed1e4
Do not execute indentation strategy when pressing Enter inside a read-only section.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5384 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3839873b7e
Implemented SizeLimit for UndoStack.
...
This allows disabling the undo stack as requested in forum-10585.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5383 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d092b396de
Fixed highlighting of XML attributes containing '.'
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5379 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a9f1ff3040
Fixed forum-10109: TextEditor.ShowLineNumbers=false removes all DottedLineMargins.
...
Fixed some typos in AvalonEdit documentation.
"Syntax Highlighting" help: added "ICSharpCode.TextEditor compatibility" and "Programmatically accessing highlighting information" sections.
Update Boo.xshd for Boo 0.9.3.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5378 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b15c3e56df
Update to boo 0.9.3.3457
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
944298f015
- fixed bug in AXmlParser
...
- added new Unit Test for AXmlParser
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5342 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
97c6bc94e4
Added unit tests for VB.NET function and subroutine declarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5337 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0824719cc9
Fixed SD2-1625 - Forms Designer corrupts field declarations with inner class type references
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5300 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b87a337213
Fixed conversion of inner class type references to CodeDom.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5298 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
f23cba41b1
Converted XML-Mode.xshd to new file format. Fixes forum-10434 (bad XML highlighting in AvalonEdit).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5288 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c16985247f
Use TextFormattingMode.Display for tooltips and context menus.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5267 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
91cb4eb433
AvalonEdit: When VisualColumn validation has to change the caret position, prefer to move the caret into the direction that does not cause a caret offset change.
...
This fixes issues with text selection when tabs are visible and the user clicks between the tab marker and the whitespace of the tab.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5264 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a7454197bd
Support for TextFormattingMode.Display in line number margin and other AvalonEdit components using the FormattedText class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5263 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a6d67cfa53
Don't crash when InlineUIElementGenerator's anchor is deleted.
...
Fix focus when inline UIElement is removed from TextView.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5261 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4b99aee612
Moved support for TextFormattingMode.Display into AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5260 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
8dd9b3229c
Use TextFormattingMode=Display in whole SharpDevelop.
...
Add support for TextFormattingMode to AvalonEdit.AddIn.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5259 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
dba640c524
Clear selection and caret position when TextArea.Document is changed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5254 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ddee637521
AvalonEdit TextEditor/TextArea: when changing the document/options, set document/options on the inner TextArea/TextView before the DocumentChanged/OptionChanged event is raised.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5251 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0d217472ff
Fixed PixelSnapHelpers - don't crash when measuring a visual without PresentationSource.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5250 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ba882fe298
Port PInvokeAddIn to ITextEditor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5243 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
49f8c18d14
Fixed SD2-1602: Order of nodes in AddIn tree path is not preserved.
...
Fixed ArgumentNullException in TaskListPad / ParserService.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5239 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
d4ec4475ae
move call to GetUriFromMatch before creation of new VisualLineLinkText
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5238 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
8fc047a728
Fixed SD2-1598 - Unhandled UriFormatException when editing url string:
...
match.Value is checked with Uri.IsWellFormedUriString. GetUriFromMatch returns null if url string is invalid and no LinkElement is constructed.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5237 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
f599cadc78
Fixed SD2-1612 - Commands in Edit > Folding have no effect
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5235 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
24358ad21e
Improved AvalonEdit pixel snapping.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5234 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5254075de9
Align caret on whole pixels.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5226 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c1ca7b1e36
Fixed C#->VB code converter issues with casts between char and integers.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5221 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
aa877491c1
Added object initializers support to VB output visitor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5220 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5778efa82e
Fixed pixel snapping of lines in folding margin.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5218 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0679dd34ae
Reverted AvalonDock change that caused bad performance and flickering in WinForms controls.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5217 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
3c5585e0a2
- finished implementation of Ctrl+J snippets.
...
- added props snippet
- enhanced existing snippets
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5214 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
db5f09dfd4
Add version info to layout files to avoid exception when AvalonDock version has changed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5212 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6898c3b700
Update to AvalonDock 1.2.2691.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5211 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3e64285db9
Remember focus and restore it when a workbench window or pad gets activated.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5208 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0040375aa5
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5207 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
656cd6cb97
Draw vertical line in fold margin on whole pixels.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5206 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
748344d2a9
Remove PixelSnapper; use WPF layout rounding instead.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5203 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
002ffad912
- implemented Ctrl+J for new snippets
...
- removed code duplication in Profiler.cpp
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5202 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1367562511
Ignore all WeakReferenceTests, apparently some change in the .NET 4 GC makes this kind of test unreliable.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5091 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8159a20216
Ignore failing AvalonEdit test.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ae6ec527a1
Fixed XamlBinding unit tests (XAML CC now requires a System.Xaml reference).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5089 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ee0255fbaf
Add references to System.Xaml.dll (necessary because some types were moved from WindowsBase to System.Xaml; see http://blogs.windowsclient.net/rob_relyea/archive/2009/10/19/xaml-news-net4-and-vs2010-beta2.aspx ).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5083 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f4902e70d7
Fixed forum-10197: InvalidOperationException in Code Completion ("Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed.").
...
Fixed expanding interactive snippets within a code completion dropdown.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5074 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
82643cb089
Fixed layout of SnippetOptionPanel.
...
Removed unused EditTemplateDialog.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5072 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
4931df6c98
Show context menu when right-clicking on IconBarMargin.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5071 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
819bab8287
Fixed change grouping when the document is changed inside event handlers for TextDocument.TextChanged.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5067 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
82e6a42b97
Fixed bug in TextView.BackgroundRenderer_Added that could cause a VisualLinesInvalidException during rendering.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5066 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
aad8c0de16
Code snippets: implemented input handling and background renderer.
...
Added support for "stacked" input handlers.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5065 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago