Miha Markič
0864f3c562
Makes TextBox.UndoRedoState struct readonly
5 years ago
Dan Walmsley
dc3b323dc1
refactor a little.
5 years ago
Dan Walmsley
d0133ebb8c
check we have a presenter before allowing navigation inside textbox.
5 years ago
Max Katz
c81c97a19a
Use IsNullOrEmpty instead of IsNullOrWhiteSpace for :empty pseudoclass
5 years ago
Deadpikle
f92804ff05
Improve UndoRedoState.Equals(object obj) impl
5 years ago
Deadpikle
2fe25f8acf
Fix equality for UndoRedoState
In UndoRedoHelper, the .Equals call in Snapshot() did not call Equals(UndoRedoState other). It called the default Equals(object obj) implementation. This could throw of the undo redo snapshotting. Fix that by overriding Equals(object obj).
5 years ago
Deadpikle
11138b1fc5
Remove extra snapshots after cut, paste
5 years ago
Deadpikle
2c215d1b39
Make sure to snapshot undo before delete selected
5 years ago
Deadpikle
ca4dee94fd
Remove timer from undo helper, improve u/r for textbox
5 years ago
Deadpikle
8ed2772479
Fix not raising property change on UndoLimit
5 years ago
Deadpikle
b5bb89348d
Handle IsUndoEnabled in property changed
5 years ago
Deadpikle
4fe29b0f9e
UndoLimit now uses property properly
5 years ago
Deadpikle
c6eb57c535
Add TextBox UndoLimit
5 years ago
Deadpikle
6763337e25
Add IsUndoEnabled to TextBox
5 years ago
Dariusz Komosinski
9b48da09ca
Add at least basic class level docs for several controls.
5 years ago
Dmitry Zhelnin
fd656d29d8
TextBox: update command states on selection changes
5 years ago
Benedikt Stebner
3f01438593
Fix TextWrapping for AcceptsReturn = false
5 years ago
Yoh Deadfall
b32cb382fb
Fixed popup positioning issue
5 years ago
ili
12c2c16d13
Android soft input using Avalonia.Input
5 years ago
ili
e6b13b66c5
Support android InputType
5 years ago
amwx
461ea5488c
Fixes
5 years ago
amwx
4a7bdc7955
Fix TextBox Cut/Copy commands with Flyout
5 years ago
Steven Kirk
9899fe5e81
Clarify naming.
5 years ago
luthfiampas
17971b8841
TextBox.MaxLength should respect occurred text from clipboard
5 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago
Nikita Tsukanov
35b365d97d
Implemented basic IME support for Linux
5 years ago
Dariusz Komosinski
960ae38ecd
Fix TextBox crashing when PointerMoved gets called and text presenter has 0 size.
5 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Jumar Macato
517e860b27
Disable commands when Textbox is on password textbox mode.
6 years ago
Dan Walmsley
076d23c903
cant cut when readonly..
6 years ago
Dan Walmsley
6b872692d3
tidy code.
6 years ago
Dan Walmsley
6f96ef6fbd
add gesture text.
6 years ago
Jumar Macato
e6e2319dc3
add context menu
6 years ago
Jumar Macato
bb8e594e58
Expose Cut Copy and Paste methods for binding for context menus
6 years ago
Dan Walmsley
abfa846e9d
add comments and move public method above private and protected.
6 years ago
Dan Walmsley
059e46f592
make clear selection public.
6 years ago
Dan Walmsley
d6f70744e6
extract clear selection to method.
6 years ago
Dan Walmsley
24ea1f618f
[TextBox] keep caret index when clearing selection.
6 years ago
danwalmsley
bc42091ce9
Revert "Expose Cut Copy and Paste methods for binding for context menus"
6 years ago
Dan Walmsley
71109100eb
tidy code.
6 years ago
Dan Walmsley
e93ac83ae4
add gesture text.
6 years ago
Jumar Macato
fb75a836be
add context menu
6 years ago
Jumar Macato
43b94e997c
Expose Cut Copy and Paste methods for binding for context menus
6 years ago
Dan Walmsley
54cedcea87
dont allow text selection to be lost when context menu is opened... i.e. for copy and paste to work.
6 years ago
Dan Walmsley
03cc2dfff7
clear reveal password when lose focus.
6 years ago
Maksym Katsydan
87afc2ffa0
TextBox: Add :empty pseudoclass
6 years ago
Jumar Macato
8300b0c35d
rename prop
6 years ago
Jumar Macato
2a11f6801c
address review
6 years ago
Jumar Macato
661480e55c
polish
6 years ago
Jumar Macato
ffa8fa7262
implement ShowPassword Property in textpresenter and forward from textbox
6 years ago