Deadpikle
3885a69ab1
Add more failing tests for other keys
6 years ago
Deadpikle
d8f74b7e41
Cut now triggers an undo
6 years ago
Deadpikle
99e5625ca6
Add failing test for cut not working with undo/redo
6 years ago
Deadpikle
681911098c
SelectedText = null -> clear text
6 years ago
Deadpikle
d7ca28a443
Add failing test for clearing SelectedText
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Deadpikle
47f487e768
Add SelectedText unit tests
6 years ago
Ben Carman
0486de87a6
MaxLength Property for TextBox
7 years ago
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
67bd1b8d86
Added failing tests for #1701 .
7 years ago
Nikita Tsukanov
d1f2b941fb
Apply template before touching the textbox
7 years ago
FoggyFinder
44d467ba98
fix and test
7 years ago
ahopper
8a9e997c6c
unit test added
7 years ago
Andrey Kunchev
eabf122ce7
fix nits
7 years ago
Andrey Kunchev
81b58e955f
unit tests for textbox OutOfRangeException issue #1954
7 years ago
CommonGuy
ab36f86325
Add the NewLine property to TextBox
8 years ago
Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
Steven Kirk
53ff0e178c
Added failing test for #1376
8 years ago
Jeremy Koritzinsky
6d075ad27b
Fix #424 .
8 years ago
Steven Kirk
b28fffc3f8
Coerce TextBox.CaretIndex when setting Text.
Fixes #728 .
9 years ago
Steven Kirk
85f07274d4
Fixed failing test.
9 years ago
AndrewSt
7872b6e2bf
Fix typo in TextBoxTest.cs
10 years ago
AndrewSt
fc6115735e
Add unit test check Ctrl+A, Ctrl+Z
10 years ago
Steven Kirk
6e7fb76966
Allow movement to after last char with arrow keys.
Fixes #716 .
10 years ago
Steven Kirk
4abd223f86
Fixed up existing TextBox tests.
Some tests were leaking services.
10 years ago
Steven Kirk
a222fa9b0c
Don't modify text due to binding when typing.
If a TextBox is e.g. bound to an int and the user types "02" then the
TextBox text should be "02" - not the value that comes back from the
binding which will be "2".
10 years ago
yusuf-gunaydin
f86d90613b
Implemented Ctrl+Backspace and Ctrl+Delete for TextBox.
Fixes #609
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
bb759a8785
We can now override the default binding mode.
So make TextBlock and TextBox have different default binding modes.
10 years ago