Daniel Grunwald
e17d6e0482
AvalonEdit: Fixed caret rectangle calculation when there are inline UI elements that extend below the baseline.
...
Add VisualYPosition.TextBottom and VisualYPosition.BaseLine options. Fixed VisualYPosition.TextTop calculation.
14 years ago
Siegfried Pammer
a92e43c389
finished implementation of virtual space
14 years ago
Siegfried Pammer
b677f75db0
continuing work on virtual space. Adjusted BackgroundGeometryBuilder and text input.
14 years ago
Daniel Grunwald
600ba51dab
AvalonEdit: Initial implementation of virtual space.
14 years ago
Daniel Grunwald
a8e4b3aead
Adjust AdditionalHorizontalScrollAmount to a more reasonable amount.
...
This avoids the large whitespace to the right of the text when AvalonEdit is used in size-to-content mode.
14 years ago
Daniel Grunwald
086e15cc9a
Fix reported TextView size when word-wrap is enabled and a word-wrap position is within a space character.
14 years ago
Daniel Grunwald
aa83bf1c44
Don't show folding region tooltip when the mouse hovers behind the collapsed section (after the end of line).
14 years ago
Daniel Grunwald
e64d24419a
Yet another performance improvement to AvalonEdit - we now use a way smaller dirty rectangle when changing only a single line.
14 years ago
Daniel Grunwald
3f05ced59c
Use DrawingVisual for rendering a VisualLine. This seems to improve AvalonEdit rendering performance a lot in some scenarios.
14 years ago
Daniel Grunwald
750a692e5b
Clarify documentation on TextView.CollapseLines.
15 years ago
Daniel Grunwald
c8dc5154dd
Improved inline object handling. Inline objects that change their size in response to user input are now supported.
15 years ago
Daniel Grunwald
569185d113
AvalonEdit: Change inline object implementation so that inline objects are direct children of the TextView (instead of being children of the TextLayer).
15 years ago
Siegfried Pammer
f59c66ba3d
move MouseHover logic from TextView to separate class and make it reusable
15 years ago
Daniel Grunwald
c34e6cc825
Fix forum-12654: DefinitionViewPad scrolls to wrong area (HeightTree.DefaultLineHeight not updated on rendering mode change)
15 years ago
Siegfried Pammer
4b7f38fe9b
improved diff tooltip
15 years ago
Daniel Grunwald
27d20d4daf
Remove dictionary from HeightTree.
15 years ago
Daniel Grunwald
7b011cf067
Make FoldingManager independent of TextView.
...
This allows using a single FoldingManager in multiple TextViews.
15 years ago
Siegfried Pammer
ef888b4c22
SD-1592: color of line numbers is now customisable
15 years ago
Siegfried Pammer
d7a6c74a91
SD-1592: color for non-printable characters is now customisable
15 years ago
Daniel Grunwald
890ecbb23c
AvalonEdit: calculate WideSpaceWidth instead of simply using FontSize/2.
15 years ago
Daniel Grunwald
03c220d8f4
Warn in debug output when non-frozen brushes are used in AvalonEdit.
15 years ago
Daniel Grunwald
8266dce10a
AvalonEdit: Use indentation from first line on all following lines when word-wrapping.
15 years ago
eusebiu
b53f8635f2
Added WPF BreakPointsPad, Watchpad, LocalVarPad + controls
15 years ago
Daniel Grunwald
ff01c46e98
Fixed http://community.sharpdevelop.net/forums/t/12009.aspx (when word-wrapping is enabled and lines are very long, ScrollTo() does not find the correct position).
15 years ago
Daniel Grunwald
4f2269751f
Fixed inaccuracy in GetVisualLineElementFromPosition (was incorrect by up to a half visual column)
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Daniel Grunwald
e0ea8ea238
Don't reuse the TextView's text formatter - this causes crashes on some machines (e.g. Tomáš)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6202 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
87f94f6e1b
AvalonEdit perf optimization: Use a single TextLine for tab and space markers instead of creating FormattedText on demand.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6169 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
7d3a410d0b
AvalonEdit: Fixed repainting issues when document was modified above the visible region (e.g. using split view) and the highlighting stack changed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5584 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d0e3f61d60
Disable low-priority rendering after text input: it did not work correctly and caused WPF to render twice per character entered into AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5528 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
55ab9226d6
fixed scrolling bug in TextView.MakeVisible
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5511 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
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
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
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
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
3d8c70850c
Build simple folding support (independent of parsers in SharpDevelop) into AvalonEdit.
...
Add TextEditorOptions.AllowScrollBelowDocument (enabled in SharpDevelop) to avoid the view from jumping when collapsing code near the end of document.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4910 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
317621c567
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
16 years ago
Daniel Grunwald
867dab1f32
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
16 years ago
Daniel Grunwald
984b1ab9e1
Add TextView.InvalidateLayer.
...
Enabled bracket highlighting.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4842 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
8570e8f7e7
- implemented IBracketSearcher for C#
...
- added BracketHighlightRenderer (disabled by default)
- renamed ErrorDrawer to ErrorPainter
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4840 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
c62cfbcad7
AvalonEdit: allow setting the caret color.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4233 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
27cd1c9931
AvalonEdit: split Gui namespace into Editing and Rendering.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4142 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
60f01927a9
Split AvalonEdit.Gui into Editing and Rendering
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4141 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1599cfa89e
Implemented AvalonEdit split view
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4032 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
bc05d9df74
- Added TextView to Services
...
- implemented highlighting for events, properties and namespace declarations
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3967 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
407f3328e8
AvalonEdit: when creating a new TextEditor instance, create a new TextDocument. Fixed bugs when setting Document to null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3930 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
bc400c5dd9
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
17 years ago