Daniel Grunwald
6c1a9504a9
Fixed bug in TextDocument.GetOffset when column is 0
16 years ago
Daniel Grunwald
4ba935e0a1
Remove unused references to ICSharpCode.TextEditor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5886 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6e0521b88c
Detect when newlines are inconsistent and allow user to fix them.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5747 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
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
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
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
17 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
17 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
17 years ago
Daniel Grunwald
012b77e96a
Reimplemented the ParserFoldingStrategy for AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4829 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2540b7e087
ParserService refactoring:
...
- one IParser instance per file
- ITextBuffer provides a method to retrieve changes since the last parse runs
- IParser implementations may choose to use this to implement incremental parsing
- no concurrent calls to the same IParser instance
- one file may be inside multiple projects
- Split out assembly handling to AssemblyParserService
- Split out LoadSolutionProjectsThread to LoadSolutionProjects.cs
See http://laputa.sharpdevelop.net/ParserServiceRefactoring.aspx
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4711 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
945b3d54a3
Fixed AvalonEdit bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4670 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a44f970bc6
Ignore failing unit tests.
...
Fixed a few FxCop warnings in AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4667 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8ef5fe74a6
Added rectangular selection to AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
51fcc171d6
Add ChangeTrackingCheckpoint to AvalonEdit.Document.
...
Removed calls to LINQ Cast<T>() where possible (now using C# 4.0 covariance).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4639 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a8a376d846
Move Rope<T> to AvalonEdit.Utils.
...
Add TextDocument(IEnumerable<char>)-constructor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4621 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7f6d0a5968
Added Rope<T> to AvalonEdit and use it instead of the GapTextBuffer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4597 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
cc9b3e1705
AvalonEdit:
...
- made DocumentChangeEventArgs immutable
- allow using TextSegmentCollection without a connected TextDocument
- TextView: allow scrolling a bit more to the right than the the maximum line width - ensures that there's always room at the line end to display the caret
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4572 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
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
f449a85a69
AvalonEdit code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
b112845f62
AvalonEdit: implemented CompletionWindow
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3888 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a3a1260100
AvalonEdit: Copy text as HTML to clipboard.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3868 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
8fe42afbd7
AvalonEdit: Minor bugfixes / API improvements.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3843 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
65d02dc1e4
Normalize newlines on copy/paste. Moved LineManager.NextDelimiter into NewLineFinder.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3838 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fd48c4b958
Add AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3635 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago