Siegfried Pammer
406354bee0
further improvements and bugfixes for MarkDown-Mode
13 years ago
Daniel Grunwald
80aff30058
Fix several issues with SearchPanel.
13 years ago
Siegfried Pammer
78e3f4a517
add highlighting definition for MarkDown syntax
13 years ago
Daniel Grunwald
918582348c
Fix compiler warnings.
13 years ago
Daniel Grunwald
7c49a3e050
Use processContent="lax" as recommended in http://xml.coverpages.org/HP-StephensonSchemaBestPractices.pdf
13 years ago
Daniel Grunwald
be2f73fa40
Make AvalonEdit xshd schema more flexible: allow elements and attributes from other namespaces.
13 years ago
Daniel Grunwald
76fed2b8d0
Move regex-based highlighting engine from DocumentHighlighter into its own new class (HighlightingEngine).
...
DocumentHighlighter now only is only responsible for maintaining the highlighting state (span stacks at line boundaries).
13 years ago
Daniel Grunwald
a7047035c4
Fixed performance bug when pressing Backspace - we were unnecessarily building the visual line for the intermediate state where the previous character is selected but not deleted.
13 years ago
Daniel Grunwald
9ff68ecaed
Fix "InvalidOperationException: Trying to build visual line from collapsed line" when the start of a folding section is hidden by a different element generator than the FoldingElementGenerator. (e.g. TruncateLongLines)
13 years ago
Daniel Grunwald
b7c439bb97
Disable IME while the caret is within a read-only section.
13 years ago
Siegfried Pammer
0dec5058bf
fixed IME: IME context is properly restored when returning from a toolbar or button.
13 years ago
Daniel Grunwald
b080736e84
Update AvalonEdit.shfbproj for new version of Sandcastle Help File Builder.
13 years ago
Daniel Grunwald
1769d6e0e9
Fix SD-1914 - InvalidOperationException "Trying to build visual line from collapsed line"
...
This exception was caused by FoldingManager.UpdateFolding() re-using FoldingSections and adjusting their end offset.
If those FoldingSections were folded, the corresponding CollapsedLineSection was not updated for the new end position.
This inconsistency would cause visual glitches (such as fold markers not updating properly), and in some cases the InvalidOperationException during rendering.
FoldingSection now handles when its StartOffset or EndOffset is changed, and updates the CollapsedLineSection accordingly.
13 years ago
Daniel Grunwald
7aa8e6c63b
Initial implementation of new ISolution-API.
13 years ago
Daniel Grunwald
bc52a0b8fe
Add Freeze() method to HighlightingColor.
13 years ago
Matt Ward
2a4af3b94b
Remove highlight when search panel closed.
13 years ago
Daniel Grunwald
71c9dc6486
Fix version number of HTML clipboard.
...
Version 1.0 does not exist: http://blogs.msdn.com/b/oldnewthing/archive/2013/01/18/10386079.aspx
13 years ago
Daniel Grunwald
64ce9a7f6f
AvalonEdit IME: Fix crash on threadMgr.SetFocus(null); in 64-bit process.
13 years ago
Daniel Grunwald
f1b2220314
Change ContextActionsPopup, ContextActionsBulbPopup and the HiddenDefinition popup to open/close as the parent TextArea gains/loses focus.
...
Move ChangeMarkerMargin and related classes into own folder.
Remove C#-specific hack from HiddenDefinitionRenderer.
Do not return null from CreateHighlighter().
13 years ago
Siegfried Pammer
b4149dee8b
fix http://community.sharpdevelop.net/forums/p/16476/44890.aspx
13 years ago
Daniel Grunwald
cfa01c3986
Fix HighlightingColorizer.OnHighlightStateChanged ignoring some change notifications.
13 years ago
Daniel Grunwald
2793cc46eb
Add Ctrl+Space completion that automatically inserts usings.
13 years ago
Daniel Grunwald
e41e8d142a
Implemented folding of #regions, usings and comments.
13 years ago
Daniel Grunwald
4f623afecb
Add XmlDoc for SearchOptionsChangedEventArgs
13 years ago
Daniel Grunwald
b5561233dc
Better warning message for obsolete implicit conversion operator
13 years ago
Siegfried Pammer
0f36a2c40f
proposed fix for: SD-1917 - Find Next highlights wrong text after text edited
13 years ago
Siegfried Pammer
22dedf2601
implemented SetCompositionFont: now the IME font size should be the same as in the editor
14 years ago
Daniel Grunwald
ff4e91c204
Only update the IME composition window when the VisualLine for the caret position is available.
...
This fixes a performance issue while scrolling (without this change, UpdateCompositionWindow() would cause the line containing the caret to be re-generated whenever the user scrolls).
14 years ago
Daniel Grunwald
28453802ea
AvalonEdit IME support: use the default input context, and fix issues with IME not activating in some cases using ITfThreadMgr.SetFocus(null).
14 years ago
Daniel Grunwald
2aa2ddb456
Create a new IME context instead of using the default one.
14 years ago
Daniel Grunwald
827dbee0d4
Simplify IME integration a bit
14 years ago
Daniel Grunwald
3e3e7d0fce
AvalonEdit IME support: Fix NullReferenceException when HwndSource.RootVisual == null.
...
Can happen during AvalonDock layout switches (http://community.sharpdevelop.net/forums/t/16326.aspx )
14 years ago
Daniel Grunwald
f83af4d8af
AvalonEdit IME Support: clear old context when IME support is disabled
14 years ago
Daniel Grunwald
8bf4153027
[AvalonEdit] Adjust epsilon used for IsClose()
14 years ago
Daniel Grunwald
643223761d
Move MultiHighlighter to AvalonEdit.AddIn
14 years ago
Daniel Grunwald
c3bd806532
Use BeginHighlighting()/EndHighlighting() to improve performance of CSharpSemanticHighlighter.
14 years ago
Daniel Grunwald
c1787fbd2d
Fixed performance bugs in issue search:
...
- Avoid excessive file name normalization by changing IProject.FileName from string to class FileName.
- Dispose CSharpSemanticHighlighter to fix memory leak and avoid excessive number of ParseInformationUpdated listeners.
14 years ago
Daniel Grunwald
bb950e3ddf
Add 'Search for issues' dialog
14 years ago
Daniel Grunwald
ca975b65aa
Add ITreeNodeFactory to create tree nodes from a model.
...
Remove the mandatory file name from the document constructors.
14 years ago
Siegfried Pammer
16abd83dd1
add support for customizations in combination with the semantic highlighting + fix bugs in HighlightingOptions
14 years ago
Siegfried Pammer
ef7f6bae62
make fileName in IDocument mandatory to avoid crashes
14 years ago
Daniel Grunwald
42ae86a467
Started porting UnitTesting.Tests to the new architecture.
14 years ago
Siegfried Pammer
6247fcb190
implement customizable multi highlighter
14 years ago
Daniel Grunwald
2f99cb14ac
Add FullAssemblyName to IAssembly.
14 years ago
Daniel Grunwald
05904c8407
Replace ITextEditorProvider with GetService<ITextEditor>().
14 years ago
Daniel Grunwald
fe9ad47bce
Fixed bug in FoldingManager.RemoveFromTextView().
...
An uninstalled folding manager would stay partially connected to the text view, which could cause the InvalidOperationException: "Trying to build visual line from collapsed line".
14 years ago
Daniel Grunwald
25a2364e9c
Fixed bug that caused the column ruler to be visible by default even though the default value of the 'ShowColumnRuler' option is false.
14 years ago
Daniel Grunwald
7da3d39f95
Paint column ruler in correct position when scrolled horizontally.
14 years ago
Daniel Grunwald
d3642c2449
Fixed GetOffsetFromMousePositionFirstTextLineOnly() not considering the horizontal scroll offset.
...
This fixes creating a rectangular selection with the mouse while scrollOffset.X > 0.
14 years ago
Daniel Grunwald
884448d519
Add missing documentation comment.
14 years ago