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
5c64642260
Fixed unhandled exceptions during UDC upload.
...
Remove dead code.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
4b57bf13b2
Code completion window sizes height to content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5741 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
51f65cb98c
Fixed build, sorry.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5736 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
e8d33e6fb5
CompletionList - implemented ReSharper (and VS2010)-like Code completion:
...
- search by substring
- search by camel case: writing "fs" finds "FileStream"
- filtering the items (showing only the matching ones) and sorting them by quality
- the exact old behavior (with search by camel case added) can be turned on by setting CompletionList.IsSearchByStartOnly = true
TODO make the CompletionWindow size to content when the list is short - have to ask Daniel for the best way to do this
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fe6af4864b
Add workaround for Cecil bug causing unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5713 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
79e8189c7c
Fixed SD2-1604 - Code completion does not learn commonly used items
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
493ea45a5d
Close InsightWindow when typing ')'.
...
Close code completion window after '.'-completion when deleting the dot with backspace.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cf7adb39dd
Allow user to specify an encoding when opening a text file.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5627 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ce47f3f815
Fixed HighlightingColorizer crash in combination with folding.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
843a8c4788
Highlighting editor: allow changing the default text color and selection color.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5583 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
e3d7d7dc1b
Fixed bug in syntax highlighting when keywords start with a special character (e.g. ".maxstack" in IL highlighting).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5580 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1c4b406283
Fixed unit tests (the previous commit fixed a minor bug in the C# syntax definition, and the unit test was expecting the incorrect output)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5577 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
471ec831c6
Editing highlighting colors is now supported for C#, VB, XML and .patch files.
...
Fixed FxCop issues in AvalonEdit.
Still missing in highlighting editor:
- edit environment colors (normal text, line number margin, etc.)
- support all syntax definitions shipping with SharpDevelop
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5575 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
488d12f83c
SD2-1592 (Add back highlighting editor for AvalonEdit):
...
- implemented CustomizableHighlightingColorizer
- add preview to highlighting editor
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5574 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
061496afc3
Started work on SD2-1592 - Add back highlighting editor for AvalonEdit
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5572 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
71c5d4d290
Move ISnippetElementProvider to ICSharpCode.SharpDevelop.Editor.AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5565 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
7dfe0ac44a
added ISnippetElementProvider
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5561 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b61b39d22a
Fixed NullReferenceException in Caret.BringCaretToView when TextEditor.Document==null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5559 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2af09d613b
Fixed small selection bug in snippet completion window (Ctrl+J).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5548 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4a3f617c1b
Fixed issue in CodeEditorView: CustomTabCommand was modifying a KeyBinding shared by all AvalonEdit instances. The code now creates a new KeyBinding instead.
...
AvalonEdit: mark shared KeyBindings as frozen if possible (only possible on .NET 4).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5545 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
48a4203735
Use DispatcherTimer instead of animation for blinking caret. This reduces the frame rate WPF uses. The processor has to wake up less often -> computer uses less power.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5544 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
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
Daniel Grunwald
d79c461876
Ported HtmlSyntaxColorizer to AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
83261c2a52
Work around strange .NET feature in command-line parsing.
...
Update SharpDevelopAddIn.xpt for SD 4 (add WPF references).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5525 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
3188b51637
Fixed unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5489 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
f2bae1ba6e
Fixed forum-10719: AvalonEdit swallows Alt+Space
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5480 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b69ac8a54a
Fix build error in CompletionWindowBase.cs. AvalonEdit targets .NET 3.5, but used a .NET 4.0 member.
...
For some reason, this worked fine on most machines (including the build server), these machines seemed to have an updated version of .NET 3.5 SP1 - either using Windows Update or installing VS2010 seems to add members to .NET 3 assmblies.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5468 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2b007b4365
Fixed SD2-1641 - Random crash in AvalonEdit when copying to the clipboard
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5455 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
53b022c615
Add safety check to UndoStack to prevent corruption when the document is changed by UpdateStarted/UpdateFinished events within Undo() or Redo() calls.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5454 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
327fb646e4
Remove <Folder> from AvalonEdit.csproj
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5453 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
9ff90bcfd4
Add F# binding back to SharpDevelop 4.0.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5439 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5233909e58
Added whole line selection (triple click).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5429 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
2b23a870f5
Use TextLine.GetTextBounds in BackgroundGeometryBuilder. Fixes visual problems with bidirectional text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5421 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3457824d9f
Fixed ArgumentException when selecting right-to-left text in AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5420 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7dcd391057
SD2-1607 - Add printing support to AvalonEdit
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0981fe4c8b
SD2-1601 - Implement disabled text editor settings:
...
- Use smart indentation
- Underline errors
- Highlight matching bracket
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5413 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
404042e3ce
Fixed SD2-1597 - Double click selection does not select entire word with error highlighting
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5412 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4d372dc9b5
Converted VBNet-Mode.xshd to new file format.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5401 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
bcb9d3303a
Fixed bug in XmlHighlightingDefinition that prevented referencing the main ruleset of the current XSHD.
...
Fixed typo in SaveXshdVisitor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5400 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fb53cbeeff
Converted Boo.xshd to new XSHD file format.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5399 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6f3e1f87de
Improve XML highlighting.
...
Fixed bug in XSHD loader when XSHD <Import> refers to a ruleset defined later in the same file.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5398 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
17d5510c03
Fix crash when pressing deadkey while CC window is open.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5397 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a48804720d
Fixed bug in HighlightedLine.ToHtml that could cause text in front of the selection to be copied to the clipboard.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5386 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
91c33ed1e4
Do not execute indentation strategy when pressing Enter inside a read-only section.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5384 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3839873b7e
Implemented SizeLimit for UndoStack.
...
This allows disabling the undo stack as requested in forum-10585.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5383 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago