Граф коммитов

145 Коммитов

Автор SHA1 Сообщение Дата
Daniel Grunwald b2d5ae3f47 Build hyperlink support into AvalonEdit and enable it by default.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4908 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-09-11 15:29:51 +00:00
Daniel Grunwald 8c9d8f3a22 AvalonEdit:
Improved caret/selection behavior on the border of read-only sections.
Fixed some FxCop warnings.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-09-10 23:09:29 +00:00
Daniel Grunwald 60b149ce04 Move folding code to separate namespace ICSharpCode.AvalonEdit.Folding.
Add TextEditor.ShowLineNumbers property to show/hide the line numbers (they now are hidden by default).
Add TextEditor.Options.ShowEndOfLine property to allow easily enabling end-of-line markers.
Changed AbstractMargin so that it automatically detects the TextView it is attached to.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4906 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-09-10 22:02:12 +00:00
Daniel Grunwald 90b84405ed Expand foldings when the caret is moved into them.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4856 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-31 20:30:17 +00:00
David Srbecký b0b28487aa XML Parser: Added canonical XML pretty printer needed for tests
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4696 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-16 15:33:26 +00:00
David Srbecký f43c0c3d81 XML Parser: Cache renamed to TrackedSegmentCollection
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4688 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-15 15:35:50 +00:00
Daniel Grunwald ce362d2495 AvalonEdit: code cleanup
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4686 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-15 13:47:40 +00:00
Daniel Grunwald bdde2cf38a Moved a few classes and methods in AvalonEdit to eliminate dependency cycles between namespaces.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4679 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 20:44:09 +00:00
David Srbecký e177c901ea XML Parser: Changed class prefix to "AXml" (standing for AvalonEdit XML) (part 3)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4677 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 20:22:59 +00:00
David Srbecký 43d1565af7 XML Parser: Changed class prefix to "AXml" (standing for AvalonEdit XML) (part 2)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 20:20:36 +00:00
David Srbecký f7aa18b8ba XML Parser: Changed class prefix to "AXml" (standing for AvalonEdit XML) (part 1)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4675 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 20:15:58 +00:00
Daniel Grunwald 79875801b6 Merge 3.0 to trunk.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 19:51:09 +00:00
David Srbecký 925bd34d2b XML Parser: Each class moved to individual file
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4673 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-14 18:43:48 +00:00
Daniel Grunwald 9967fb3587 Added rectangular selection to AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-13 20:32:50 +00:00
Daniel Grunwald f8672bb493 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
2009-08-10 17:44:47 +00:00
Daniel Grunwald fda74ae538 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
2009-08-08 12:55:37 +00:00
David Srbecký fa8f6df697 XML Parser: Visitor and PrettyPrinter
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-06 14:54:46 +00:00
Daniel Grunwald 600009ff97 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
2009-08-04 20:14:10 +00:00
David Srbecký f1de99837f XML Parser: Joint multiple collection updates together
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-03 16:42:46 +00:00
David Srbecký 70ee3740f3 Written custom XML parser which can handle malformed XML. Subsequent parsing is incremental to increase performance. The old and new parse trees are compared, the DOM is updated and user events are raised.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4578 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-08-02 15:59:13 +00:00
Daniel Grunwald fe4a4de655 Merge trunk into dotnet4.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4240 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-06-05 18:51:20 +00:00
Daniel Grunwald 3469f968cd 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
2009-06-04 19:06:45 +00:00
Daniel Grunwald 5488e64327 Implemented syntax highlighting in search results pad.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4207 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-06-02 20:58:26 +00:00
Daniel Grunwald 9fc8d246aa 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
2009-06-01 16:16:20 +00:00
Daniel Grunwald b3a9e3055d AvalonEdit: split Gui namespace into Editing and Rendering.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4142 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-05-24 22:23:55 +00:00
Daniel Grunwald 1cc8ccb787 Split AvalonEdit.Gui into Editing and Rendering
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4141 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-05-24 21:52:50 +00:00
Daniel Grunwald 19cf683460 Set TargetFrameworkVersion to 4.0
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4098 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-05-21 23:45:16 +00:00
Daniel Grunwald 4c83365395 Reimplemented method insight for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4035 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-04-29 19:58:33 +00:00
Daniel Grunwald 348be30529 AvalonEdit Insight Window
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4034 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-04-29 14:31:36 +00:00
Daniel Grunwald 00f78e26b8 ITextEditor: moved to namespace ICSharpCode.SharpDevelop.Editor.
Added support for anchors and text markers.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-04-16 18:22:46 +00:00
Daniel Grunwald dc8e061ea8 Smart C# indentation now works with AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3931 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-27 21:43:31 +00:00
Daniel Grunwald 2eb9da6761 IMementoCapable support is back.
AvalonEdit: Fixed some focus issues; fixed crash when control is allowed to grow to infinite size.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3918 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-25 23:23:37 +00:00
Daniel Grunwald 693d64df8f AvalonEdit: display non-printable characters using their name or hex code.
Improved dot code completion (sort completion entries, group overloaded methods).

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-22 23:41:56 +00:00
Daniel Grunwald ac1c8a6149 Improvements to AvalonEdit CompletionWindow. Implemented TextAreaInputHandler.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3889 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-20 01:24:10 +00:00
Daniel Grunwald 5755e7a26c AvalonEdit: implemented CompletionWindow
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3888 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-19 22:40:21 +00:00
Daniel Grunwald a4a51e80fc Add CodeCompletionItemProvider (editor-independent version of CodeCompletionDataProvider)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3883 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-18 21:35:23 +00:00
Daniel Grunwald 48fa41c9f3 CodeCompletionWindow for AvalonEdit
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3873 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-17 21:07:03 +00:00
Daniel Grunwald fcfec85b85 AvalonEdit: Copy text as HTML to clipboard.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3868 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-17 16:26:24 +00:00
Daniel Grunwald 9971bb8a4d AvalonEdit: Minor bugfixes / API improvements.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3843 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-09 20:08:58 +00:00
Daniel Grunwald 96933c5b2b AvalonEdit: add support for layers (gives users more control about z-order than adorners).
Fixed bugs in text drag+drop.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3842 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-09 13:11:22 +00:00
Daniel Grunwald 17ae5fc96f 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
2009-03-08 22:41:27 +00:00
Daniel Grunwald c45bf3ea70 More changes to the handling of invalid visual lines.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3835 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-08 00:16:56 +00:00
Daniel Grunwald f3dd9d158e Made AvalonEdit work without 'DoEvents'.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3834 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2009-03-07 22:32:11 +00:00
Daniel Grunwald 1f417872de FxCop fixes for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2008-12-28 15:03:45 +00:00
Daniel Grunwald 87c6f21743 Add AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3635 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
2008-11-07 20:52:42 +00:00