Steven Kirk
50415da22a
Undo last 2 commits - they were wrong.
11 years ago
Steven Kirk
e56252e64f
Stylecop!
11 years ago
Steven Kirk
1fe10092d9
Fix TextBox selection.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
4299e7e046
Make TextBox handle text input.
Instead of TextPresenter - this fixes the problem of focus that we were
working around in TextBox.OnGotFocus before.
11 years ago
Steven Kirk
3c591482a9
Added hacky tab keyboard navigation.
This is a temporary workaround to #30 - it's very hacky:
- Tab key handling is built into TextBox - all other controls don't
work. It needs to be moved into InputElement.
- It only traverses siblings.
- Setting focus to template children is a hack.
- Many more problems.
11 years ago
Steven Kirk
39691aecc3
Simplified TextBox scrolling.
11 years ago
Steven Kirk
02aed11911
TextBoxView -> TextPresenter
Instead of being a private implementation detail of TextBox, make it use
a presenter control that list linked to the main control using binding.
Should give a lot more fexibility.
11 years ago
Steven Kirk
01c7d028d0
Correctly apply nested templates.
When a templated control's template itself contains templated controls,
make sure all of the templates are applied, as the nested templated
control might contain something the top-most templated control is
looking for.
11 years ago
Steven Kirk
00aa02964f
Inplemented double and triple click in TextBox.
Copied a load of stuff from Moonlight regarding finding next/prev word
that I've put in StringUtils.
11 years ago
Nelson Carrillo
a6476cb7ec
- Added Ctrl+A to select all text in the TextBox
- Made the TextBox lose its selection when focus is lost.
11 years ago
Steven Kirk
645094ccec
Cancel TextBox selection on cursor movement.
11 years ago
Steven Kirk
9fa861e34b
Added mouse-select to TextBox.
11 years ago
Steven Kirk
eca1e1334e
Don't remove selection when nothing entered.
11 years ago
Steven Kirk
82f31f92f9
Replace selection in text boxes.
11 years ago
Steven Kirk
31a3b9ea78
Make Up/Down arrows work in text boxes.
11 years ago
Steven Kirk
9b6efbc3d2
Made End key work in multi-line text boxes.
11 years ago
Steven Kirk
050e9cc6e8
Make Home key work in multi-line text boxes.
11 years ago
Steven Kirk
71e46c3084
Added TextWrapping setting.
TextBox doesn't handle quite a few things yet, scrolling and lines for
example.
11 years ago
Steven Kirk
d0c8146681
Make Home, End and Ctrl keys work in TextBox.
11 years ago
Steven Kirk
2e0e225e26
Added selection to TextBox.
11 years ago
Steven Kirk
2be668db1a
More refactoring of FormattedText.
11 years ago
Steven Kirk
baafad1af7
Removed ITextService.
Cairo renderer completely broken by this point.
11 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
11 years ago
Steven Kirk
dc6a6feb49
Added AcceptsReturn and AcceptsTab to TextBox.
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
ec0b43d388
Added Controls.Primitives namespace
For controls that are only supposed to be used as the base for other
controls.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
a467607e57
Correctly measure TextBlocks.
12 years ago
Steven Kirk
7dc715d27e
Make TextBox caret flash.
12 years ago
Steven Kirk
cfbc5d19f6
Display (not-yet-blinking) caret in TextBox.
12 years ago
Steven Kirk
6d31e7d865
Started on TextBox.
Can type but not much else.
12 years ago
Steven Kirk
406ad96736
Added FocusManager.
12 years ago
Steven Kirk
52b7d08541
Started on TextBox.
12 years ago