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.
6 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
Jumar Macato
32a34117e7
prototype
6 years ago
Jumar Macato
88a63dde2c
use contentpresenter
6 years ago
Jumar Macato
35a4662617
test
6 years ago
Jumar Macato
1af661666a
add InnerLeftContent and InnerRightContent
6 years ago
Benedikt Schroeder
09099c1234
Fix text wrapping for fluent TextBox
6 years ago
Steven Kirk
c2ad34a4ce
Fix moving caret left/right when selection present.
When a selection is present, pressing the left key should move the caret to the start of the selection and pressing the right key should move the caret to the end of the selection.
6 years ago
Steven Kirk
7b1a9fbb84
Fix caret not displaying when focused via Tab key.
Also set caret position to end when selecting all, as textboxes when selected should scroll to display the end of the text.
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Deadpikle
9463e278a5
Fix undo not available for multiple key types
6 years ago
Deadpikle
d8f74b7e41
Cut now triggers an undo
6 years ago
Deadpikle
681911098c
SelectedText = null -> clear text
6 years ago
Deadpikle
14b227037b
Delete selection if 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
6c29598071
Fix clicking TextBox border moving to end
Twofold fix:
1) Cursor doesn't show IBeam when not in DockPanel
2) If you do click the border, it just focuses the text box -- it does not move the selection
6 years ago
Deadpikle
a8663cd1f3
Fix middle click being able to change selection
6 years ago
Deadpikle
1f18bd3e66
Only calculate caret index on pointer pressed if left mouse down
6 years ago
Deadpikle
f98ee717f5
Adjusted TextBox right-click behavior
WPF does not allow dragging to change selection for right clicks
Furthermore, it only changes the selection on mouse up of right click, not mouse down, and only if the user clicked outside the current selection.
This commit adjusts TextBox selection behavior to work like WPF
6 years ago