David Srbecký
eb190567a5
XML Parser:
...
- Optimized text reading functioning
- Simplified ReadText method
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4629 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ef670156b8
Make Highlighting definitions and Xshd model serializable.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4626 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
75b9c68567
XML Parser: Fast attribute lookup using hashtable
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4622 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
David Srbecký
dda2bb2b94
XML Parser:
...
- Fixed namespace support to match specification
- Syntax errors collection moved to document
- Added Changing event for objects
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4620 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a40cc4c22d
Add function node support to Rope<T>.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4619 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
fd661d42ec
XML Parser: Removed XLinq support
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
3145161f29
XML Parser: Added some helper methods
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4617 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
418093e238
XML Parser: Report syntax errors. Improved consistency of tree.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4616 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4be88bafca
Recompiled SharpSvn using VS2008.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4614 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cedb3a0212
Update to SharpSvn 1.6004.1329. (SVN 1.6.4)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4612 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8ccdc5e6c1
XML Parser: Heuristic for missing quotes in attribute values
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4611 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
7b1985525a
XML Parser: Keep track of memory touched during parsing of an item
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4608 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
767e88579e
XML Parser: Visitor and PrettyPrinter
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
b39e888905
XML Parser: Rechecked all parse functions and tried to make them more error prone; Added a lot TODOs for the missing functionality.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4604 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
af248d6973
XML Parser: Support DTD just enough so that it is properly parsed and skipped
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4602 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
200e481ebb
XML Parser: Unified text reading methods; Long text may be separated into fragments
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
David Srbecký
e699607758
Very simple string caching
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4596 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
86ab937261
XML Parser: Added documentation. Support for comments, processing instructions and CData.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4594 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8afd82f176
XML Parser: Joint multiple collection updates together
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
c6a524da5d
XML Parser: Cache the XLinq objects
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4585 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
cbe7c9f20c
XML Parser: Simplified code by introducing RawContainer
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4582 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
4c6945b8bb
XML Parser: Using only one copy of raw DOM again. All DOM object offsets will be always relative to the last parsed text. The user can use list of changes since last parse to translate between the old offsets and new ones.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4581 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8e03d90fdd
XML Parser: Initial support for Xml.Linq
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4580 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
84bce20b8b
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
16 years ago
Daniel Grunwald
941af5fc35
Fixed bug introduced in last revision.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4573 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
34e76133c3
Fixed SD2-1465 - Convert integer casts correctly between VB and C#
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
e051b6560f
Fixed forum-9858: problem with sizeof operator converting from C# to VB.NET
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4569 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
693581e485
XamlBinding:
...
- improved attribute CC
- added GridLengthEditor to EditGridColumnsAndRowsDialog
- added XamlOutlineContentHost
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4554 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
871e875ad0
Add "ITextEditor.PrimaryView" property to allow language bindings to detect split-views.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4546 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d23af1f02a
Fixed parsing of try statements with multiple catch clauses (bug introduced in r4526).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4530 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Mike Krüger
fc6e55f483
* Src/Visitors/LookupTableVisitor.cs: Lookup table visitors now can
...
be re-used (they reset when they visit a compilation unit).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Mike Krüger
ffc41d4a7c
* Src/Parser/CSharp/cs.ATG:
...
* Src/Parser/CSharp/Parser.cs: Catch clauses have now set their
correct positions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4526 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ee2a4e29cb
Fixed code analysis AddIn (fixed support for custom MSBuild loggers, ported SuppressMessageCommand to ITextEditor).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4523 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 years ago
Daniel Grunwald
a257a5b2e9
document ILineTracker.SetLineLength
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4426 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago