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
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
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
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
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
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
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
16 years ago
Daniel Grunwald
8159a20216
Ignore failing AvalonEdit test.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 years ago
Daniel Grunwald
7d53a43afd
Add infrastructure for code snippets.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5064 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
48045ff9f8
Move CSharpIndentationStrategy into AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5063 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
23c1c37ec1
Allow setting the TextEditor.SyntaxHighlighting property from XAML. Thanks to Rudi Grobler for the idea ( http://dotnet.org.za/rudi/archive/2009/10/09/the-magic-of-type-converters.aspx ).
...
Changed URL for Usage Data Collector upload.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5061 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c9fc64257d
Copied information from the Code Project article into the AvalonEdit help file.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5053 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ac6d4f66a0
Fixed split view crash when folding is enabled.
...
Added GridSplitter to split view.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5052 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
91069acffd
Update to AvalonDock 1.2.2666.
...
Fixed old codeEntityReferences in AvalonEdit documentation.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5051 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6d54b7f06a
Add chapter on code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5048 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cf815e0902
Worked on the AvalonEdit article and sample application.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5041 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c78ea89993
Extended AvalonEdit.Sample + article.
...
Fixed FxCop issues in AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5040 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4feb97519c
Prepare DocumentLineTree for optimization.
...
Added (unfinished) CP article about AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4973 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b4142ddb14
Allow data-binding to the TextEditor.SyntaxHighlighting property.
...
Make HighlightingManager thread-safe.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4972 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
23db63a30e
Allow users to change the AvalonEdit selection style.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4965 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a8d5cfbfbb
Implemented "Edit > Format > Sort lines" for AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4962 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
11e4bb94bb
AvalonEdit: Fixed bugs in "Spaces to tabs" and "Remove trailing whitespace".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4942 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
e364a29697
GotoDialog: sort by relevance, then alphabetically
...
AvalonEdit: bugfixes in folding and highlighting
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4932 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago